I have a JBossWS webservice running in JBoss AS 4.2.2 with ESB 4.4, and a JAX-WS client (generated using the wsconsumer tool).
I exposed the webservice on the ESB through JSM gateway, HTTP and Socket (just like in the webservice_producer quickstarts sample) and was able to talk to the webservice by sending a SOAP payload (in XML) via JMS and JBR (http).
How do I use my JAX-WS client (with domain objects instead of the SOAP playload in XML) to talk to my webservice through ESB instead of connecting to the webservice directly?