[ 
https://issues.apache.org/jira/browse/CXF-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deboschère Tony updated CXF-2235:
---------------------------------

    Description: 
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


  was:
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



> 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
>         Attachments: 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.

Reply via email to