SAP Knowledge Base Article - Preview

2339710 - "White spaces are required between publicId and systemId" floods the default trace due to misconfiguration of a WebService Group

Symptom

  1. The default trace seems to consist only such kind of messages:

    #Error#System.err#
    #BC-ESI-WS-JAV-RT#webservices_lib#C0000A6107096A330000000000001BB0#7541350000000004#sap.com/com.sap.engine.heartbeat#System.err#Guest#0##BD969AAE39AE11E6C248000000731266#bd969aae39ae11e6c248000000731266##0#Thread[HTTP Worker [@1085020472],5,Dedicated_Application_Thread]#Plain##
    [Fatal Error] service?wsdl=binding&style=document:1:50: White spaces are required between publicId and systemId. 

  2. Due to the fact that the information in this error message is insufficient and does not provide much data about the root cause, the NW AS Java administrator needs to increase the severity levels (of the default trace) to DEBUG for this location com.sap.engine.services.webservices.* (and the subtree software components as well)
  3. Then in the default trace might be seen more details about the reported error (it is caused by misconfiguration of a WebService Group):

>>>>>>>>> ERROR: Could not find mapping for service QName={urn:<NameSpace-Of-The-WebService-Group>}<Name-Of-The-WebService-Group>, class="class" com.sap.engine.heartbeat.grmg.ws.client.<Name-Of-The-WebService-Group>#

This is a example of a default trace with a WebService Group: "GRMGWSTest"

>>>>>>>>> ERROR: Could not find mapping for service QName={{urn:GRMGWSTestBeanWSD}GRMGWSTest}, class="class" com.sap.engine.heartbeat.grmg.ws.client.GRMGWSTest#
com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider: Creating client instance with WSDL URL [https://cpwfp00:443/GRMGWSTest/service?wsdl] ({urn:GRMGWSTestBeanWSD}GRMGWSTest) <com.sap.engine.heartbeat.grmg.ws.client.GRMGWSTest>#
com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider: Using SAP JAX-WS Implemetation to create service delegate.#ServletDispatcherImpl.doGet(), uri: /GRMGWSTest/service#
 
[Fatal Error] service?wsdl=binding&style=document:1:50: White spaces are required between publicId and systemId.
 
Exception : White spaces are required between publicId and systemId.
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1230)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:147)
at com.sap.exception.BaseException.<init>(BaseException.java:89)
at com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException. <init>(WSDLException.java:34)
at com.sap.engine.services.webservices.tools.SharedDocumentBuilders.loadDOMDocument(SharedDocumentBuilders.java:290)
...
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:287)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:199)
at com.sap.engine.services.webservices.tools.SharedDocumentBuilders.parse(SharedDocumentBuilders.java:180)
at com.sap.engine.services.webservices.tools.SharedDocumentBuilders.loadDOMDocument(SharedDocumentBuilders.java:276)
at com.sap.engine.services.webservices.espbase.wsdl.wsdl11.WSDL11Loader.getAllImportedWsdlsAndLoadSchemas(WSDL11Loader.java:303)
at com.sap.engine.services.webservices.espbase.wsdl.wsdl11.WSDL11Loader.loadDefinitions(WSDL11Loader.java:368)
at com.sap.engine.services.webservices.espbase.wsdl.wsdl11.WSDL11Loader.loadWSDLDocument(WSDL11Loader.java:494)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDefinitions(WSDLLoader.java:141)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:101)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:74)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.loadWSDLDefinitions(SAPServiceDelegate.java:220)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate. <init>(SAPServiceDelegate.java:128)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createDelegate(CTSProvider.java:179)
...

 

!!!Please note the exception chain is the same but the WebService Group might be with a different name!!!


Read more...

Environment

  • NetWeaver 7.1x
  • NetWeaver 7.2
  • NetWeaver 7.3 (including EHP 1)
  • NetWeaver 7.4
  • NetWeaver 7.5

Product

SAP NetWeaver all versions

Keywords

publicId, systemId, white spaces, required, document, WSDL, binding, mapping, Web Service Group, default trace, com.sap.engine.heartbeat , KBA , BC-ESI-WS-JAV-RT , WebServices Java Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.