complex types

"Luca Baldi" <[email protected]>
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <ABC231AADE3CE44495F858C2A77825191527F9@MANEXCHANGE.i-documentsystems.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.