Believe that i fixed the problem right after i posted the question.  header
should be set to false, not true.  If there's another way to obtain real arg
names please let me know.  Thanks...

Phil Gibbs wrote:
> 
> I've written a dynamic client that introspects a service wsdl.  The
> objective is to get the operation names that the service exposes, and then
> the operation argument names and data types.  This produces everything I
> need except that the client returns arg names that have defaulted to in0,
> in1 etc.  So, I annotated the service class and specified the
> AnnotationServiceFactory in the services.xml.  Now, when I try to get any
> operation parameters it returns none.  The new wsdl contains my real
> argument names.
> A typical annotation looks like this:
> @WebMethod(operationName="getOrderTypesForPeriod")
> @WebResult(name="OrderTypesForPeriod")
> public ArrayList <Order>
> getOrderTypesForPeriod(@WebParam(name="orderType", header="true") String
> orderType, @WebParam(name="periodStart", header="true") Date periodStart,
> @@WebParam(name="periodEnd", header="true") Date periodEnd) {
> ArrayList <Order> orders = new ArrayList();
> 
> rest of code then returns orders.
> The WSDL correctly contains the arg names as typed so where am I going
> wrong?
> Help greatly appreciated...
> 

-- 
View this message in context: 
http://www.nabble.com/Annotation-Problem-tf3188597.html#a8850953
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to