I believe it should be in the order of the parameters on the method.

As far as I’m aware, we haven’t done anything to change this as this is part of 
the JAX-WS spec.  I’m not sure why it would have not been that way for you.

Dan


On Nov 26, 2013, at 5:45 PM, unicyco <[email protected]> wrote:

> Does anyone know which ordering of wsdl method parameters is "correct"?
> 
> 
> unicyco wrote
>> I run a JAX-WS java-first web service.  When I stepped up from an old
>> Servicemix release to Karaf 2.3.1 with CXF 2.7.6, I noticed that the
>> ordering of the parameters in the generated wsdl changed from the order in
>> which they were declared to an alphabetical ordering.  Given this change,
>> I had to regenerate our Flex web service code for the changed wsdl's
>> because otherwise the Flex code sent the parameters in the wrong order,
>> causing them to be mis-interpreted.
>> 
>> Now, after updating to Karaf 2.3.3 and CXF 2.7.7, it seems to have
>> returned to generating a wsdl with parameters in the order which they were
>> declared in the Java interface.  I don't care which way it is, as long as
>> it doesn't change!!
>> 
>> So, was the alphabetical ordering a "bug" or was the return to
>> declaration-based ordering a "regression"?  Are there plans to change the
>> ordering in the future?
>> 
>> Thanks!
>> 
>> Joseph
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Ordering-of-wsdl-method-parameters-changed-for-java-first-services-tp5736502p5737082.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to