One Star

tSOAP component error

Hi all,
Im trying to run the attached job for simple SOAP message to send with a variable but im getting error eveytime i try to run. Can someone help resolve the issue?

the error;
Error in the component's propertiesSmiley Frustratedyntax error, insert ")" to complete MethodInvocation
Syntax error, insert ";" to complete Statement
Five Stars

Re: tSOAP component error

You need to escape the double quotes in you message.
i.e. \"
Otherwise the act as String terminators.
One Star

Re: tSOAP component error

As i remove the double quotes inside the message, i got the following error this time;
Exception in component tSOAP_2
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (400Bad Request
at Source)
at org.talend.soap.SOAPUtil.invokeSOAP(
at demo_project_melih.asdasd_0_1.asdasd.tSOAP_2Process(
can you also help with this error?
One Star

Re: tSOAP component error

tal Told you to escape the double quotes in your message not to remove them.
You should have something like :
"<soapenv:Envelope xmlns:soapenv=\"\" xmlns:tem=\"\"> etc...
To escape double quotes, caracter '\' is used.