Bad types

When I try to run the webMethods webService connector, I got an error like this :
org.xml.sax.SAXException: Bad types (class java.lang.String → class java.util.HashMap)

Why this happened?



Hard to know without looking at the WSDL. I’m guessing that one of the operations in the service defifned by the WSDL accepts or returns a java.util.HashMap object and IS does not know how to represent that on the wire in XML format (deserialize it).

Post your WSDL as an attachment or, if its not too big, post it in a reply message [highligh]enclosed in a “code” tag[/highlight]. Use the Advanced editor to see more formatting options like the code tag (shown as a # icon).