I'm trying to define an http soap endpoint, but there is a problem parsing
the WSDL file.  Can anybody help, please?

The log shows:

2007-08-21 14:10:14,919 :WARN  :[Timer-3    ]:           
servicemix.http.HttpComponent:     : Could not create document from wsdl
description
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem
parsing '- WSDL Document -'.: org.xml.sax.SAXParseException: The value of
the attribute "prefix="xmlns",localpart="tns",rawname="xmlns:tns"" is
invalid. Prefixed namespace bindings may not be empty.
        at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
        at 
org.apache.servicemix.soap.SoapEndpoint.loadWsdl(SoapEndpoint.java:246)
        at 
org.apache.servicemix.soap.SoapEndpoint.activate(SoapEndpoint.java:339)
        at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
        at
org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
        at
org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
        at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
        at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: org.xml.sax.SAXParseException: The value of the attribute
"prefix="xmlns",localpart="tns",rawname="xmlns:tns"" is invalid. Prefixed
namespace bindings may not be empty.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        ... 15 more
2007-08-21 14:10:14,919 :WARN  :[Timer-3    ]:           
servicemix.http.HttpComponent:     : Could not map wsdl definition to
documents

The error refers to xmlns:tns, yet that doesn't appear in the WSDL file
(attached).  

http://www.nabble.com/file/p12254643/main.wsdl main.wsdl 

-- 
View this message in context: 
http://www.nabble.com/SAXParseException-parsing-WSDL-file-tf4305188s12049.html#a12254643
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to