hi all,
i create a webservice
https://demo017.service-now.com/u_ntq001.do?WSDL but i can't using client for that.
it request authentication user:"admin" password:"admin".
when i created webservice client i was fill user and password for form of netbeans but when i run a function of this webservice i have exception:
Exception in
thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
but when i use soapui for call this service it's okie with fill username and password per request
who can demo a client by
java call this webservice? or give me how to fix exception?
my code:
http://www.fshare.vn/file/MJV6HSNGDL/
thanks many!