-
1. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
nbaliga Dec 16, 2010 9:43 AM (in response to nbaliga)Anybody?
I guess the bigger picture here is that I am trying to consume a SOAP over HTTP request via the ESB and have it directed to a JMS queue. The reply is to be put back on the queue and routed back to the HTTP client.
I have been able to get this to work with a plain HTTP request, but am struggling with the SOAP version.
So alternatively, if there is an example out there that accomplishes this, I would appreciate a link to it.
Thanks.
-
2. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
nbaliga Dec 16, 2010 9:44 AM (in response to nbaliga)Anybody?
I guess the bigger picture here is that I am trying to consume a SOAP over HTTP request via the ESB and have it directed to a JMS queue. The reply is to be put back on the queue and routed back to the HTTP client.
I have been able to get this to work with a plain HTTP request, but am struggling with the SOAP version.
So alternatively, if there is an example out there that accomplishes this, I would appreciate a link to it.
Thanks.
-
3. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
ffang Dec 16, 2010 11:23 PM (in response to nbaliga)Hi,
May I ask did you put the jms reply back through the queue? If so, how?
Freeman
-
4. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
nbaliga Dec 16, 2010 11:48 PM (in response to ffang)No, I am not getting to the point where I can dequeue and do a reply.
The SOAP message doesn't make it to the JMS queue at all. I believe the exception is being thrown when Fuse4 ESB makes an attempt to send the SOAP message to the JMS provider endpoint.
-
5. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
njiang Dec 18, 2010 4:19 AM (in response to nbaliga)Maybe you can take a the first example of Camel CXF Examples[1].
http://camel.apache.org/cxf-example.html
It's total different solution, and Fuse ESB support it out of box
Willem
-
6. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
nbaliga Dec 18, 2010 12:02 PM (in response to njiang)I'm assuming that for my issue, the first section in that example, "CXF example for routing messages with different transports", is what I should pay attention to?
If so, I don't grasp how that is different from what I'm doing? I mean the route building doesn't seem to be an issue in my case.
The ROUTER_ENDPOINT_URI and SERVICE_ENDPOINT_URI are my HTTP consumer and JMS Provider endpoints respectively.
-
7. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
nbaliga Dec 18, 2010 1:25 PM (in response to nbaliga)And of course, the transport being used to and from the endpoints, is the ESB's NMR.
-
8. Re: Stax exception while trying route SOAP HTTP request via ESB to JMS
njiang Dec 19, 2010 8:31 PM (in response to nbaliga)The difference is the CXF example just uses the http transport and jms transport from the CXF lib instead of ServiceMix JBI component.
So it may help you work around the Stax exception.
Willem