14 years ago
SoapUI 4.0.1 WS-Addressing 2004/08
Hi
I have been trying to test a web service supporting WS-Addressing (2004/08) and WS-RM (1.0).
Although I enable WS-A and set the version to be 200408, SoapUI seems to create headers for 2005/08.
Below is the message received by the service:
ID: 1
Address: /TestPingService
Encoding: ISO-8859-1
Content-Type: text/xml
Headers: {content-type=[text/xml], host=[localhost:8080], Content-Length=[811], user-agent=[Jakarta Commons-HttpClient/3.1], acc
ept-encoding=[gzip,deflate], Content-Type=[text/xml]}
Payload: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.or
g/2005/08/addressing"><wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action><wsa:MessageID>uuid:44c3c8
9a-223a-45a2-b756-5d72fc23a71b</wsa:MessageID><wsa:To>http://localhost:8080/TestPingService</wsa:To></soapenv:Header>
<soapenv:Body xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:CreateSequence><wsrm:AcksTo xmlns:wsa="http://www.w
3.org/2005/08/addressing"><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous?id=8457e9f2-93eb-4252-9f3f-749396251a53</w
sa:Address></wsrm:AcksTo><wsrm:Offer><wsrm:Identifier>urn:soapui:8457e9f2-93eb-4252-9f3f-749396251a53</wsrm:Identifier></wsrm:Of
fer></wsrm:CreateSequence></soapenv:Body>
</soapenv:Envelope>
Also, the WS-RM service interceptor fails to recognise the identifier and the client receives the following error:
The value of wsrm:Identifier is not a known Sequence identifier.
We are using CXF on JBoss as our service provider.
A service client running on this stack supporting the same versions as the service produces the following createsequence request:
---------------------------
ID: 9
Address: http://jboss2:8080/TestPingService
Encoding: UTF-8
Content-Type: text/xml
Headers: {SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"], Accept=[*/*]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:01c1fa15-365b-401b-8a7d-6a4943672348</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://jboss2:8080/TestPingService</To><ReplyTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</Address></ReplyTo></soap:Header><soap:Body><CreateSequence xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"><AcksTo><ns2:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</ns2:Address></AcksTo><Expires>P0Y0M0DT0H0M0S</Expires><Offer><Identifier>urn:uuid:2f78fccb-c42a-4e5e-b839-42f1c03ad647</Identifier><Expires>P0Y0M0DT0H0M0S</Expires></Offer></CreateSequence></soap:Body></soap:Envelope>
Could you possibly let me know if the following are true:
1. SoapUI not sending 2004/08 headers for WS-A is a bug? I thought I saw this was fixed in 4.0.1
2. Can you see a reason why the SoapUI generated sequence identifier is rejected by our CXF service? (I am also following this up with CXF/JBoss).
3. Is there a way in SoapUI to generate custom reference parameters in the WS-A header?
Your help would be greatly appreciated.
I would be happy to provide more information if required
Regards
Chris
I have been trying to test a web service supporting WS-Addressing (2004/08) and WS-RM (1.0).
Although I enable WS-A and set the version to be 200408, SoapUI seems to create headers for 2005/08.
Below is the message received by the service:
ID: 1
Address: /TestPingService
Encoding: ISO-8859-1
Content-Type: text/xml
Headers: {content-type=[text/xml], host=[localhost:8080], Content-Length=[811], user-agent=[Jakarta Commons-HttpClient/3.1], acc
ept-encoding=[gzip,deflate], Content-Type=[text/xml]}
Payload: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.or
g/2005/08/addressing"><wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action><wsa:MessageID>uuid:44c3c8
9a-223a-45a2-b756-5d72fc23a71b</wsa:MessageID><wsa:To>http://localhost:8080/TestPingService</wsa:To></soapenv:Header>
<soapenv:Body xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:CreateSequence><wsrm:AcksTo xmlns:wsa="http://www.w
3.org/2005/08/addressing"><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous?id=8457e9f2-93eb-4252-9f3f-749396251a53</w
sa:Address></wsrm:AcksTo><wsrm:Offer><wsrm:Identifier>urn:soapui:8457e9f2-93eb-4252-9f3f-749396251a53</wsrm:Identifier></wsrm:Of
fer></wsrm:CreateSequence></soapenv:Body>
</soapenv:Envelope>
Also, the WS-RM service interceptor fails to recognise the identifier and the client receives the following error:
The value of wsrm:Identifier is not a known Sequence identifier.
We are using CXF on JBoss as our service provider.
A service client running on this stack supporting the same versions as the service produces the following createsequence request:
---------------------------
ID: 9
Address: http://jboss2:8080/TestPingService
Encoding: UTF-8
Content-Type: text/xml
Headers: {SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"], Accept=[*/*]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:01c1fa15-365b-401b-8a7d-6a4943672348</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://jboss2:8080/TestPingService</To><ReplyTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</Address></ReplyTo></soap:Header><soap:Body><CreateSequence xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"><AcksTo><ns2:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</ns2:Address></AcksTo><Expires>P0Y0M0DT0H0M0S</Expires><Offer><Identifier>urn:uuid:2f78fccb-c42a-4e5e-b839-42f1c03ad647</Identifier><Expires>P0Y0M0DT0H0M0S</Expires></Offer></CreateSequence></soap:Body></soap:Envelope>
Could you possibly let me know if the following are true:
1. SoapUI not sending 2004/08 headers for WS-A is a bug? I thought I saw this was fixed in 4.0.1
2. Can you see a reason why the SoapUI generated sequence identifier is rejected by our CXF service? (I am also following this up with CXF/JBoss).
3. Is there a way in SoapUI to generate custom reference parameters in the WS-A header?
Your help would be greatly appreciated.
I would be happy to provide more information if required
Regards
Chris