Re: complex types
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone, I am trying to do the same thing that luca tried and I've received the same message error. What can we do ? Cheers, Mauro Monteiro. Citando Luca Baldi <[email protected]>: > When I try to run > > > > Definition def = WSIFUtils.readWSDL(null,wsdl); > > > > ...... > > > > WSIFServiceFactory factory = WSIFServiceFactory.newInstance(); > > > > WSIFService service = factory.getService(def, serviceWsdl, > portTypeWsdl); > > > > If the wsl file contains complex types, I get > > > > java.lang.ClassCastException > > at org.apache.wsif.compiler.util.Utils.addAllTypesElements(Unknown > Source) > > at org.apache.wsif.compiler.util.Utils.getAllTypesElements(Unknown > Source) > > at > org.apache.wsif.base.WSIFServiceImpl.getDefaultTypeMappings(Unknown > Source) > > at org.apache.wsif.base.WSIFServiceImpl.getAllCustomTypes(Unknown > Source) > > at org.apache.wsif.base.WSIFServiceImpl.init(Unknown Source) > > at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source) > > at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown > Source) > > > > any idea ?? > > thanks > > > > luca > > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.