Hi, I try to start my custom transport on axis2 (1.1 RC2, Win XP) with the MyService example. On the receiver side I get the following exception:
"A required header representing a Message Addressing Property is not present". In detail: <wsa:FaultDetail> <wsa:ProblemHeaderQName>wsa:Action</wsa:ProblemHeaderQName> </wsa:FaultDetail></soapenv:Header> <soapenv:Body> <soapenv:Fault> <faultcode>wsa:MessageAddressingHeaderRequired</faultcode> <faultstring>A required header representing a Message Addressing Property is not present</faultstring> <detail/> Obviously, the attribute wsa:Action can't be automatically computed. I take the TCP example as template. Why it works there? Thanks for any hints, Chris Received SOAP on receiver side: <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsa:To>pure://localhost:5000/axis2/services/MyService</wsa:To> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:MessageID>urn:uuid:5FC41846E89DADC73D11629095719191</wsa:MessageID> </soapenv:Header> <soapenv:Body><example1:echo xmlns:example1="pure://localhost:5000/axis2/services/MyService"> <example1:Text>Axis2 Echo String </example1:Text> </example1:echo> </soapenv:Body> </soapenv:Envelope> Axis2 Fault SOAP: <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address> </wsa:ReplyTo> <wsa:MessageID>urn:uuid:B7A6B83EC42774F1F311629117150911</wsa:MessageID> <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action> <wsa:RelatesTo wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply">urn:uuid:D 1FC51978E28C164D011629116118831 </wsa:RelatesTo> <wsa:FaultDetail> <wsa:ProblemHeaderQName>wsa:Action</wsa:ProblemHeaderQName> </wsa:FaultDetail></soapenv:Header> <soapenv:Body> <soapenv:Fault> <faultcode>wsa:MessageAddressingHeaderRequired</faultcode> <faultstring>A required header representing a Message Addressing Property is not present</faultstring> <detail/> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
