Author |
Message
|
gs |
Posted: Tue Sep 22, 2015 4:49 am Post subject: Ignoring SOAP response for one-way MEP |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
In a new integration consuming a SOAP service exposed by SAP PI the provider erroneously responds with an empty SOAP envelope. The WSDL specifies a one-way MEP.
The integration throws an error stating:
Quote: |
A SOAP request received a response message body when one was not expected because a one-way Messsage Exchange Pattern (MEP) was being used. |
However, the specification states that:
Quote: |
R2750 A CONSUMER MUST ignore an envelope carried in a HTTP response message in a one-way operation. |
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#One-Way_Operations
It seems both (WMB and SAP PI) are at fault here but is there anyway of getting around this on my end?
WMB version 8.0.0.5 (64-bit Windows) |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 22, 2015 4:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you sure the wsdl you have is correct (and up to date) and that what you have is indeed (still) a one way operation?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gs |
Posted: Tue Sep 22, 2015 5:22 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
fjb_saper wrote: |
Are you sure the wsdl you have is correct (and up to date) and that what you have is indeed (still) a one way operation?  |
I recently received the wsdl that team and they also informed me that the service it is supposed to be one-way. |
|
Back to top |
|
 |
mgk |
Posted: Tue Sep 22, 2015 5:36 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
You do not have very many good options in this case. The ones I can think of are 1: Use an HTTPRequest node instead, which will not care about the response. 2: Change the WSDL to be two-way, 3: Raise a PMR and ask for an option to allow the WS-I requirement to be met.
Kind regards, _________________ 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 |
|
 |
gs |
Posted: Tue Sep 22, 2015 5:45 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
mgk wrote: |
You do not have very many good options in this case. The ones I can think of are 1: Use an HTTPRequest node instead, which will not care about the response. 2: Change the WSDL to be two-way, 3: Raise a PMR and ask for an option to allow the WS-I requirement to be met.
Kind regards, |
Thanks, I'll go for option 3 but it's good to know about 1 as well.
2 is risky if they suddenly patch their error away. |
|
Back to top |
|
 |
gs |
Posted: Thu Jan 14, 2016 7:34 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
|
Back to top |
|
 |
|