epolkerman
15 years agoNew Contributor
WS-RM does not use an absolute URI for wrsm:Identifier
Hello,
In the project I'm currently working on, we are 'connecting' a Webservice to an IBM WebSphere DataPower system. The message exchange between the Webservice and the deployed incoming message service on the DataPower is configured to use Web Services Reliable Messaging version 1.1.
For test purposes we wanted to use SoapUI. However with SoapUI it isn't possible to setup a proper wsrm sequence. SoapUI uses the following SOAP message for the CreateSequence:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence</wsa:Action>
<wsa:MessageID>uuid:f08712ac-e1de-4cf5-a136-6cfc4ea9a3db</wsa:MessageID>
<wsa:To>http://127.0.0.1:8088</wsa:To>
</soapenv:Header>
<soapenv:Body xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702">
<wsrm:CreateSequence>
<wsrm:AcksTo xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous?id=015067da-665b-4e6a-bacb-1ed8219cf2c1</wsa:Address>
</wsrm:AcksTo>
<wsrm:Offer>
<wsrm:Identifier>blah</wsrm:Identifier>
</wsrm:Offer>
</wsrm:CreateSequence>
</soapenv:Body>
</soapenv:Envelope>
The DataPower system cannot handle the value 'blah' for the <wsrm:Identifier> element in the CreateSequence message from SoapUI, because the DataPower system expects a value from type xs:anyURI.
Also the approved standard from Oasis prescribes:
/wsrm:CreateSequence/wsrm:Offer/wsrm:Identifier
The RM source MUST set the value of this element to an absolute URI (conformant with RFC3986 [URI]) that uniquely identifies the offered Sequence.
Proposed solution:
Change the fixed value 'blah' in a absolute URI, or even better, a variable on the WS-RM tab on the SOAP Test Request teststep. It would be a great help if we can continue to use this nice testtool for our planned tests
Regards
In the project I'm currently working on, we are 'connecting' a Webservice to an IBM WebSphere DataPower system. The message exchange between the Webservice and the deployed incoming message service on the DataPower is configured to use Web Services Reliable Messaging version 1.1.
For test purposes we wanted to use SoapUI. However with SoapUI it isn't possible to setup a proper wsrm sequence. SoapUI uses the following SOAP message for the CreateSequence:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence</wsa:Action>
<wsa:MessageID>uuid:f08712ac-e1de-4cf5-a136-6cfc4ea9a3db</wsa:MessageID>
<wsa:To>http://127.0.0.1:8088</wsa:To>
</soapenv:Header>
<soapenv:Body xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702">
<wsrm:CreateSequence>
<wsrm:AcksTo xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous?id=015067da-665b-4e6a-bacb-1ed8219cf2c1</wsa:Address>
</wsrm:AcksTo>
<wsrm:Offer>
<wsrm:Identifier>blah</wsrm:Identifier>
</wsrm:Offer>
</wsrm:CreateSequence>
</soapenv:Body>
</soapenv:Envelope>
The DataPower system cannot handle the value 'blah' for the <wsrm:Identifier> element in the CreateSequence message from SoapUI, because the DataPower system expects a value from type xs:anyURI.
Also the approved standard from Oasis prescribes:
/wsrm:CreateSequence/wsrm:Offer/wsrm:Identifier
The RM source MUST set the value of this element to an absolute URI (conformant with RFC3986 [URI]) that uniquely identifies the offered Sequence.
Proposed solution:
Change the fixed value 'blah' in a absolute URI, or even better, a variable on the WS-RM tab on the SOAP Test Request teststep. It would be a great help if we can continue to use this nice testtool for our planned tests
Regards