Skip to main content

Complextype return value from webservice , no response

No replies
mrbasf
Offline
Joined: 2010-01-10
Points: 0

Hi

I am trying to develop a web service that returns an object defined in another project.

public simpleObject sayHelloToSimpleObject()

{
simpleObject so = new simpleObject();

so.name = "Hello";

return so;
}

When I run this in Eclipse under the debugger everything seems to be fine , but the response is empty , when using the Web Service Explorer.

if I move simpleObject into the same project as the webservice itself , everything runs fine.

I know I am probably missing something totally obvious , but I need a hand :)

Running with tomcat 6.0 server.