Yes, you will need to use the Test object to pass parameters. The order depends on your constructor - with Axis version changes we have had order of parameters change before. I would recommend you use empty constructor and use get/set methods for parameters.
Rachana > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of BRACHET Maxime > Sent: Tuesday, May 13, 2008 2:31 AM > To: [email protected] > Subject: Re: [gt-user] multiple parameters > > I found out : > I need to use : > > something.test(new Test(a,b,c)); > > but it seems that the order of a,b and c change during the server > construction using globus-build-service.sh . > I dont think it is normal. Can somebody confirm ? > > Thanks, > Maxime. > > 2008/5/13 BRACHET Maxime <[EMAIL PROTECTED]>: > > Hi, > > > > I'm trying to do my own web service using Globus Programmer > Tutorial, but I > > have a problem. > > > > I defined a method : > > public TestResponse test(String a, String b, int c). > > > > I declared in the wsdl : > > <xsd:element name="test"> > > <xsd:complexType> > > <xsd:sequence> > > <xsd:element name="a" type="xsd:string"/> > > <xsd:element name="b" type="xsd:string"/> > > <xsd:element name="c" type="xsd:int"/> > > </xsd:sequence> > > </xsd:complexType> > > </xsd:element> > > > > but when I compile the client he said me that test cannot > be used with > > (java.lang.String,java.lang.String,int) > > > > does the multiple parameters put in only one or my wsdl > definition is wrong > > ? > > > > Thanks. > > > > Regards, > > Maxime. > > > >
