Hi all,

I'm trying to generate some classes for a third party web service but not
having much luck.  It appears that the WSDL is "invalid".  It's not
fantastically formed by the looks of things but I don't think it's invalid. 
Does anyone know if there's anyway I can disable the validation for this
WSDL?

The error message I am getting looks like the following:

Caused by: javax.wsdl.WSDLException: WSDLException (at /head):
faultCode=INVALID_WSDL: Expected element
'{http://schemas.xmlsoap.org/wsdl/}definitions'.
        at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at
org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:230)
        at
org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:179)
        at
org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:91)
        ... 104 more


(full stack trace if needed: 
http://old.nabble.com/file/p28780040/fullstacktrace.txt fullstacktrace.txt )

The WSDL I'm trying to parse can be seen at: 
https://www.parentknowhowdirectory.org.uk/isppsoap/deposit/?wsdl
https://www.parentknowhowdirectory.org.uk/isppsoap/deposit/?wsdl 

I unfortunately have no control over the WSDL's contents so I cannot change
it in anyway way so I need a way of getting a client to this service with
the WSDL as is.

Cheers for any help,

Lee

-- 
View this message in context: 
http://old.nabble.com/Validation---WSDL2Java-Generated-Classes-tp28780040p28780040.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to