Page 1 of 1

Web Services Client from different Domain

Posted: Mon Jan 16, 2012 8:21 pm
by sparq
Hi All,

Has anyone had any success using the Web Services Client to connect to a web service on a different domain.

I can connect to the service using SoapUI but when I try using DataStage I get the following error:

Code: Select all

Web_Services_Transformer_3,0: Error: 0026`:`com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
   <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:HTTP</faultcode>
   <faultstring>(401)Unauthorized</faultstring>
   <detail>
    <string>return code:  401
</string>
   </detail>
  </ns1:Fault>
 at com.ascentialsoftware.wsclient.OperationCall.handleRemoteException(OperationCall.java:369)
 at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:274)
 at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
 at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
 at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
 at com.ascentialsoftware.jds.StageFactory.runTransformer(StageFactory.java:361)
I'm using the format <domain>\<user> in the "User Name" field of the Security tab in the Stage Properties. The service that I'm trying to connect to is a sharepoint service.

Posted: Mon Jan 16, 2012 11:39 pm
by sparq
Just a bit more information.

Connecting to an unsecured service works with no problems.