webservice [message #203143] |
Fri, 26 October 2007 14:44 |
Eclipse User |
|
|
|
Originally posted by: xdzgor.hotmail.com
Hi - in general is it possible to return a "custom type" from a java
webservice? I mean for example a simple class such as
public class MyClass {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
I have not been able to get this to work using Axis2 - my client which is
a c# application always recieves a MyClass object with a null name. If I
simply return a String from my web-service method then that works fine.
Are there any general pitfalls with writing webservices in java? (I have
written several with Visual Studio c#, and this is easy - you click on the
"make webservice project" button...)
Thanks,
Peter
|
|
|
|
Powered by
FUDForum. Page generated in 0.03747 seconds