Total newb here.

Ok, so I run WsGen and WsImport and get my web service working.  I have a web 
service that has a more complex argument list.  Instead of passing a String or 
such, I am passing a class I defined.  This class includes 2 arrays of simple 
classes (near-pojos) and some scalars.  (Why arrays? Because I coudln't use 
Maps in the previous version of the code where we were using axis2...)

In any event, the service stub to be used by the client expects to be passed 
the stub class generated by wsimport. But I don't want to use that class, as a 
user.  It's harder to build the data within.  My version has helper methods and 
other niceties in it.

So:
1. Is this just the way things are?
2. Is it ok to use Maps and such in the classes I pass to my web service?  That 
is, is this fully supported by wsgen and wsimport?  I don't want to hand-edit 
my wsdl file.

Thanks for any advice :-)




Reply via email to