tSOAP component error

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
Thanks,
Melih
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

thanks.
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: java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (400Bad Request
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:109)
at demo_project_melih.asdasd_0_1.asdasd.tSOAP_2Process(asdasd.java:515)
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.