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 "Mitesh (JIRA)" <ji...@apache.org> on 2010/10/11 05:44:31 UTC

[jira] Updated: (AXIS2-4846) wrong WSDL generated

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

Mitesh updated AXIS2-4846:
--------------------------

    Attachment: RegionalWorkService.wsdl
                MwiWork.java
                RegionalWorkService.java

Please refer to these respective files.

> wrong WSDL generated
> --------------------
>
>                 Key: AXIS2-4846
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4846
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, codegen, databinding, ide plugins
>    Affects Versions: 1.5.2
>         Environment: Win XP, Apache Axis2 1.5.2
>            Reporter: Mitesh
>         Attachments: MwiWork.java, RegionalWorkService.java, RegionalWorkService.wsdl
>
>
> Hi 
> I have attached one of the data class used on my service as a return type. When i generate WSDL using java2WSDL as well as with eclipse plugin tool of codegen, it is unnecessary appending extra element as shown below.
> <xs:element minOccurs="0" name="ttlgCode" nillable="true" type="xs:string"/>
> This element is not at all there in my class and when i deploy and call service it is causing error with an exception:
> org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: can not find read method for : ttlgCode
> I have attahed the wsdl generated, and the java file also. I feel this is bug. If not can you please let me know how to solve this?

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org