Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue encountered while calling Sharepoint Webservice using tSoap

Hello,
I am trying to call a Sharepoint 2010 webservice from TOS5.2 using tSoap. I think I setup tSoap correctly and I was able to access the sharepoint using the same credentials from a web browser.
My problem is that I am getting java.io.IOException: Authentication failure whenever I run this job.
I hope someone can help me on this as I'm finding it hard to google for anything related to this topic. The resources that I found are not helpful at all and most of them are still open.
Thanks,
Josephine
0683p000009MDPc.jpg 0683p000009MDXT.jpg
Labels (4)
14 Replies
Anonymous
Not applicable
Author

Hi,
I cannot navigate to the link you provided in screenshot. Do I make something wrong with that? There is a technology article on Talend Help centerhttps://help.talend.com/search/all?query=tSOAP&content-lang=en.
Hope it will help you.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
That link only works within the company. But I was able to access it from my computer..
I'll read the link that you sent.
Can you do me a favor please.. will you be able to edit out the sharepoint link from your reply? I forgot to remove it from the screenshot.
Thanks!
Anonymous
Not applicable
Author

Hi,
I have edited out the link. Sorry for the disclosure, i don't mean that. We need have a discussion with our component colleagues about your issue and give you the response asap.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks Sabrina..
I think the issue is something to do with NTLM authentication. All my parameters are correct (domain,username,password) but the ntlm class that Talend is generating seems to fail..
Looking forward to your colleague's reply..
Anonymous
Not applicable
Author

Hi, JOSEPHINE
How about unchecked the option of "Use NTLM" to see if the issue still repro. So far, there is no response given to me.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
I unchecked "Use NTLM" but encountered the same 'Authentication' error:
Jan 17, 2013 11:50:48 AM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: 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(Unknown Source)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:110)
at comp.soap_0_1.soap.tSOAP_1Process(soap.java:481)
at comp.soap_0_1.soap.runJobInTOS(soap.java:793)
at comp.soap_0_1.soap.main(soap.java:658)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)
... 5 more
Caused by: java.io.IOException: Authentication failure
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
... 6 more
Caused by: java.io.IOException: Authentication failure
... 8 more

I hope someone can help on this..
Thanks!
Anonymous
Not applicable
Author

Hi, JOSEPHINE
I got a response from our Component team. Something wrong with your "Use NTLM" , and it is a protocol which protect your message from interruption and disclosure. What' more, it must be used with "user name and password".
It would be IP address or the client name. Would you mind checking your NTLM again? Sorry for the delay.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
I changed the "Use NTLM -> Domain" to my domain's IP address and also provided my username and password. But I still get the same error -> Authentication failure. Attached is the setting of my tSoap component using the IP address.
Do you have a screenshot of the 'correct' settings that I should use?
Thanks,
Josephine
0683p000009MDXY.jpg
Anonymous
Not applicable
Author

Hi,
All the tSoap scenarios have been kept in tSOAP which i have given to you. BTW, i have search it by Mr.goole http://en.wikipedia.org/wiki/NTLM. Hope it will help you.
Best regards
Sabrina