1 2 Previous Next 22 Replies Latest reply on Apr 22, 2016 6:42 PM by Ramesh Reddy

    Passing username/password to webservice using from Teiid

    Sanjay Chaturvedi Novice

      Hi,

       

      We are going to introduce a new webservice as a source in our application. Web service is secure REST service.

      We have created a -ds.xml having

       

      <config-property type="java.lang.String" name="EndPoint"><SERVICE URL></config-property>

      But I am getting Error: Server returned HTTP response code: 401 for URL:

       

      Web service needs window NT credentials , else it is not accessible from browser also.

      I tried giving:

      <user-name>user</user-name>

      <password>password</password> in -ds.xml bt didnt wrk.

      Please suggest..urgently.

      Thanks.

        1 2 Previous Next