you can use parameterOrder attribute at the operation level to define the parameter order
please see http://wso2.org/library/2935 thanks, Amla. On Fri, Jun 20, 2008 at 10:36 AM, keith chapman <[EMAIL PROTECTED]> wrote: > Hi, > > The *addAnonymousOperations() *method is declared in the Stub class > (org.apache.axis2.client.Stub) which is an abstract class that the generated > stubs extend. So If you generate a stub with 1.4 you will need to have 1.4 > jars on your client side. The generated code wont work with 1.3 jars. > > Thanks, > Keith. > > > On Fri, Jun 20, 2008 at 10:20 AM, pierre betz <[EMAIL PROTECTED]> wrote: > >> yes I will try, but, I have posted another mail some times ago about a >> problem in the generation of my java files with axis2 1.4 (I tried with the >> nightly, like one month ago). >> here is the mail I sent before, do you think it's fiexed or not ? >> >> >> >> >> >> Hi everyone, >> >> I'm using wsdl2java to create some web services. >> >> The creation of the stubs and skeletons was working with axis2 1.3, but I >> had some problems, like some OMElements/Objects[].. >> So I tried to use the axis2 1.4 nightly built, but I have another problem. >> >> In all my stubs, I have a "addAnonymousOperations()" method called, but >> declaraed and implemented nowhere. >> >> I saw in the JIRA that this is a bug from axis2.. but I just vould know if >> I can complete my code myself. In fact, I just can't use axis2 1.3 or axis2 >> 1.4 to deploy and create my webservices... >> >> If anyone as any ideas to corrige my code, I would thanks him a lot! >> >> _______________ >> >> here is the code generated by axis2 1.4 : >> >> >> private void populateAxisService() throws org.apache.axis2.AxisFault { >> >> //creating the Service with a unique name >> _service = new org.apache.axis2.description.AxisService("Country" + >> getUniqueSuffix()); >> * addAnonymousOperations(); *// here the function not declared >> anywhere >> >> //creating the operations >> org.apache.axis2.description.AxisOperation __operation; >> >> _operations = new org.apache.axis2.description.AxisOperation[4]; >> >> __operation = new >> org.apache.axis2.description.OutInAxisOperation(); >> >> >> Someone has an Idea ? like just deleting the line, or implementing the >> function somewhere (but I don't know the use of the function) ? >> >> > > > -- > Keith Chapman > Senior Software Engineer > WSO2 Inc. > Oxygenating the Web Service Platform. > http://wso2.org/ > > blog: http://www.keith-chapman.org > -- Amila Suriarachchi, WSO2 Inc.
