axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Hamann (JIRA) <j...@apache.org>
Subject [jira] Created: (AXIS2-2862) compiler error in generated MessageReceiverInOut
Date Tue, 26 Jun 2007 14:14:25 GMT
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


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message