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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to