Hi, I got the following error:
10:10:43,890 [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws" 10:10:43,890 [main] DEBUG StAXUtils : XMLStreamReader is com.sun.xml.stream.XMLReaderImpl 10:10:43,905 [main] DEBUG Wire : << "a="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Heade r><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/none</w sa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:96F2F716A6F976F66011708 6104378010</wsa:MessageID><wsa:Action>http://www.w3.org/2005/08/addressi ng/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault> <faultcode></faultcode><faultstring>Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n multipart/related; nested exception is: [\n]" 10:10:43,905 [main] DEBUG Wire : << "[0x9]org.apache.axis2.AxisFault: Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n multipart/related</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>" 10:10:43,905 [main] DEBUG StAXOMBuilder : START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Envelope:Envelope 10:10:43,921 [main] DEBUG StAXSOAPModelBuilder : Starting to process SOAP 1.1 message 10:10:43,921 [main] DEBUG StAXSOAPModelBuilder : Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder org.apache.axis2.AxisFault: Transport level information does not match with SOAP Message namespace URI; nested exception is: org.apache.axiom.soap.SOAPProcessingException: Transport level information does not match with SOAP Message namespace URI at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti ls.java:126) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti ls.java:67) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:381) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO peration.java:295) It looks like the client stub class is creating a SOAP 1.2 envelope message, as the following: _operationClient.getOptions().getSoapVersionURI() returns http://www.w3.org/2003/05/soap-envelope (namespace SOQP1.2) But the StAXSOAPModelBuilder is trying to process it as SOAP 1.1 message (?), refer to the above logs. Any pointers how to solve this? Check the wso has article on this, http://wso2.org/library/559. But how do you control the _operationClient.getOptions().getSoapVersionURI() to return the correct SOAP version? Thanks in advance, wen ******************** NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous nêtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation dune partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement lexpéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale
