You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2016/08/20 08:59:23 UTC

[jira] [Commented] (AXIS2-5805) Axis2 InterfaceImplementation generated with jaxbri binding does not compile.

    [ https://issues.apache.org/jira/browse/AXIS2-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429293#comment-15429293 ] 

Andreas Veithen commented on AXIS2-5805:
----------------------------------------

Please attach the WSDL and provide the command you are using to generate the code.

> Axis2 InterfaceImplementation generated with jaxbri binding does not compile.
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-5805
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5805
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.7.3
>            Reporter: Jayesh Nageshkar
>
> jaxbri generates binding containing toOM method with 3 parameters as follows:
> private org.apache.axiom.om.OMElement toOM(
>         com.comcast.xml.commercialdocumentmanagement.services.GetFileByName param,
>         boolean optimizeContent, javax.xml.namespace.QName elementQName)
>         throws org.apache.axis2.AxisFault {
> However InterfaceImplementation generates method invocation with 2 parameters as follows:
> org.apache.axiom.om.OMElement omElementrequestHeader = toOM(requestHeader,
>                         optimizeContent(
>                             new javax.xml.namespace.QName(
>                                 "http://xml.comcast.com/commercialdocumentmanagement/services",
>                                 "getFileByName")));
> The result is InterfaceImplementation does not compile when we try to build client jar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org