[ https://issues.apache.org/jira/browse/CXF-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2235. ------------------------------ Resolution: Fixed Fix Version/s: 2.2.2 Assignee: Daniel Kulp This was fixed in 2.2.2. You can use -autoNameResolution flag to wsdl2java to resolve all the param name conflicts or spend a lot of time with customizations. > WSDL2JAVA fail to create the good java method - missing one argument > --------------------------------------------------------------------- > > Key: CXF-2235 > URL: https://issues.apache.org/jira/browse/CXF-2235 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.2.1 > Environment: ECLIPSE 3.4 > CXF 2.2.1 > MAVEN PLUGIN : cxf-codegen-plugin 2.1.4 > JAVA 5 > Windows operating system > Reporter: Deboschère Tony > Assignee: Daniel Kulp > Fix For: 2.2.2 > > Attachments: binding.zip, syncTest.wsdl > > > Hi. > When I try to generate the java client with wsdl2java. > I have a missing parameter. > here are excerpt for my wsdl : > I have this operation in the portType section > <operation name="JobSubmit"> > <input message="xoa:JobSubmitRequest"/> > <output message="xoa:JobSubmitResult"/> > </operation> > And here is the 2 message : > <message name="JobSubmitRequest"> > <part element="xoa:JobSubmitRequest" name="parameter"/> > <part element="xoa:Request" name="request_header"/> > </message> > <message name="JobSubmitResult"> > <part element="xoa:JobSubmitResult" name="parameter"/> > <part element="xoa:Response" name="response_header"/> > </message> > As you can see both message have a 'part' named 'parameter' > I think that it's the source of the problem. > But I have no option for modifying the wsdl. > I think jaxb binding could be a solution but I can't get jaxb binding to work > properly (see https://issues.apache.org/jira/browse/CXF-2225 ) > by the way I think that it's still a bug for CXF plugin didn't give me an > error or something. > Regards. > Tony -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.