axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "heplists" <hepli...@yahoo.com>
Subject TRANS_URL? What is it used for......BUG?
Date Wed, 10 Oct 2001 15:32:41 GMT
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)



Mime
View raw message