|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SOAP request without response |
« View previous topic :: View next topic » |
Author |
Message
|
PiWer |
Posted: Fri Jul 11, 2008 4:48 am Post subject: SOAP request without response |
|
|
Newbie
Joined: 11 Jul 2008 Posts: 6
|
Here in my flow I want to do a SOAP request to another webservice. But this webservice doesn't send a response.
I've tried two things:
1. SOAPRequest node. When I use this node I've an error saying: A SOAP Request node received an empty response body, when a SOAP message body was expected.
The message that is received is HTTP/1.1 202 Accepted, and not a SOAP message.
2. SOAPAsyncRequest node. When I use this node, I have this error: Failed to find matching AsyncResponse node match for this Async Request node
I can solve the last one, by putting a SOAPAsyncResponse node in my flow that does nothing. But I hope there are better solutions ...
Thanks in advance,
Pieter |
|
Back to top |
|
 |
mgk |
Posted: Fri Jul 11, 2008 7:28 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Hi.
Remember the SOAP nodes are WSDL driven. This means that they expect the messages sent and received to match the WSDL definition. Therefore you must change your WSDL to match what you are trying to do. In this case you need to:
1: Model the operation as a "One Way" MEP (Message Exchange Pattern) (by ensuring the Operation you are calling only has an "Input" section).
2: Make the service return an empty "200 OK" or "202 Ack" when called. _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
PiWer |
Posted: Mon Jul 14, 2008 11:32 pm Post subject: |
|
|
Newbie
Joined: 11 Jul 2008 Posts: 6
|
I've changed the Operation in the wsdl and now everything is working fine!
Thx,
Pieter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|