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.