[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] webservice
|
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