On Dec 12, 2003, at 12:51 PM, [EMAIL PROTECTED] wrote:


Just a word of warning. Hash tables are not a standard interop type. You will loose compatibility between SOAP implementations. I suggest you use an array of Java Beans with key/value pair concept.

Fair enough. I am having a bit of trouble "getting it" - how would my WSDL types section look if I were doing that?


For reference, I have kept the server's response below:

I said:
The request:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
URL: http://feature.alodar.com/gbib-soap/
-->
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
soap:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<soap:Body>
<s0:get_user_ids_by_name
xmlns:s0="http://feature.alodar.com/Alodar/GBIB/UserUtils";>
<s0:arg1Name>config_name</s0:arg1Name>
<s0:arg1Value>feature</s0:arg1Value>
</s0:get_user_ids_by_name>
</soap:Body>
</soap:Envelope>


The response:

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/1999/XMLSchema";
xmlns:namesp2="http://xml.apache.org/xml-soap";
soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/";>
        <soap-env:body>
                <namesp1:get_user_ids_by_nameresponse
xmlns:namesp1="http://feature.alodar.com/Alodar/GBIB/UserUtils";>
                        <s-gensym3 xsi:type="namesp2:SOAPStruct">
                                <admin xsi:type="xsd:int">
                                        1
                                </admin>
                                <guest xsi:type="xsd:int">
                                        2
                                </guest>
                        </s-gensym3>
                </namesp1:get_user_ids_by_nameresponse>
        </soap-env:body>
</soap-env:envelope>



Reply via email to