Consultor Eletrônico



Kbase P112909: Is it possible to declare an XML declaration for the SOAP request in an OpenEdge application ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/01/2006
Status: Unverified

GOAL:

Is it possible to specify an XML declaration for the SOAP request in an OpenEdge application ?

GOAL:

How to precede the SOAP request with an XML declaration

GOAL:

How to specify the encoding of the SOAP request

FACT(s) (Environment):

Is it possible to change the encoding of the SOAP request in an OpenEdge application ?
Web Services

FIX:

There is currently no way to specify an XML declaration for the SOAP request. So the SOAP request is always sent with the UTF-8 encoding. The WS-I organization does not require one to be present, it states the following:
3.1.4 XML Declarations
Presence or absence of an XML declaration does not affect interoperability. Certain implementations might always precede their XML serialization with the XML declaration.
R1010 A RECEIVER MUST accept messages with envelopes that contain an XML Declaration.
Further details can be found here:
http://www.ws-i.org/Profiles/SimpleSoapBindingProfile-1.0-2004-08-24.html#XML_Declarations