File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Will someone help me rewite this Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Will someone help me rewite this " Watch "Will someone help me rewite this " New topic
Author

Will someone help me rewite this

dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
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://aspose.com/file-tools
 
subject: Will someone help me rewite this