Consultor Eletrônico



Kbase P105598: The namespace names are being manipulated on the way out when accessing a Web Service.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/25/2009
Status: Verified

SYMPTOM(s):

The namespace names are being manipulated on the way out when accessing a Web Service.

Sending out an XML document which contains namespace definitions within it's sub-elements.

The 4GL client adds it's own namespace declared as xmlns:ns1=http://www.w3.org/2000/xmlns/

The .NET Web Service throws an error due to the added namespace.


Server was unable to read request. --> There is an error in XML document (1, 516). --> Cannot bind to the reserved namespace. Line 1, position 644

FACT(s) (Environment):

OpenEdge 10.0B
Web Services
All Supported Operating Systems

CAUSE:

Bug# OE00118651

FIX:

Upgrade to OpenEdge 10.0B03 or later.
- OR -
Define all namespaces in the root element instead of sub-elements before sending out the XML document, for example:
<ns01:ApplyChanges xmlns:ns01=http://www.progress.com/MeridioRMWS xmlns:ns02="http://www.progress.com/RMDataSet.xsd">
<ns01:ds>
<ns02:PSCData/>
<
s01:ds>
<
s01:ApplyChanges>
Instead of:
<ns01:ApplyChanges xmlns:ns01=http://www.progress.com/MeridioRMWS">
<ns01:ds>
<ns02:PSCData xmlns:ns02="http://www.progress.com/RMDataSet.xsd/>
<
s01:ds>
<
s01:ApplyChanges>