I need to pass a variable number of different objs... I also tried to pass a Vector of Integer (for an example) but axis2 doesn't know how resolve it and it gives me a xs:any ... I tried also to pass one my class, called Vettore (with an array of Object or a Vector) but when I generate the stub, it contains an its Vettore, different from mine... I can't explain better... Thank you for your attention!
Kay* 2007/2/28, Deepal Jayasinghe <[EMAIL PROTECTED]>:
Hi ; I am talking about smt like below; public Address[] compute(Man [] data){ //... } Do not use just Object ,use the actual type you want to use. Thanks Deepal Kay* wrote: > Thank you for your answer, but I don't understand .... can you please > do an example?Do you mean that I have to change parameters ? > Thank you very very much!!! > > Kay* > > 2007/2/27, Deepal Jayasinghe < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Hi ; > > When you have a method which take Object then there is no way to find > out the type of that object. That is why it generates WSDL with > xsd:any. > To solve that U need to write the method to take the method with > correct > Object type (String [] or what ever). > > Thanks > Deepal > > Kay* wrote: > > > Hello! (Sorry for my bad English...) > > My problem is that my service is like this: > > > > > > public Object[] compute(Object[] data){ > > //... > > } > > > > and MyServiceStub.Compute has > setParam0(org.apache.axiom.om.OMElement > > [] param) and get_return returns an OMElement[]... > > I don't know how to create an OMElement within Object[] ...and > viceversa. > > > > Please, can you help me ? > > > > Thank you very much!!! > > > > Kay* > > > -- > Thanks, > Deepal > ................................................................ > "The highest tower is built one brick at a time" > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]