You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Asaf Lahav <as...@primagrid.com> on 2006/02/15 14:38:42 UTC
axis JWS
Hi all,
How can I use the AXIS jws feature to produce a webservice from a class
which uses a type which is defined on another file?
e.g,
person.java (which references a type which is defined in address.java):
package somepackage.innerpackage;
public class Person {
private String name = null;
private Address address = null;
public Address getAddress() {
return address;
}
public void setAddress(Address address) {
this.address = address;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
Address.java:
package somepackage.innerpackage;
public class Address {
private String StreetName =null;
private String countryName = null;
public String getCountryName() {
return countryName;
}
public void setCountryName(String countryName) {
this.countryName = countryName;
}
public String getStreetName() {
return StreetName;
}
public void setStreetName(String streetName) {
StreetName = streetName;
}
}
Asaf Lahav
VP R&D, Prima Grid LTD.
Cellular: 972-54-4717955
Phone: 972-3-6540255
Fax: 972-3-6540254