Hello everybody, I've got some problems with an incomming XML request into Synapse
Ive got the following SoapFault <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <soapenv:Header> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action> <wsa:RelatesTo>urn:uuid:CBB155E05E701EC9341211273840315</wsa:RelatesTo> </soapenv:Header> <soapenv:Body> <soapenv:Fault> <faultcode/> <faultstring>First Element must contain the local name, Envelope , but found AgoraMessage</faultstring> <detail/> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> My request is : <Message> <serviceID>stockQuote</serviceID> <operation>getQuote</operation> <traitement> <ndpt>00</ndpt> </traitement> <data> <userID>http://agora</userID> <supplierID>http://gip</supplierID> <m0:request xmlns:m0="http://services.samples/xsd"> <m0:symbol>IBM</m0:symbol> </m0:request> </data> </Message> My endpont is configured like this : <endpoint name="mock"> <address uri="http://localhost:8211/Multi-Mock-1.0/Service?C-IOPS-A" format="pox"> <suspendDurationOnFailure>30</suspendDurationOnFailure> <timeout> <duration>5</duration> <action>fault</action> </timeout> </address> </endpoint> If I put in the Header of the request Content-Type=application/xml , all works fine (i use SoapUI for tests) Any idea for my problems ? Thanks Guillaume
