views:

92

answers:

1

This is my first attempt at a simple web service, running in JBoss 4.3. I wrote a simple service that greets a user. I used wsdl2java to generate a client for it. Then I packaged the generated client in a war, along with a jsp page using the following code to access the client:

HelloService service = new HelloService();
Hello client = service.getHelloPort();
String result = client.sayHi("Bob");

When I first tried to deploy it, I got an error:

UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage

I believe that I corrected it by following some of the suggestions in this post: http://stackoverflow.com/questions/1738542/setproperty-must-be-overridden-by-all-subclasses-of-soapmessage

Now I am getting the following:

org.jboss.ws.WSException: Target endpoint address not set

Any ideas on what this could mean?

A: 

Nevermind, wsdl path was incorrect. Its working now.