Kbase P109288: The OpenEdge client adds extra namespaces to the SOAP response
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/09/2006 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.0B
Web Services
SYMPTOM(s):
The OpenEdge client adds extra namespaces to the SOAP response
The following namespaces are added to the root element:
xmlns:xml="http://www.w3.org/XML/1998
amespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
The extra "xml" namespace definition causes an error when opening the XML document in Internet Explorer
The namespace prefix is not allowed to start with the reserved string "xml".
CAUSE:
Bug# 20050927-003
FIX:
Upgrade to OpenEdge 10.1A or later.
Please note that xmlns:xsd and xmlns:xsi will still appear. Even if they are not used, it is valid to include them.
- OR -
Use the REMOVE-ATTRIBUTE() method in order to remove the additional namespace definitions, e.g.:
hDoc:LOAD("longchar", lcQuote, FALSE).
hDoc:GET-DOCUMENT-ELEMENT(hRoot).
hRoot:REMOVE-ATTRIBUTE("xmlns:xml").
hDoc:SAVE("file", "lcQuote.xml").