13 years ago
Error in extracting message properties
I am posting this because I was experiencing this issue and there was no relevant help topics on the issue.
I was attempting to test a web service with WS-Security, and I was receiving the following error: Error in extracting message properties
Resolution: I had to switch which version of apache axis2 I was using. Apache Axis2 (v1.6.2) is not compatible with Apache Rampart (v1.6.1) for WS-Security. At least when I switched versions, all started working.
I was using:
1) soapui free
2) Apache Axis2 (v1.6.2)
3) Apache Rampart (v1.6.1)
The examples below follow along with the examples in the book "Web Service Testing with SoapUI".
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://sample.com/reservation/guest/types">
<soapenv:Header/>
<soapenv:Body>
<typ:getGuestDetails>
<!--Optional:-->
<typ:guestName>Saman</typ:guestName>
</typ:getGuestDetails>
</soapenv:Body>
</soapenv:Envelope>
Example Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>urn:getGuestDetailsGuestManagementServiceGuestManagementException</wsa:Action>
<wsa:RelatesTo>uuid:ffa1697f-1853-4e1e-a8c1-53613a28bb5f</wsa:RelatesTo>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>wsse:InvalidSecurity</faultcode>
<faultstring>Error in extracting message properties</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I was attempting to test a web service with WS-Security, and I was receiving the following error: Error in extracting message properties
Resolution: I had to switch which version of apache axis2 I was using. Apache Axis2 (v1.6.2) is not compatible with Apache Rampart (v1.6.1) for WS-Security. At least when I switched versions, all started working.
I was using:
1) soapui free
2) Apache Axis2 (v1.6.2)
3) Apache Rampart (v1.6.1)
The examples below follow along with the examples in the book "Web Service Testing with SoapUI".
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://sample.com/reservation/guest/types">
<soapenv:Header/>
<soapenv:Body>
<typ:getGuestDetails>
<!--Optional:-->
<typ:guestName>Saman</typ:guestName>
</typ:getGuestDetails>
</soapenv:Body>
</soapenv:Envelope>
Example Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>urn:getGuestDetailsGuestManagementServiceGuestManagementException</wsa:Action>
<wsa:RelatesTo>uuid:ffa1697f-1853-4e1e-a8c1-53613a28bb5f</wsa:RelatesTo>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>wsse:InvalidSecurity</faultcode>
<faultstring>Error in extracting message properties</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>