One Star

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
1 REPLY
One Star

Re: Cannot connect with tSOAP - what did I do wrong?

Hi hammerwd
I have done quite a few magento implementations and this thread might be helpful to you:
http://www.talendforge.org/forum/viewtopic.php?id=21213