I think we are returning arrays. I will give java.util.List a shot.
Sounds
like that might solve the first problem. Still need to solve
this complex
string issue.
Thanks
--- In [EMAIL PROTECTED]ups.com,
"Carson Hager" <carson.hager@...>
wrote:
>
> What
return type are you using? We have found that with flex/axis,
> returning
arrays causes Flex to choke. We instead return java.util.List
> instances
and Flex can handle the arrays much better. The WSDL is only
> slightly
different but we don't see Flex mangling the array data like it
> was
previously. I'm not sure if this applies to you but it helped us
>
tremendously. The downside so far is that we're getting ComplexString
>
instances instead of numeric and boolean data types. It's easy enough to
>
work around temporarily. As a note, we are also taking this up with
>
Adobe to see if we can get this really fixed.
>
>
>
Carson
>
____________________________________________
>
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
<http://www.cynergysystems.com/>
>
> Email: carson.hager@...
> Office:
866-CYNERGY
> Mobile: 1.703.489.6466
>
>
>
>
________________________________
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of someguy7_7
> Sent: Thursday, July 06, 2006 7:14
PM
> To: [EMAIL PROTECTED]ups.com
>
Subject: [flexcoders] Re: Beta 3 WebService Result
>
>
>
> Actually this is looking more like a bug. I have submitted an
example
> application to Adobe. All my items are all at the same level in
the
> xml but flex is interpretting it like the first item is the parent
for
> the rest of the items.
>
> Here is the xml returned by
my webservice. Flex interprets it like the
> london item is the parent of
the other 4 items. From what I can see
> they are all at the same level.
But then I am a newb to this xml stuff.
>
> <?xml version="1.0"
encoding="utf-8"?>
> <soapenv:Envelope
>
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>
<http://schemas.xmlsoap.org/soap/envelope/>
"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema
>
<http://www.w3.org/2001/XMLSchema>
"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>
<http://www.w3.org/2001/XMLSchema-instance>
>
"><soapenv:Body><ns1:searchResponse
>
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:ns1="urn:IPSWebServices"><body
>
href=""/></ns1:searchResponse><multiRef id="id0"
soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xsi:type="ns2:SearchResponse"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:ns2="urn:IPSWebServices">
> <items
href=""/></multiRef>
> <multiRef id="id1"
soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
">
> <totalresults
xsi:type="xsd:int">5</totalresults>
> <item
href=""/><item href=""/><item
href=""/><item
> href=""/>
> <item
href=""/></multiRef>
> <multiRef id="id6"
soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"><row
>
xsi:type="xsd:int">4</row><keywords
>
xsi:type="xsd:string"></keywords><imagepath
>
xsi:type="xsd:string">Cities/</imagepath><imagefile
>
xsi:type="xsd:string">stlouis.jpg</imagefile><imagewidth
>
xsi:type="xsd:int">500</imagewidth><imageheight
>
xsi:type="xsd:int">375</imageheight><description
>
xsi:type="xsd:string">stlouis</description><memo
>
xsi:type="xsd:string"></memo><resolution
>
xsi:type="xsd:float">72.0</resolution><createdwith
>
xsi:type="xsd:string"></createdwith><copyright
>
xsi:type="xsd:string"></copyright><readyforpublish
>
xsi:type="xsd:boolean">true</readyforpublish><maskpath
>
xsi:type="xsd:string"></maskpath><maskfile
>
xsi:type="xsd:string"></maskfile><userdata
>
xsi:type="xsd:string"></userdata><anchorx
>
xsi:type="xsd:int">250</anchorx><anchory
>
xsi:type="xsd:int">187</anchory><filesize
>
xsi:type="xsd:int">38575</filesize><vendorsku
>
xsi:type="xsd:string">stlouis</vendorsku><datecreated
>
xsi:type="xsd:date">2006-02-15</datecreated><datemodified
>
xsi:type="xsd:date">2006-05-22</datemodified><filedate
>
xsi:type="ns3:date" xsi:nil="true"
> xmlns:ns3="http://www.w3.org/1999/XMLSchema
>
<http://www.w3.org/1999/XMLSchema>
"/></multiRef>
> <multiRef id="id5"
soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"><row
>
xsi:type="xsd:int">3</row><keywords
>
xsi:type="xsd:string"></keywords><imagepath
>
xsi:type="xsd:string">Cities/</imagepath><imagefile
>
xsi:type="xsd:string">rio.jpg</imagefile><imagewidth
>
xsi:type="xsd:int">500</imagewidth><imageheight
>
xsi:type="xsd:int">375</imageheight><description
>
xsi:type="xsd:string">rio</description><memo
>
xsi:type="xsd:string"></memo><resolution
>
xsi:type="xsd:float">72.0</resolution><createdwith
>
xsi:type="xsd:string"></createdwith><copyright
>
xsi:type="xsd:string"></copyright><readyforpublish
>
xsi:type="xsd:boolean">true</readyforpublish><maskpath
>
xsi:type="xsd:string"></maskpath><maskfile
>
xsi:type="xsd:string"></maskfile><userdata
>
xsi:type="xsd:string"></userdata><anchorx
>
xsi:type="xsd:int">250</anchorx><anchory
>
xsi:type="xsd:int">187</anchory><filesize
>
xsi:type="xsd:int">158116</filesize><vendorsku
>
xsi:type="xsd:string">rio</vendorsku><datecreated
>
xsi:type="xsd:date">2006-02-15</datecreated><datemodified
>
xsi:type="xsd:date">2006-02-15</datemodified><filedate
>
xsi:type="ns4:date" xsi:nil="true"
> xmlns:ns4="http://www.w3.org/1999/XMLSchema
>
<http://www.w3.org/1999/XMLSchema>
"/></multiRef>
> <multiRef id="id4"
soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"><row
>
xsi:type="xsd:int">2</row><keywords
>
xsi:type="xsd:string"></keywords><imagepath
>
xsi:type="xsd:string">Cities/</imagepath><imagefile
>
xsi:type="xsd:string">paris.jpg</imagefile><imagewidth
>
xsi:type="xsd:int">333</imagewidth><imageheight
>
xsi:type="xsd:int">500</imageheight><description
>
xsi:type="xsd:string">paris</description><memo
>
xsi:type="xsd:string"></memo><resolution
>
xsi:type="xsd:float">1000.0</resolution><createdwith
>
xsi:type="xsd:string"></createdwith><copyright
>
xsi:type="xsd:string"></copyright><readyforpublish
>
xsi:type="xsd:boolean">true</readyforpublish><maskpath
>
xsi:type="xsd:string"></maskpath><maskfile
>
xsi:type="xsd:string"></maskfile><userdata
>
xsi:type="xsd:string"></userdata><anchorx
>
xsi:type="xsd:int">166</anchorx><anchory
>
xsi:type="xsd:int">250</anchory><filesize
>
xsi:type="xsd:int">147927</filesize><vendorsku
>
xsi:type="xsd:string">paris</vendorsku><datecreated
>
xsi:type="xsd:date">2006-02-15</datecreated><datemodified
>
xsi:type="xsd:date">2006-02-15</datemodified><filedate
>
xsi:type="ns5:date" xsi:nil="true"
> xmlns:ns5="http://www.w3.org/1999/XMLSchema
>
<http://www.w3.org/1999/XMLSchema>
"/></multiRef>
> <multiRef id="id3"
soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
>
<http://schemas.xmlsoap.org/soap/encoding/>
"><row
>
xsi:type="xsd:int">1</row><keywords
>
xsi:type="xsd:string"></keywords><imagepath
>
xsi:type="xsd:string">Cities/</imagepath><imagefile
>
xsi:type="xsd:string">newyork.jpg</imagefile><imagewidth