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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/12/28 13:34:44 UTC

[jira] Assigned: (AXIS2-3362) wsdl2java for JAXB binding generates uncompilable code

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

Amila Chinthaka Suriarachchi reassigned AXIS2-3362:
---------------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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