axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayesh Nageshkar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5805) Axis2 InterfaceImplementation generated with jaxbri binding does not compile.
Date Sun, 21 Aug 2016 14:23:21 GMT

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

Jayesh Nageshkar updated AXIS2-5805:
------------------------------------
    Attachment: DocumentManagementService.wsdl

WSDL I used to generate code.

Following command was used:
axis2-1.7.3-bin\bin\wsdl2java.bat -S src -R src -o bin -s -d jaxbri -uri DocumentManagementService.wsdl

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


Mime
View raw message