You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by heplists <he...@yahoo.com> on 2001/10/10 17:32:41 UTC
TRANS_URL? What is it used for......BUG?
I doing exactly what the examples say in the book for an RPC
type message. The only thing I have added is a HTTPAction
param using client.set().
I then call:
invoke ( nameSpace, methodName, RPCParams[] );
When doing some debuging....I keep getting a NullPointException
with regards to the msgContext.TRANS_URL?
My DEBUG Output:
msgContext.TransURL = transport.url
HTTPSender(100)--AXIS: targetURL = null
The exception I keep getting: What is the TRANS_URL param used for?
java.net.MalformedURLException: java.lang.NullPointerException
at java.net.URL.<init>(URL.java:496)
at java.net.URL.<init>(URL.java:376)
at java.net.URL.<init>(URL.java:330)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:101)
at org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:1
00)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:168)
at org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:711)
at org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:625)
at org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:543)
at com.thedig.test.soap.WebService.soapRPCCall(WebService.java:125
)
at com.thedig.test.soap.WebService.soapRPCCall(WebService.java:84)