com.ctc.wstx.exc.WstxParsingException occurs when viewing wsdl of a CSV data 
service if default namespace is blank
------------------------------------------------------------------------------------------------------------------

                 Key: WSAS-760
                 URL: https://wso2.org/jira/browse/WSAS-760
             Project: WSO2 WSAS
          Issue Type: Bug
          Components: data-services
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Assignee: sumedha rubasinghe
             Fix For: Nightly


Following exception thrown when trying to view the wsdl of a CSV data service 
if default name space is kept blank in the DS configuration.

org.apache.axis2.dataretrieval.DataRetrievalException: 
com.ctc.wstx.exc.WstxParsingException: Non-default namespace can not map to 
empty URI (as per Namespace 1.0 # 2) in XML 1.0 documents
 at [row,col {unknown-source}]: [1,194]
        
org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLocatorImpl.java:85)
        org.apache.axis2.description.AxisService.getData(AxisService.java:2722)
        org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1462)
        
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1334)
        
org.wso2.wsas.transport.util.Wsdl11Processor$1.printWSDL(Wsdl11Processor.java:43)
        
org.wso2.wsas.transport.util.AbstractWsdlProcessor.printWSDL(AbstractWsdlProcessor.java:51)
        
org.wso2.wsas.transport.util.Wsdl11Processor.process(Wsdl11Processor.java:57)
        org.wso2.wsas.transport.WSASServlet.doGet(WSASServlet.java:129)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.java:142)

Steps to reproduce
===============
1. Create a CSV data service. Do not specify a Row namespace when creating the 
query
2. Save the data service
3. Click on wsdl1.1 link to view the wsdl

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to