[jboss-user] [JBossWS] - Re: Saving the Web Service Request as XML

RomeuFigueira do-not-reply at jboss.com
Thu Nov 9 13:09:27 EST 2006

If your're talking about saving a copy of the SOAP message on the server, then a Handler would do that for you. 

You could program your HandleResponse part of the handler to save the incoming message into a xml file.

You will need to add the handler declaration to webservices.xml, setting your handler class (extending Handler or GenericHandler) in a separate java class (to be included in the WAR file as well).

  |    </service-impl-bean>
  |      <handler>
  |       <handler-name>ServiceHandler</handler-name>
  |       <handler-class>pakage.name.ServiceHandler</handler-class>
  |     </handler>
  |    </port-component>
  |  </webservice-description>
  | </webservices>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984612#3984612

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984612

More information about the jboss-user mailing list