All,

 

I'm using tcpmon to debug issues with an Axis2 client.  I created a
local WSDL file and set the service URL to localhost:4040 where my
tcpmon is listening.

 

However, when I attempt to use this local WSDL, I get the following
error:

 

org.apache.axis2.AxisFault: The system cannot infer the transport
information from the InventoryService.wsdl URL.

      at
org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.j
ava:73)

      at
org.apache.axis2.client.OperationClient.prepareMessageContext(OperationC
lient.java:302)

      at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:174)

      at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)

      at
com.twinhill.clientadvisor.interfaces.clients.InventoryServiceStub.Ping(
InventoryServiceStub.java:1574)

      at
com.twinhill.clientadvisor.interfaces.clients.TestCAWebServices.main(Tes
tCAWebServices.java:32)

 

 

I am running in a directory where there is a file named
"InventoryService.wsdl".  Here's the Axis2 code to generate the client: 

 

            InventoryServiceStub stub = new
InventoryServiceStub("InventoryService.wsdl");

 

I've verified that the file can be seen in the local directory.  I've
also verified that the contents of the local WSDL file do not affect
this problem.

 

What gives?  Am I creating the stub object incorrectly?

 

Thanks,

Wes

 

Reply via email to