I have below soap message with WS Security Signature generated by Axis 1.2.1:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
        
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
....
....
        <soapenv:Body Id="Body">
                ...
                ...
                <Address xsi:type="ns1:AddressType"
xmlns:ns1="http://www.mediclaim.org/2003/05";>
                        <AddressLine>2200 W</AddressLine>
                        <CityName>VEGAS</CityName>
                        <PostalCode>34343</PostalCode>
                        <StateProv StateCode="IL">BLAH</StateProv>
                        <CountryName Code="US">USA</CountryName>
                </Address>
                ....
                ....
        </soapenv:Body>
</soapenv:Envelope>



"AddressType" is declared to be belonging to the namespace
"http://www.mediclaim.org/2003/05"; however "AddressType" is not
defined in the soap message with the namespace
"http://www.mediclaim.org/2003/05";. Is this an error or my
understanding is wrong?

Also, since there is no namespace prefix for <Address> element and its
child elements like <AddressLine>, <CityName>  etc. does it mean all
these elements belong to default namespace instead of ns1 ? or do they
have to be explicitly prefixed with the namespace prefix ns1 ?. Is the
soap message generated using AXIS for the  <Address> element correct?


Can anyone please clarify?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to