Hello
Im'm trying to use the tSOAP component and I've got an error.
Here is the message I want to send :
"<SOAP-ENV:Envelope xmlns
OAP-ENV=\"
http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns1=\"urn:sympasoap\" xmlns:xsd=\"
http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"
http://www.w3.org/2001/XMLSchema-instance\" xmlns
OAP-ENC=\"
http://schemas.xmlsoap.org/soap/encoding/\" SOAP-ENV:encodingStyle=\"
http://schemas.xmlsoap.org/soap/encoding/\">
<soapenv:Header/>
<SOAP-ENV:Body>
<ns1:login>
<email xsi:type=\"xsd:string\">prout@insa.fr</email>
<password xsi:type=\"xsd:string\">prout</password>
</ns1:login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>"
And I've got this error, It seems to be a problem whith this message but I'm not sure :
connecting to socket on port 4054
connected
24 mai 2013 09:26:28 com.sun.xml.internal.messaging.saaj.soap.MessageImpl identifyContentType
GRAVE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
Exception in component tSOAP_1
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:110)
at ldapmx.testsoap_0_1.testSOAP.tSOAP_1Process(testSOAP.java:481)
at ldapmx.testsoap_0_1.testSOAP.runJobInTOS(testSOAP.java:791)
at ldapmx.testsoap_0_1.testSOAP.main(testSOAP.java:659)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:602)
at com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:86)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:328)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
... 4 more
CAUSE:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:602)
at com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:86)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:328)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:110)
at ldapmx.testsoap_0_1.testSOAP.tSOAP_1Process(testSOAP.java:481)
at ldapmx.testsoap_0_1.testSOAP.runJobInTOS(testSOAP.java:791)
at ldapmx.testsoap_0_1.testSOAP.main(testSOAP.java:659)
CAUSE:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:602)
at com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:86)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:328)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:110)
at ldapmx.testsoap_0_1.testSOAP.tSOAP_1Process(testSOAP.java:481)
at ldapmx.testsoap_0_1.testSOAP.runJobInTOS(testSOAP.java:791)
at ldapmx.testsoap_0_1.testSOAP.main(testSOAP.java:659)
disconnected
Thanks for your help
Eric, desperate