[ http://issues.apache.org/jira/browse/AXIS2-1030?page=all ]

Fabian Christ updated AXIS2-1030:
---------------------------------

    Attachment: ConverterUtil.java.patch

Hi,

here is a patch for org.apache.axis2.databinding.utils.ConverterUtil.

It defines 3 new convert methods:

convertToBigInteger(String) calls convertToInteger(String)
convertToDataHandler(String) calls convertToBase64Binary(String)
convertToId(String) calls convertToID(String)

I don´t know if this is the right patch for the basic problem but it works for 
me. Perhaps the code generation should be modified that the 3 methods above 
aren´t used anymore.

- Fabian

> WSDL2Java ADB code gen - wrong use of ConverterUtil
> ---------------------------------------------------
>
>                 Key: AXIS2-1030
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1030
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>            Reporter: Fabian Christ
>         Attachments: ConverterUtil.java.patch, sts.zip
>
>
> Hi,
> the code produced by WSDL2Java with -ss -sd -d adb from the attached WSDL  
> won´t compile. (To generate code you need the fix from ASIX2-1029) The 
> generated code uses calls like:
> org.apache.axis2.databinding.utils.ConverterUtil.convertToBigInteger(...)
> org.apache.axis2.databinding.utils.ConverterUtil.convertToDataHandler(...)
> org.apache.axis2.databinding.utils.ConverterUtil.convertToId(...)
> org.apache.axis2.databinding.utils.ConverterUtil.convertToOMAttribute(...)
> But those methods aren´t defined for ConverterUtil.
> - Fabian

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to