I have an Axis RPC service that return a DOM Element as the return data type. The data 
I expect to get back from the servoce should look like the following. However what I 
get back from Axis is a stripped down verison without the namespace prefix data. Any 
idea why Axis would remove namespace prefixes from my data?


<dsml:batchResponse xmlns="urn:oasis:names:tc:DSML:2:0:core"
    xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <dsml:searchResponse>
        <dsml:searchResultDone code="0" descr="success"/>
        <dsml:searchResultEntry dn="CN=USERID,OU=Users">
            <dsml:attr name="mail">
                <dsml:value>[EMAIL PROTECTED]</dsml:value>
            </dsml:attr>
            <dsml:attr name="displayName">
                <dsml:value>USERID, Myuser</dsml:value>
            </dsml:attr>
            <dsml:attr name="cn">
                <dsml:value>USERID</dsml:value>
            </dsml:attr>
        </dsml:searchResultEntry>
    </dsml:searchResponse>
</dsml:batchResponse>


Here is what I get back.

<batchResponse xmlns="urn:oasis:names:tc:DSML:2:0:core"
    xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <searchResponse>
        <searchResultDone code="0" descr="success"/>
        <searchResultEntry dn="CN=USERID,OU=Users">
            <attr name="mail">
                <value>[EMAIL PROTECTED]</value>
            </attr>
            <attr name="displayName">
                <value>USERID, MyUser</value>
            </attr>
            <attr name="cn">
                <value>USERID</value>
            </attr>
        </searchResultEntry>
    </searchResponse>
</batchResponse>


Thanks

Jim

Reply via email to