Xmlns: SOAP element soap attribute

I just started learning web services. I cannot understand the use of the xmlns: soap attribute of a SOAP element. Thanks.

+5
source share
3 answers

These xmlns: attributes do not apply to SOAP. They define prefixes that will later be used to denote XML namespaces. Example:

<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts" 
    DTS:ExecutableType="SSIS.Package.2">

This defines DTS as a prefix, which means the namespace "www.microsoft.com/SqlServer/Dts". It then refers to the ExecutableType attribute from this namespace.

XML , # ++. , . "ExecutableType", , , Microsoft. , - , .

+11

(, ), , XML, - XML. XML . - XML XML, XML W3 Schools ( , XML).

: http://www.w3schools.com/xml/default.asp

XML : http://www.w3schools.com/xml/xml_namespaces.asp

+2

W3C SOAP Spec

http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383497

SOAP SOAP , SOAP , . SOAP SOAP , . (. 4.4), SOAP SOAP- SOAP .

SOAP (. [8] XML ):

• SOAP Envelope has a "name space identifier http://schemas.xmlsoap.org/soap/envelope/ " • SOAP serialization has the namespace identifier " http://schemas.xmlsoap.org/soap/encoding/ " SOAP Message MUST NOT contain a document type declaration. The SOAP message MUST NOT contain processing instructions. [7]

+1
source

All Articles