Hi,

Can someone please tell me what's the difference between below two scenarios:

1) Invoking a remote web service running on WebSphere Application Server 7.? from the Web Services Explorer tool in RAD6.

2) Invoking the same web service from a test client generated by the tooling in RAD6 (server runtime WAS6).

When I use the Web Services Explorer everything is fine. I can reach the service and get a proper response.

However, when I use the latter I get an exception as shown below. I get the exception when calling from the test client on my machine and I also get the error when calling from a web application deployed on a remote WAS6 server. There is no proxy involved.

I have the WSDL which has a correct location.
   
   
     
   
 
The IP address is a private IP on a local network.

I also double checked the generated code to be sure that it had the correct location.
    // Use to get a proxy class for SRV008_CprLookup_WS_Export_SRV008_CprLookupHttpPort
    private final java.lang.String SRV008_CprLookup_WS_Export_SRV008_CprLookupHttpPort_address = "http://10.161.2.68:9080/SRV008_CprLookupWeb/sca/SRV008_CprLookup_WS_Export";

I tried to use WireShark to monitor the traffic. Using the Web Services Explorer there is traffic and the protocol mentioned is TCP.
The traffic I see when I get the exception is different because this time the protocol is NBNS which I don't know of.

I suppose the problem is some kind of configuration issue but I have absolutely no clue as to what it might be. Is it a WAS6 thing?

The faultactor (WKS-L-UDV001.fya.dk) mentioned below is my local machine for some reason. It seems as if it tries to find the service on my machine instead of the remote server.


Thanks in advance,
Lars

[01-04-11 09:31:58:428 CEST] 0000004d enterprise    I   WSWS3243I: Info: Mapping Exception to WebServicesFault.
[01-04-11 09:31:58:490 CEST] 0000004d enterprise    I   TRAS0014I: The following exception was logged WebServicesFault
 faultCode: HTTP
 faultString: ( 404 ) Not Found
 faultActor: http://WKS-L-UDV001.fya.dk:9080
 faultDetail:
    null: WSWS3192E: Error: return code:  ( 404 ) Not Found
Error 404: SRVE0190E: File not found: /SRV008_CprLookupWeb/sca/SRV008_CprLookup_WS_Export
.

( 404 ) Not Found
    at com.ibm.ws.webservices.engine.transport.http.HTTPSender.processStatusCode(HTTPSender.java:546)
    at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:463)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218)
    at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:274)
    at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:727)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:648)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:609)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:446)
    at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:732)
    at dk.rsd.ip.SRV008_CprLookup_WS_Export_SRV008_CprLookupHttpBindingStub.cprLookup(SRV008_CprLookup_WS_Export_SRV008_CprLookupHttpBindingStub.java:102)
    at dk.rsd.ip.SRV008_CprLookupProxy.cprLookup(SRV008_CprLookupProxy.java:65)
    at com.ibm._jsp._Result._jspService(_Result.java:243)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
.
                                 WebServicesFault
 faultCode: HTTP
 faultString: ( 404 ) Not Found
 faultActor: http://WKS-L-UDV001.fya.dk:9080
 faultDetail:
    null: WSWS3192E: Error: return code:  ( 404 ) Not Found
Error 404: SRVE0190E: File not found: /SRV008_CprLookupWeb/sca/SRV008_CprLookup_WS_Export
.

( 404 ) Not Found
    at com.ibm.ws.webservices.engine.transport.http.HTTPSender.processStatusCode(HTTPSender.java:546)
    at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:463)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218)
    at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:274)
    at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:727)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:648)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:609)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:446)
    at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:732)
    at dk.rsd.ip.SRV008_CprLookup_WS_Export_SRV008_CprLookupHttpBindingStub.cprLookup(SRV008_CprLookup_WS_Export_SRV008_CprLookupHttpBindingStub.java:102)
    at dk.rsd.ip.SRV008_CprLookupProxy.cprLookup(SRV008_CprLookupProxy.java:65)
    at com.ibm._jsp._Result._jspService(_Result.java:243)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)