I am not sure if Axis would expose these two FIELDs within Web
Service. But why don't you declare them as properties with getter and
setter method? I believe it could work.
> I've created a class with two public properties of type string
> (example below). I've created a method in my web service which
[quoted text clipped - 125 lines]
>
> </wsdl:definitions>
jeremy - 12 Mar 2007 17:13 GMT
I didn't know you could do properties in java. how?
> I am not sure if Axis would expose these two FIELDs within Web
> Service. But why don't you declare them as properties with getter and
[quoted text clipped - 131 lines]
>
> - Show quoted text -
jeremy - 12 Mar 2007 23:18 GMT
Ok, I changed the class to use the get and set methods, but I'm still
having the same problem
public class WorkGroup implements java.io.Serializable
{
static final long serialVersionUID = 1;
private String strName_m;
private String strSearchCode_m;
public WorkGroup()
{
}
public WorkGroup(IWorkGroup pWorkGroup)
{
this.Name = pWorkGroup.getName();
this.SearchCode = pWorkGroup.getSearchcode();
}
public String getName()
{
return strName_m;
}
public void setName(String strName)
{
strName_m = strName;
}
public String getSearchCode()
{
return strSearchCode_m;
}
public void setSearchCode(String strSearchCode)
{
strSearchCode_m = strSearchCode;
}
}
> I am not sure ifAxiswould expose these two FIELDs withinWebService. But why don't you declare them as properties with getter and
> setter method? I believe it could work.
[quoted text clipped - 130 lines]
>
> - Show quoted text -