hi folks,

I'm trying to get something back from my webservice.
I've tried to return a coldfusion struct which is translated to a Map
and after i read this:
http://marburg.marbie.net/verbouwen/blog.cfm? &blog_action=view&memberid=1 (search for empty map)
i've tried a custom data type. But still the same.

my network sniffer tell me that the server gives a "right" response:

--- snip ---
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelop
e 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">.
<soapenv:Body>.
<loginResponse xmlns="http://---CUT OUT ---/">.
<loginReturn xsi:type="ns1:Map" xmlns:ns1="http://xml.apache.org/xml- soap">.
                <item xmlns="">.
                        <key xsi:type="xsd:string">groupId</key>.
                        <value xsi:type="xsd:int">7</value>.
                </item>.
                <item xmlns="">.
                        <key xsi:type="xsd:string">operatorId</key>.
                        <value xsi:type="xsd:long">1</value>.
                </item>
        <item xmlns="">
                <key xsi:type="xsd:string">registered</key>
                <value xsi:type="xsd:string">true</value>.
        </item>.
        <item xmlns="">.
                <key xsi:type="xsd:string">user</key>
                <value xsi:type="xsd:string">robert</value>.
        </item>.
</loginReturn>.
</loginResponse>.
</soapenv:Body>.
</soapenv:Envelope>
--- snap ---

but it looks like that cfx doesn't set the return variables right.
It creates always only the datatype with an empty set (null)

does anyone knows anything about this problem?
A simple return type like "String" is working like charm.

Thank you in advance!

nice greets from austria,
gasser matthias

please excuse my bad english :-)




Reply via email to