[jboss-user] [JBossWS] - Re: How could see the endpoint the SOAP headers built by a o

alessio.soldano@jboss.com do-not-reply at jboss.com
Thu Nov 29 05:25:56 EST 2007


First of all take a look at the org.jboss.test.ws.jaxws.samples.webparam sample in the binary distribution. You'll find an example using custom soap header.

Did you code the wsdl first? In that case you should need something like this in the operation/input element:


  | <soap:header message="tns:WSTestEndpoint2_pingOggettoComposto" part="oggettoComposto" use="literal"/>
  | 

If you're developing starting from java classes, JBossWS will do it for you.
Usually you shouldn't need to use the JAXBElements directly, parameters going to the header are dealt the same way as common ones in your service implementation class.

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

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



More information about the jboss-user mailing list