RE: java.lang.ClassCastException: com.ibm.wsdl.extensions.schema.SchemaImpl
<[email protected]> Thu, 28 Sep 2006 16:54:27 +0530
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Varun, I would suggest you to first check if you are having different versions of WSDL4J in the classpath. If that is the case, a different version of SchemaImpl class would have got loaded. Regards Gnanaprakash ________________________________ From: Varun G [mailto:[email protected]] Sent: Thursday, September 28, 2006 3:50 PM To: [email protected] Subject: java.lang.ClassCastException: com.ibm.wsdl.extensions.schema.SchemaImpl Hi, I'm trying to parse wsdl files - with complex types. I'm using wsif 2.0 to do this. my code stalls at this line line30 - Parser.getTypeMappings(def, table); and I get this exception java.lang.ClassCastException: com.ibm.wsdl.extensions.schema.SchemaImpl at org.apache.wsif.schema.Parser.getTypesSchemas(Unknown Source) at org.apache.wsif.schema.Parser.getTypeMappings(Unknown Source) at org.apache.wsif.schema.Parser.getTypeMappings(Unknown Source) at Dependency.main(Dependency.java:30) Any ideas on how to solve this? Any help would be really appreciated. I dont know what the problem is. Varun The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com