• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Will someone help me rewite this

 
dale con
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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;
}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic