You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by nbenmansour <ni...@gmail.com> on 2013/09/02 10:29:46 UTC

Strange message send by the server out of the WS-ReliableMessaging specification(February 2005)

Hi, i'm using the same tutorial as in the apache CXF 2.7.6jar and i'm tracing
the server log.I found a strange message sended by the server which is not
found in the WS-ReliableMessaging protocol after recieving  the
CreateSequence sequence.Here is it :
urn:uuid:d88398bb-ee7b-469c-adea-a2184eb236edhttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://www.w3.org/2005/08/addressing/unspecifiedAnd
here is the total conversation:sept. 02, 2013 9:15:59 AM
org.apache.cxf.services.GreeterService.GreeterPort.GreeterINFO: Inbound
Message----------------------------ID: 1Address:
http://localhost:9000/SoapContext/GreeterPortEncoding: UTF-8Http-Method:
POSTContent-Type: text/xml; charset=UTF-8Headers: {Accept=[*/*],
Cache-Control=[no-cache], connection=[keep-alive], Content-Length=[994],
content-type=[text/xml; charset=UTF-8], Host=[localhost:9000],
Pragma=[no-cache],
SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"],
User-Agent=[Apache CXF 2.7.6]}Payload:
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceurn:uuid:801a1171-828e-4a62-b55f-2d5dcd9c6654http://localhost:9000/SoapContext/GreeterPorthttp://localhost:9990/decoupled_endpointhttp://localhost:9990/decoupled_endpointPT0Surn:uuid:dcac5ce2-9d29-4ed6-9eaf-adcf81103e1aPT0S--------------------------------------sept.
02, 2013 9:15:59 AM org.apache.cxf.ws.rm.soap.RMSoapInterceptor
updateServiceModelInfoINFO: Updating service model info in exchangesept. 02,
2013 9:15:59 AM
org.apache.cxf.services.SequenceAbstractService.SequenceAbstractSoapPort.SequenceAbstractPortTypeINFO:
Outbound Message---------------------------ID: 1Encoding: UTF-8Content-Type:
text/xmlHeaders: {}Payload:
urn:uuid:d88398bb-ee7b-469c-adea-a2184eb236edhttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://www.w3.org/2005/08/addressing/unspecified--------------------------------------sept.
02, 2013 9:15:59 AM
org.apache.cxf.services.SequenceAbstractService.SequenceAbstractSoapPort.SequenceAbstractPortTypeINFO:
Outbound Message---------------------------ID: 1Address:
http://localhost:9990/decoupled_endpointEncoding: UTF-8Http-Method:
POSTContent-Type: text/xmlHeaders: {Accept=[*/*]}Payload:
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponseurn:uuid:a6126461-a1ae-4be6-8649-78ceb07053aehttp://localhost:9990/decoupled_endpointurn:uuid:801a1171-828e-4a62-b55f-2d5dcd9c6654urn:uuid:c5ab66dd-3404-4532-a6a1-9fac5dee938dP0Y0M0DT0H0M0Shttp://localhost:9000/SoapContext/GreeterPort--------------------------------------sept.
02, 2013 9:15:59 AM
org.apache.cxf.services.GreeterService.GreeterPort.GreeterINFO: Inbound
Message----------------------------ID: 2Address:
http://localhost:9000/SoapContext/GreeterPortEncoding: UTF-8Http-Method:
POSTContent-Type: text/xml; charset=UTF-8Headers: {Accept=[*/*],
Cache-Control=[no-cache], connection=[keep-alive], Content-Length=[930],
content-type=[text/xml; charset=UTF-8], Host=[localhost:9000],
Pragma=[no-cache], SOAPAction=[""], User-Agent=[Apache CXF 2.7.6]}Payload:
http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequesturn:uuid:699217b9-12a2-426e-b2b8-226fd187b817http://localhost:9000/SoapContext/GreeterPorturn:uuid:c5ab66dd-3404-4532-a6a1-9fac5dee938d1Anne--------------------------------------sept.
02, 2013 9:15:59 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter



--
View this message in context: http://cxf.547215.n5.nabble.com/Strange-message-send-by-the-server-out-of-the-WS-ReliableMessaging-specification-February-2005-tp5733397.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Strange message send by the server out of the WS-ReliableMessaging specification(February 2005)

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I couldn't make any sense of the text embedded in this email, but the 
email stored on nabble is much more readable.

As far as I can see this is as expected. The server is sending back an 
empty response to the client for the CreateSequence, but because 
WS-Addressing is being used that gets turned into a response message 
with the full set of WS-A headers. The actual CreateSequenceResponse 
should be going to the AcksTo address 
http://localhost:9990/decoupled_endpoint

   - Dennis

On 09/02/2013 08:29 PM, nbenmansour wrote:
> Hi, i'm using the same tutorial as in the apache CXF 2.7.6jar and i'm tracing
> the server log.I found a strange message sended by the server which is not
> found in the WS-ReliableMessaging protocol after recieving  the
> CreateSequence sequence.Here is it :
> urn:uuid:d88398bb-ee7b-469c-adea-a2184eb236edhttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://www.w3.org/2005/08/addressing/unspecifiedAnd
> here is the total conversation:sept. 02, 2013 9:15:59 AM
> org.apache.cxf.services.GreeterService.GreeterPort.GreeterINFO: Inbound
> Message----------------------------ID: 1Address:
> http://localhost:9000/SoapContext/GreeterPortEncoding: UTF-8Http-Method:
> POSTContent-Type: text/xml; charset=UTF-8Headers: {Accept=[*/*],
> Cache-Control=[no-cache], connection=[keep-alive], Content-Length=[994],
> content-type=[text/xml; charset=UTF-8], Host=[localhost:9000],
> Pragma=[no-cache],
> SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"],
> User-Agent=[Apache CXF 2.7.6]}Payload:
> http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceurn:uuid:801a1171-828e-4a62-b55f-2d5dcd9c6654http://localhost:9000/SoapContext/GreeterPorthttp://localhost:9990/decoupled_endpointhttp://localhost:9990/decoupled_endpointPT0Surn:uuid:dcac5ce2-9d29-4ed6-9eaf-adcf81103e1aPT0S--------------------------------------sept.
> 02, 2013 9:15:59 AM org.apache.cxf.ws.rm.soap.RMSoapInterceptor
> updateServiceModelInfoINFO: Updating service model info in exchangesept. 02,
> 2013 9:15:59 AM
> org.apache.cxf.services.SequenceAbstractService.SequenceAbstractSoapPort.SequenceAbstractPortTypeINFO:
> Outbound Message---------------------------ID: 1Encoding: UTF-8Content-Type:
> text/xmlHeaders: {}Payload:
> urn:uuid:d88398bb-ee7b-469c-adea-a2184eb236edhttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://www.w3.org/2005/08/addressing/unspecified--------------------------------------sept.
> 02, 2013 9:15:59 AM
> org.apache.cxf.services.SequenceAbstractService.SequenceAbstractSoapPort.SequenceAbstractPortTypeINFO:
> Outbound Message---------------------------ID: 1Address:
> http://localhost:9990/decoupled_endpointEncoding: UTF-8Http-Method:
> POSTContent-Type: text/xmlHeaders: {Accept=[*/*]}Payload:
> http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponseurn:uuid:a6126461-a1ae-4be6-8649-78ceb07053aehttp://localhost:9990/decoupled_endpointurn:uuid:801a1171-828e-4a62-b55f-2d5dcd9c6654urn:uuid:c5ab66dd-3404-4532-a6a1-9fac5dee938dP0Y0M0DT0H0M0Shttp://localhost:9000/SoapContext/GreeterPort--------------------------------------sept.
> 02, 2013 9:15:59 AM
> org.apache.cxf.services.GreeterService.GreeterPort.GreeterINFO: Inbound
> Message----------------------------ID: 2Address:
> http://localhost:9000/SoapContext/GreeterPortEncoding: UTF-8Http-Method:
> POSTContent-Type: text/xml; charset=UTF-8Headers: {Accept=[*/*],
> Cache-Control=[no-cache], connection=[keep-alive], Content-Length=[930],
> content-type=[text/xml; charset=UTF-8], Host=[localhost:9000],
> Pragma=[no-cache], SOAPAction=[""], User-Agent=[Apache CXF 2.7.6]}Payload:
> http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequesturn:uuid:699217b9-12a2-426e-b2b8-226fd187b817http://localhost:9000/SoapContext/GreeterPorturn:uuid:c5ab66dd-3404-4532-a6a1-9fac5dee938d1Anne--------------------------------------sept.
> 02, 2013 9:15:59 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Strange-message-send-by-the-server-out-of-the-WS-ReliableMessaging-specification-February-2005-tp5733397.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>