Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

WS-Addressing example from CXF 3.0.0

$
0
0
Hi,

I'm working with the WS-Addressing example from CXF 3.0.0 found here:
apache-cxf-3.0.0-src\distribution\src\main\release\samples\ws_addressing\

I captured one request, sent from client to server, and used Chromes
Postman extension to modify it:
- made sure there's no SOAPAction the HTTP-Header
- set wsa:Action to some random value, like "blablabla"

Surprisingly it still worked!

It seems the WS-Addressing SOAP-Header field "Action" is not used at all in
CXF. Is this a bug or a feature? ;-)

Here is one of my requests:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<Action xmlns="http://www.w3.org/2005/08/addressing
">blablabla</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing
">urn:uuid:fa46e01c-f5c7-4d5b-b653-0f79d59885e8</MessageID>
<To xmlns="http://www.w3.org/2005/08/addressing">
http://localhost:9000/SoapContext/SoapPort</To>
<ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://www.w3.org/2005/08/addressing/anonymous
</Address>
</ReplyTo>
</soap:Header>
<soap:Body>
<greetMe xmlns="http://apache.org/hello_world_soap_http/types">
<requestType>rsnowden</requestType>
</greetMe>
</soap:Body>
</soap:Envelope>

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images