couple of comments.

[EMAIL PROTECTED] wrote:
> 
> 
> 
> 8. Now I took the same wsdl file as if I am a client and have no
> whereabouts of the webservice. Now I want to write a servlet in my
> webapp, one in my world, who knows nothing of the above. First I
> generated only the client code using the WSDL2Java commandline tool and
> this wsdl file. Yes, I am writing an axis2 client. This created just one
> My*Stub.java. All other required classes are created as inner classes.
> How can I make the tool create separate java files rather than all these
> inner classes?

Did u try -u option, whilst calling wsdl2java?

> 10. When you are returning an object, then make sure to populate all the
> fields of the object. 

This is only if your fields are non-nillable. You could have easily
avoided populating all the fields by making the optional ones marked as
nilable in your schema.

-- Chinthaka

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to