Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Cannot connect with tSOAP - what did I do wrong?

Hi,
I'm trying to connect with tSOAP to a Magento installation.
First I'm checking Magento for wsdl:
http://localhost/magento/index.php/api/?wsdl
Everything seems to be fine - I see the wsdl file.
Now to Talend:
tSOAP_1
Repository: Build in
End Point: "http://localhost/magento/index.php/api/?wsdl"
Soap Action: "login"
Soap Version: 1.2
So .. and what is SOAP Message?
Where do I input username and password?
Is this until now correct?
When I run the job, I get:
connecting to socket on port 3763
connected
22.01.2012 11:28:38 com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
SCHWERWIEGEND: SAAJ0009: Message send failed
Exception in component tSOAP_1
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:104)
at magentotest.export_0_1.Export.tSOAP_1Process(Export.java:245)
at magentotest.export_0_1.Export.runJobInTOS(Export.java:457)
at magentotest.export_0_1.Export.main(Export.java:325)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:279)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
... 4 more
Caused by: java.lang.IndexOutOfBoundsException
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:88)
Any idea?
Thank you in advance
Bye, Chris
Labels (5)
1 Reply
Anonymous
Not applicable
Author

Hi hammerwd
I have done quite a few magento implementations and this thread might be helpful to you:
https://community.talend.com/t5/Design-and-Development/magento-retrieve-new-customers/td-p/110754