Hello, I tried to make work WS-ReliableMessaging with no success. However the three first steps work: - synapse creates a sequence - the web service responds to CreateSequence request - synapse sends the request to the server with the pre-negotiated sequence ID But an error 500 is sent back to synapse as shown below in the ethereal dump:
BEGINNING==================> POST http://localhost:8080/CalculatorService/CalculatorWSService HTTP/1.1 Host: localhost.localdomain:8008 Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence Content-Type: text/xml; charset=UTF-8 Transfer-Encoding: chunked Connection: Keep-Alive User-Agent: Synapse-HttpComponents-NIO 30b <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://localhost:8080/CalculatorService/CalculatorWSService</wsa:To><wsa:MessageID>urn:uuid:5A5E3295C1A6AEB82C1200058422898</wsa:MessageID><wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action></soapenv:Header><soapenv:Body><wsrm:CreateSequence xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:AcksTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsrm:AcksTo><wsrm:Offer><wsrm:Identifier>urn:uuid:4056BA735389EB137725138894542162-869979662</wsrm:Identifier></wsrm:Offer></wsrm:CreateSequence></soapenv:Body></soapenv:Envelope> HTTP/1.1 200 OK X-Powered-By: Servlet/2.5 Server: Sun Java System Application Server 9.1 Content-Type: text/xml;charset="utf-8" Transfer-Encoding: chunked Date: Fri, 11 Jan 2008 13:33:43 GMT 4a8 <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:3b5e831f-49a2-4a00-9ece-d58c7058dc26</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:5A5E3295C1A6AEB82C1200058422898</RelatesTo></S:Header><S:Body><ns2:CreateSequenceResponse xmlns:ns2="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:ns3="http://schemas.microsoft.com/ws/2006/05/rm" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns6="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><ns2:Identifier>uuid:ab7973ee-2eb6-4cdb-ad77-9e4ea4743a95</ns2:Identifier><ns2:Accept><ns2:AcksTo><ns4:Address>http://localhost:8080/CalculatorService/CalculatorWSService</ns4:Address></ns2:AcksTo></ns2:Accept></ns2:CreateSequenceResponse></S:Body></S:Envelope> 0 0 POST http://localhost:8080/CalculatorService/CalculatorWSService HTTP/1.1 Host: localhost.localdomain:8008 Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 SOAPAction: http://service/CalculatorWS/multiplyRequest Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Connection: Keep-Alive User-Agent: Synapse-HttpComponents-NIO 325 <?xml version='1.0' encoding='utf-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing"><S:Header><wsa:To>http://localhost:8080/CalculatorService/CalculatorWSService</wsa:To><wsa:MessageID>urn:uuid:4056BA735389EB137725138981516163-1241660347</wsa:MessageID><wsa:Action>http://service/CalculatorWS/multiplyRequest</wsa:Action><wsrm:Sequence xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:mustUnderstand="1"><wsrm:Identifier>uuid:ab7973ee-2eb6-4cdb-ad77-9e4ea4743a95</wsrm:Identifier><wsrm:MessageNumber>1</wsrm:MessageNumber><wsrm:LastMessage /></wsrm:Sequence></S:Header><S:Body><ns2:multiply xmlns:ns2="http://service/"> <i>50</i> </ns2:multiply></S:Body></S:Envelope> 0 HTTP/1.1 500 Internal Server Error X-Powered-By: Servlet/2.5 Server: Sun Java System Application Server 9.1 Content-Type: text/xml;charset="utf-8" Transfer-Encoding: chunked Date: Fri, 11 Jan 2008 13:33:43 GMT Connection: close 459 <?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><FaultDetail xmlns="http://www.w3.org/2005/08/addressing"><ProblemHeaderQName>{http://www.w3.org/2005/08/addressing}Action</ProblemHeaderQName></FaultDetail><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:cdbc6724-eccd-45a5-b248-9329519716be</MessageID><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:4056BA735389EB137725138981516163-1241660347</RelatesTo></S:Header><S:Body><SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://www.w3.org/2005/08/addressing" xmlns="">ns0:ActionMismatch</faultcode><faultstring xmlns="">A header representing a Message Addressing Property is not valid and the message cannot be processed</faultstring></SOAP-ENV:Fault></S:Body></S:Envelope> 0 END===============================> The request sent by synapse seems to be correct so I searched nabbled and the web but I found nothing that can help me. Is it possible to have a little help ? Thanks! sihem --------------------------------- Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
