Hi Kelvin,
Sorry for the late in getting back to you.
Kelvin Lin <[EMAIL PROTECTED]> writes:
>
> Sending OM : <SOAP-ENV:Envelope xmlns:SOAP-ENV = 'http://schemas.xmlsoap.org/
> soa
> p/envelope/' xmlns:ns1 = 'http://stockquote' xmlns:xsi = 'http://www.w3.org/
> 1999
> /XMLSchema-instance' xmlns:SOAP-ENC =
> 'http://schemas.xmlsoap.org/soap/encoding
> /
> ' xmlns:xsd = 'http://www.w3.org/1999/XMLSchema'><SOAP-ENV:Body><ns1:getQuote>
> <n
> s1:symbol>IBM</ns1:symbol></ns1:getQuote></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> 2nd, it is still in disorder sequence. Because I want get the soap message
> like
> the following order:
>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://
> www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema
> " xmlns:ns1="http://stockquote">
>
> It means ns xmlns:SOAP-ENV is in the first place, xmlns:SOAP-ENC in the second
> place and xmlns:xsi in the third place.
I digg into the code, namespace order is determined by the hash
function we use in axiom. I think we don't have a much control over it
:(. Hash value of a namespace ,is a function of its keylength. You
could see much more details , at axiom/src/om/om_element.c line 417.
thanks,
Dinesh
--
Dinesh Premalal
http://xydinesh.wordpress.com/
GPG ID : A255955C
GPG Key Finger Print : C481 E5D4 C27E DC34 9257 0229 4F44 266E A255 955C
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]