File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Will someone help me rewite this " Watch "Will someone help me rewite this " New topic

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;

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;
exit = processSOAPHeader(sh);
catch (Exception e)

return exit;
I agree. Here's the link:
subject: Will someone help me rewite this
Similar Threads
JAX-RPC web service soap message handler issues
Getting the Raw Request and Response XML from axis.
Problem in Attachments
Attachment problem
Sign soap header with handler in WebSphere 6.1