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

Björn Hamann updated AXIS2-2862:
--------------------------------

    Attachment: test.wsdl

the wsdl to reproduce the error

> compiler error in generated MessageReceiverInOut
> ------------------------------------------------
>
>                 Key: AXIS2-2862
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2862
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Björn Hamann
>         Attachments: test.wsdl
>
>
> After generating the source with wsdl2java I am getting compiler errors in 
> the generated class ..MessageReceiverInOut. This error only occurs when using 
> jaxbri as databinding.
> The error is as follows:
> TestMessageReceiverInOut.java:[68,24] cannot find symbol
> symbol  : method toOM(com.example.xsd.TechnicalWebserviceServerFault,boolean)
> location: class TestMessageReceiverInOut
> The problem is that the call of the method toOm with two parameters does not 
> match the signature of the method toOM wich has three parameters.
> // wrong method call
> f.setDetail(toOM(e.getFaultMessage(),false));
> // method signature
> private org.apache.axiom.om.OMElement 
> toOM(com.example.xsd.TechnicalWebserviceServerFault param, 
> org.apache.axiom.soap.SOAPFactory factory, boolean optimizeContent)
> The problem occurs when trying to add a wsdl:fault to the wsdl file.
> I will upload the wsdl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to