Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3511

WSDL parsing exception: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • jbossws-cxf, tools-jaxws
    • None

    Description

      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.

      Attachments

        1. c.xml
          1 kB
          Alessio Soldano

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rhn-support-bkramer1 Biljana Kramer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: