You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ra...@jpmchase.com on 2005/08/14 13:30:13 UTC

Testing AddressBook webservice

Hello,

I ran WSDL2Java  and created AddressFetcher2   folder and then compiled 
all the classes in that folder then copied into Tomcat and succssfully 
deployed my AddressBook webservice..   I could see the AddressBook 
websevice if I go to  http://localhost:8080/axis/services


Now I am trying to run the Main.class to test my AddressBook web service 
and getting the following error

 Using proxy without session maintenance.
queries without session should say:  "ADDRESS NOT FOUND!")
>> Storing address for 'Purdue Boilermaker'
>> Querying address for 'Purdue Boilermaker'
>> Response is:
        [ADDRESS NOT FOUND!]
>> Querying address for 'Purdue Boilermaker' again
>> Response is:
        [ADDRESS NOT FOUND!]


Using proxy with session maintenance.
>> Storing address for 'Purdue Boilermaker'
>> Querying address for 'Purdue Boilermaker'
>> Response is:
        [ADDRESS NOT FOUND!]
>> Querying address for 'Purdue Boilermaker' again
>> Response is:
        [ADDRESS NOT FOUND!]
Exception in thread "main" java.lang.Exception: session test expected 
non-null r
esponse, got null
        at AddressFetcher2.Main.main(Main.java:117) 


Please help me fix this issue.

Thanks.

Raj