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 Java Interview Guide 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

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
jQuery in Action, 3rd edition