SAP ABAP Message Class SPRX Message Number 018 (Error when reading XML document (document contains syntactic errors))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-PRX (Application Component) Proxy Generation
     SAI_PROXY_GENTIME (Package) ES Tools: Proxy Generation
Attribute
Message class SPRX  
Short Description Proxy Generation    
Message Number 018  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20130531   
Message Text
Error when reading XML document (document contains syntactic errors)
Help Document

Diagnosis

WSDL document contains syntactical errors, because:

  • The document is empty
  • It is a text and not an XML document
  • It is an XML document, but not a WSDL document
  • It is an HTML document (for example, an error message)
  • The XML preamble is missing ( <?xml version="1.0"?> )
  • For an open tag <xyz> the close tag </xyz> is missing
  • ...

System Response

Proxy generation terminated.

Procedure

There are different explanations as to why no correct document exists:

  • A "Page Not Found" HTML page was returned instead of a document (the URL is probably not correct).
  • A connection to the external server could not be established.
  • ...

If applicable, check the HTTP destination used or the URL in Internet Explorer.

If the source of the WSDL document is the Enterprise Services Repository:

  • A "Page Not Found" HTML page was returned instead of a document (the Enterprise Services Builder address is probably not correct)
  • The Enterprise Services Builder server is not running at present
  • The object specified for which a document should be read, does not exist in the Enterprise Services Builder
  • The Enterprise Services Builder service that processes the document was subject to an internal error
  • Check the connection to the Enterprise Services Repository by using the following checklist.

Procedure for System Administration

History
Last changed on/by 20140121  SAP 
SAP Release Created in   620