Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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 Sabrina,
The link for tSoap documentation has no scenario that's using NTLM authentication:
https://help.talend.com/search/all?query=tSOAP&content-lang=en
Just out of interest, was the component creator/developer ever been able to use this feature ('Use NTLM with authentication')? I am leaning to the conclusion that I've just hit a bug.
Thanks!
Anonymous
Not applicable
Author

Hi,
was the component creator/developer ever been able to use this feature ('Use NTLM with authentication')

They have used the feature before but everything is OK without documentation.
Two issues need to be confirmed
1. Make sure your certification is NTML, there is anther certification kerberos provided by Microsoft .
2. Attention that endpoint is not the WSDL location, but should be the location of the server defined in the wsdl.
Very Sorry for wasting your long time on this issue.
Best regards
Sabrina
c0utta
Creator
Creator

Hi Josephine,
I spent a long time struggling with a similar issue with our Sharepoint installation, but NTLM authentication does work.
My main problem was that I didn't actually have access to the objects on Sharepoint itself, thus I was receiving authentication errors.
I used Soap 1.2, but here's my code:
<soap12:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap12='http://www.w3.org/2003/05/soap-envelope'>
<soap12:Body>
<GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'>
<listName>Contracts</listName>
<viewFields><ViewFields><FieldRef Name='EncodedAbsUrl' /></ViewFields></viewFields>
<rowLimit>0</rowLimit>
<query>
<Query>
<Where><Eq><FieldRef Name='Modified' /><Value Type='DateTime'><Today /></Value></Eq></Where>
<OrderBy><FieldRef Name='Title' /></OrderBy>
</Query>
</query>
<QueryOptions>
<IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns>
<DateInUtc>TRUE</DateInUtc>
</QueryOptions>
</GetListItems>
</soap12:Body>
</soap12:Envelope>

Cheers
Anonymous
Not applicable
Author

hello,
I am trying to call a webservice from TOS5.3 using tSoap. I setup tSoap correctly and I was able able to send soap message but when i send soap message body greater than 45000 lines then it generate exception.
my Talend job is similar to above one but athentication failure is already solved
My problem is that I am getting Caused by: java.io.IOException: Error writing to server 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.
code
connecting to socket on port 3477
connected
mrt 04, 2014 11:32:44 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.su

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Hi,
was the component creator/developer ever been able to use this feature ('Use NTLM with authentication')

They have used the feature before but everything is OK without documentation.
Two issues need to be confirmed
1. Make sure your certification is NTML, there is anther certification kerberos provided by Microsoft .
2. Attention that endpoint is not the WSDL location, but should be the location of the server defined in the wsdl.
Very Sorry for wasting your long time on this issue.
Best regards
Sabrina

Hi Sabrina!
Just tried the 5.6.2 version --- NTLM auth still no work.
Can you please give me a link to the bug in the bugtracker?