axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asaf Lahav <asaf.la...@primagrid.com>
Subject axis JWS
Date Wed, 15 Feb 2006 13:38:42 GMT
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



 


Mime
View raw message