A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Web Services
Author
Will someone help me rewite this
dale con
Ranch Hand
Joined: Apr 15, 2005
Posts: 93
posted
Apr 25, 2005 02:17:00
0
to use Apache Axis
Many Thanks
public boolean handleRequest(
MessageContext
context)
{
boolean exit = true;
try
{
SOAPMessageContext
smc = (
SOAPMessageContext
) context;
SOAPEnvelope
se = smc.getMessage().getSOAPPart().getEnvelope();
SOAPHeader
sh = se.getHeader();
if (sh == null)
{
System.out.println("No headers found in the input SOAP request");
exit = false;
}
else
{
exit = processSOAPHeader(sh);
}
}
catch (Exception e)
{
e.printStackTrace();
}
return exit;
}
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Will someone help me rewite this
Similar Threads
Getting the Raw Request and Response XML from axis.
Problem in Attachments
JAX-RPC web service soap message handler issues
Sign soap header with handler in WebSphere 6.1
Attachment problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter