axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Rossi <>
Subject return null Object
Date Thu, 21 Oct 2004 08:07:17 GMT
I try to create a ws with axis and Tomcat 4.
I want that my ws return a simple object, something like this:

Class SimpleObject{
	private String name;

	public String getName(){
		return name;

public void setName(String name){ = name;

My start class looks like:

Class SimpleWS{
	public SimpleObject testWS(){
		SimpleObject so = new SimpleObject();

		return so;

When I try to test my client, I fetch a null object (SimpleObject ==
null), but if I try to return a simple type (i.e. a String field) it

Thanks in advance,

View raw message