Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

401 error

43 views
Skip to first unread message

xyz

unread,
Dec 21, 2009, 6:56:16 AM12/21/09
to
Hi I am getting below error message when trying to connect to target
webservices.

I able to test the same webservices with the soupui and it is woking
and even with AxisEasyInvokeSoapWS FC.


05:30:44 [ZnvokeSoapWS] CTGDIS495I handleException , callreply,
java.io.IOException: Server returned HTTP response code: 401 for URL:
http://xyz:80/prweb/abcServlet
05:30:44 [ZCenterInvokeSoapWS] CTGDIS810E handleException - cannot
handle exception , callreply
java.io.IOException: Server returned HTTP response code: 401 for URL:
http://xyz:80/prweb/abcServlet
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1179)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField
(HttpURLConnection.java:1913)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:585)
at java.net.URLConnection.getContentLength(URLConnection.java:480)
at com.ibm.di.fc.webservice.util.WebServiceCall.callSoap(Unknown
Source)
at com.ibm.di.fc.webservice.InvokeSoapWS.perform(Unknown Source)
at com.ibm.di.server.FunctionComponent.callreply(Unknown Source)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(Unknown
Source)
at com.ibm.di.server.AssemblyLine.executeMainStep(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeAL(Unknown Source)
at com.ibm.di.server.AssemblyLine.run(Unknown Source)
[5:30:44 AM CST] java.io.IOException: Server returned HTTP response
code: 401 for URL: http://xyz:80/prweb/abcServlet
[5:51:05 AM CST] java.net.SocketException: Connection reset
************************

Process exit code = 1

Eddie Hartman

unread,
Dec 22, 2009, 6:05:37 AM12/22/09
to
The web service is returning a 401 error (auth problem)
http://www.w3.org/Protocols/HTTP/HTRESP.html
So your creds are not in order to access this service.
Are you passing in user/password thru SoapUI? Is there
a token in the header perhaps?

-Eddie

xyz

unread,
Dec 24, 2009, 1:24:56 PM12/24/09
to
On Dec 22, 4:05 pm, Eddie Hartman <eddiehart...@gmail.com> wrote:
> The web service is returning a 401 error (auth problem)http://www.w3.org/Protocols/HTTP/HTRESP.html

Thanks a lot now i able to resolve this issue

0 new messages