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

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;
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Will someone help me rewite this