axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3362) wsdl2java for JAXB binding generates uncompilable code
Date Wed, 12 Mar 2008 18:46:46 GMT

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

Davanum Srinivas commented on AXIS2-3362:
-----------------------------------------

Looks like this is fixed already in latest svn.

> wsdl2java for JAXB binding generates uncompilable code
> ------------------------------------------------------
>
>                 Key: AXIS2-3362
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3362
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3, nightly
>         Environment: JDK5, JAXB-RI 2
>            Reporter: Martin Caslavsky
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: test.wsdl
>
>
> For method with single primitive parameter (int, long,...) wsdl2java for JAXB binding
generates uncompilable code in *MessageReceiverInOut.invokeBusinessLogic(MessageContext, MessageContext):
"Cannot cast from Object to int":
>                 if ("NewOperation".equals(methodName)) {
>                     int newOperationResponse1 = 0;
>                     int wrappedParam = (int) fromOM(msgContext.getEnvelope()
>                                                               .getBody()
>                                                               .getFirstElement(),
>                             int.class,
>                             getEnvelopeNamespaces(msgContext.getEnvelope()));
> (ADB works OK)

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