[ https://issues.apache.org/jira/browse/AXIS2-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mitesh updated AXIS2-4846: -------------------------- Description: 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? btw, if i take out ttlgCode from the java file then some other elements cause similar error. Regards, Mitesh was: 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? > 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? > btw, if i take out ttlgCode from the java file then some other elements cause > similar error. > Regards, > Mitesh -- 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org