Hi All,
I have an issue with Web Service Client in RAD 7.5 and WAS 7.' I am new to Web Service. I would like to get advice on how to make the HTTP Authentication configuration for WEB SERVICE CLIENT CLASS.
Please find the details below
1. I have a Web Service [WSDL] that requires a HTTP Authentication to access it.
2. I generated a Dynamic Web Project and created the Web Service Client out of the WSDL through RAD 7.5
3. I have now
JSP file through which i can invoke the Web Service
4. I have the HTTP Auth information configured in the WebService Binding Deployment Descriptor.[ibm-webservices-bnd.xmi]
<portQnameBindings.... .>
<basicAuth xmi:id="BasicAuth_1351130535775" userid="xxx" password="xxx"/>
</portQnameBindings>
The issue is when i run the TestWebClient.jsp on the Web Server, it displays the Web Service method and obtains the input, but when clicked on Invoke button the Response i get is
Exception: javax.xml.ws.WebServiceException: org.apache.axis2.AxisFault: HTTP ( 401 ) Authorization Required address : [URL]
I am not sure if there's any other place in the
Java code i have to place the Authentication settings. The Web Service is based on JAX-WS.
Would appreciate if some one could shed some light on resolving this issue ASAP.
Thanks for the time.
Regards
Roshini Sridharan