I recently faced a strange error when integrating our webservice with webMethods.
In our WSDL we had a new element name= Culprit_Owner type="xsd:int" .... defined.
In the unit testing, when we tested the webservice with SOAP UI client, it was working very fine.
We faced this problem only at the time of Integration testing.
We were getting the error,
Failed to parse source:Failed to find read method or field for property 'culprit_Owner' in class...
I guess webMethods was treating the column as culprit_Owner instead of Culprit_owner and it was not finding the proper GETTER method.
I resolved the issue by changing the WSDL element name from Culprit_Owner to culpritOwner
and off course rengenerating the GETTER and SETTERS.
No comments:
Post a Comment