Hi,
I have generated WSDL for a service in webMethods 6.1 which has
Request ----->>
<xsd:complexType name=“__GetHandsetManufacturerRequest2”>
xsd:sequence
<xsd:element name=“Header” type=“tns:__Header”/>
<xsd:element name=“Message” type=“tns:__Message”/>
</xsd:sequence>
</xsd:complexType>
Response---->>
<xsd:complexType name=“__GetHandsetManufacturerResponse2”>
xsd:sequence
<xsd:element name=“Header” type=“tns:__Header2”/>
<xsd:element name=“Message” type=“tns:__Message2”/>
</xsd:sequence>
</xsd:complexType>
----------->>>
But when i generate soap request using axis 1.2
following error occurs
java.lang.IllegalArgumentException: argument type mismatch
Reason being when conversion happens from xml to Java, it is not able to convert from __Header to __Header2. So we are getting “argument type mismatch” error.
webMethods send the following response
webMethods CSPortal 2007-05-08 11:44:07Can anybody let me know why this error. It appears this is generic thing in webMethods. It has never ocurred.
Thanks,
KK