[jbossws-issues] [JBoss JIRA] (JBWS-3511) WSDL parsing exception: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Thu Jun 7 11:38:18 EDT 2012


     [ https://issues.jboss.org/browse/JBWS-3511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3511:
----------------------------------

    Fix Version/s: jbossws-cxf-4.1
      Component/s: jbossws-cxf
                   tools-jaxws


This can be simply reproduced by running wsconsume.sh -k http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl
Also, please note I could not have the tool run complete by downloading the wsdl (and the referenced wsdl and xsd) and running the tool against the local copy. Perhaps something to be tuned in the local copy in this case though.
                
> WSDL parsing exception: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-3511
>                 URL: https://issues.jboss.org/browse/JBWS-3511
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf, tools-jaxws
>         Environment: WSRP on EPP 5.2.1
>            Reporter: Biljana Kramer
>             Fix For: jbossws-cxf-4.1
>
>
> When trying to create consumer by setting Producer WSDL URL http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl the following Exception is thrown in server.log file (this is all done from EPP 5.2.1):
> 2012-06-05 14:59:15,051 WARN  [org.jboss.util.xml.JBossEntityResolver] (http-10.33.1.120-8080-4) Trying to resolve systemId as a non-file URL: http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl
> 2012-06-05 14:59:15,580 ERROR [STDERR] (http-10.33.1.120-8080-4) [Fatal Error] wsrp_v1_bindings.wsdl:1:50: White spaces are required between publicId and systemId.
> 2012-06-05 14:59:15,586 INFO  [org.gatein.wsrp.services.SOAPServiceFactory] (http-10.33.1.120-8080-4) Couldn't access WSDL information athttp://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL. Service won't be available
> javax.xml.ws.WebServiceException: org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException (at /wsdlefinitions/import): faultCode=PARSER_ERROR: Problem parsing 'http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl'.: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
> ...
> 2012-06-05 14:59:15,653 INFO  [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-10.33.1.120-8080-4) WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
> >> sourceId=pbG049fd3d3_2dff75_2d4581_2da5f6_2dd097be693be8:j_id37:status[severity=(ERROR 2), summary=(javax.xml.ws.WebServiceException: org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException (at /wsdlefinitions/import): faultCode=PARSER_ERROR: Problem parsing 'http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl'.: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.), detail=(org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException (at /wsdlefinitions/import): faultCode=PARSER_ERROR: Problem parsing 'http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl'.: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.)]
> It seems the error might be caused by the fact that the WSDL URL redirects to an https URL.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list