Do you need to specify https now instead of just http?
This is a discussion on Error 404: SRVE0190E: File not found: when WS-security is configured - Websphere ; I have a java bean exposed as a web service using Rational Application Developer 6. I generate a proxy and test client from the bean and can use the generated test client jsp to access the web service. However, if ...
I have a java bean exposed as a web service using Rational Application
Developer 6.
I generate a proxy and test client from the bean and can use the
generated test client jsp to access the web service.
However, if I then configure WS-security for the client and server using
rational and use digital signature, when I use the test client I now ge
the following exception. ...
WebServicesFault
faultCode: HTTP
faultString: ( 404 ) Not Found
faultActor: http://r029119:9080
faultDetail:
null: WSWS3192E: Error: return code: ( 404 ) Not Found
Error 404: SRVE0190E: File not found: /services/Wss006
..
( 404 ) Not Found
at
com.ibm.ws.webservices.engine.transport.http.HTTPS ender.processStatusCode(HTTPSender.java:546)
at
com.ibm.ws.webservices.engine.transport.http.HTTPS ender.invoke(HTTPSender.java:463)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:218)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:218)
at
com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:274)
at
com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection.java:727)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:648)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:609)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:446)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.i nvoke(Stub.java:732)
at
com.ibm.mqst.broker.miwssoap.wss006.Wss006SoapBind ingStub.timesTen(Wss006SoapBindingStub.java:224)
at
com.ibm.mqst.broker.miwssoap.wss006.Wss006Proxy.ti mesTen(Wss006Proxy.java:76)
at com.ibm._jsp._Result._jspService(_Result.java:170)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1212)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:629)
at
com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java:11 7)
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava:171)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:80)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1657)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:77)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:421)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:367)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:94)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java:548)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java:601)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:934)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
[18/05/07 20:48:36:922 BST] 00000047 WSChannelFram A CHFW0020I: The
Transport Channel Service has stopped the Chain labeled chain_0.
All I have changed is the WS-security configuration.. so why is it
giving 404? If my configuartion was incorrect I would expect somde other
exception.
Any thoughts on what could be wrong
Tony Glombek
Do you need to specify https now instead of just http?
joemayo@us.ibm.com wrote:
> Do you need to specify https now instead of just http?
ws-security is message level; it has nothing to do with transport security.
Could you open up the web deployment descriptor for the web-module that contains the webservice and
make sure that the servlet corresponding to your webservice is configured correctly.
Gut feeling is that a url-mapping for services/Wss006 had not been associated with that servlet --
hence the 404.
i.e. for your servlet there should be a section that looks somewhat like this in your web.xml file.
YourWebServiceServletId
services/Wss006
HTH.
Cheers,
Vinod
Tony Glombek wrote:
> I have a java bean exposed as a web service using Rational Application
> Developer 6.
> I generate a proxy and test client from the bean and can use the
> generated test client jsp to access the web service.
> However, if I then configure WS-security for the client and server using
> rational and use digital signature, when I use the test client I now ge
> the following exception. ...
>
> WebServicesFault
> faultCode: HTTP
> faultString: ( 404 ) Not Found
> faultActor: http://r029119:9080
> faultDetail:
> null: WSWS3192E: Error: return code: ( 404 ) Not Found
> Error 404: SRVE0190E: File not found: /services/Wss006
> .
>
> ( 404 ) Not Found
> at
> com.ibm.ws.webservices.engine.transport.http.HTTPS ender.processStatusCode(HTTPSender.java:546)
>
> at
> com.ibm.ws.webservices.engine.transport.http.HTTPS ender.invoke(HTTPSender.java:463)
>
> at
> com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:218)
>
> at
> com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:218)
>
> at
> com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:274)
>
> at
> com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection.java:727)
>
> at
> com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:648)
> at
> com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:609)
> at
> com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:446)
> at
> com.ibm.ws.webservices.engine.client.Stub$Invoke.i nvoke(Stub.java:732)
> at
> com.ibm.mqst.broker.miwssoap.wss006.Wss006SoapBind ingStub.timesTen(Wss006SoapBindingStub.java:224)
>
> at
> com.ibm.mqst.broker.miwssoap.wss006.Wss006Proxy.ti mesTen(Wss006Proxy.java:76)
>
> at com.ibm._jsp._Result._jspService(_Result.java:170)
> at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:88)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1212)
>
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:629)
>
> at
> com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java:11 7)
>
> at
> com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava:171)
>
> at
> com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:80)
>
> at
> com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1657)
> at
> com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:77)
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:421)
>
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:367)
>
> at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:94)
>
> at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java:548)
>
> at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java:601)
>
> at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:934)
>
> at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1021)
>
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled
> Code))
>
> [18/05/07 20:48:36:922 BST] 00000047 WSChannelFram A CHFW0020I: The
> Transport Channel Service has stopped the Chain labeled chain_0.
>
>
>
> All I have changed is the WS-security configuration.. so why is it
> giving 404? If my configuartion was incorrect I would expect somde other
> exception.
>
> Any thoughts on what could be wrong
>
> Tony Glombek
On May 21, 6:44 pm, Vinod Jessaniwrote:
> Could you open up the web deployment descriptor for the web-module that contains the webservice and
> make sure that the servlet corresponding to your webservice is configuredcorrectly.
>
> Gut feeling is that a url-mapping for services/Wss006 hadnotbeen associated with that servlet --
> hence the404.
> i.e. for your servlet there should be a section that looks somewhat like this in your web.xml file.
>
>YourWebServiceServletId
>services/Wss006
>
>
> HTH.
>
> Cheers,
> Vinod
>
>
>
> Tony Glombek wrote:
> > I have a java bean exposed as a web service using Rational Application
> > Developer 6.
> > I generate a proxy and test client from the bean and can use the
> > generated test client jsp to access the web service.
> > However, if I then configure WS-security for the client and server using
> > rational and use digital signature, when I use the test client I now ge
> > the following exception. ...
>
> > WebServicesFault
> > faultCode: HTTP
> > faultString: (404)NotFound
> > faultActor:http://r029119:9080
> > faultDetail:
> > null:WSWS3192E:Error:returncode: (404)NotFound
> >Error404: SRVE0190E: Filenotfound: /services/Wss006
> > .
>
> > (404)NotFound
> > at
> > com.ibm.ws.webservices.engine.transport.http.HTTPS ender.processStatusCode(H*TTPSender.java:546)
>
> > at
> > com.ibm.ws.webservices.engine.transport.http.HTTPS ender.invoke(HTTPSender.j*ava:463)
>
> > at
> > com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrappe*r.java:218)
>
> > at
> > com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrappe*r.java:218)
>
> > at
> > com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.ja*va:274)
>
> > at
> > com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection..jav*a:727)
>
> > at
> > com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:648)
> > at
> > com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:609)
> > at
> > com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:446)
> > at
> > com.ibm.ws.webservices.engine.client.Stub$Invoke.i nvoke(Stub.java:732)
> > at
> > com.ibm.mqst.broker.miwssoap.wss006.Wss006SoapBind ingStub.timesTen(Wss006So*apBindingStub.java:224)
>
> > at
> > com.ibm.mqst.broker.miwssoap.wss006.Wss006Proxy.ti mesTen(Wss006Proxy.java:7*6)
>
> > at com.ibm._jsp._Result._jspService(_Result.java:170)
> > at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:88)
> > at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
> > at
> > com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:*1212)
>
> > at
> > com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper*.java:629)
>
> > at
> > com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(Gene*ricServletWrapper.java:1 17)
>
> > at
> > com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSP*ExtensionServletWrapper. java:171)
>
> > at
> > com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServ*letWrapper.java:80)
>
> > at
> > com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1657)
> > at
> > com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:77)
> > at
> > com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(H*ttpInboundLink.java:421)
>
> > at
> > com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(H*ttpInboundLink.java:367)
>
> > at
> > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLRe*adCallback.java:94)
>
> > at
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManag*er.java:548)
>
> > at
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager..jav*a:601)
>
> > at
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager..jav*a:934)
>
> > at
> > com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.ja*va:1021)
>
> > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled
> >Code))
>
> > [18/05/07 20:48:36:922 BST] 00000047 WSChannelFram A CHFW0020I: The
> > Transport Channel Service has stopped the Chain labeled chain_0.
>
> > All I have changed is the WS-security configuration.. so why is it
> > giving404? If my configuartion was incorrect I would expect somde other
> > exception.
>
> > Any thoughts on what could be wrong
>
> > Tony Glombek- Hide quoted text -
>
> - Show quoted text -
Hi Tony
I am getting the same error that u got when invoking webservice
through java client. Can u please share the resolution to this error.
Thanks in advance.
Tushar
Hello, I am getting the same exeption exactly, any idea how to fix this thing? it is really a pain