[AWS] Troble with wsdl2aws
Poul-Erik Andreasen
poulerik at pea.dk
Wed Jul 7 12:37:05 CEST 2004
Pascal Obry wrote:
>Poul-Erik,
>
> > Anayway i was a litle tired last nigt. Of couse i can try to make a full
> > server reproducer. And i will do so, as fast as i can.
>
>You won't be able to reproduce this problem with AWS only. I found out that
>AXIS in this case creates a namespace for each field in the record. Here is
>the full answer:
>
>
Nice to know. Aws-serverside gives me som truble at the time
a can not even get the hello_world program to run properly :-)
Anyway then i will go on workin on a simple homemade parser for
this only, so i can get my figures.
><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
><soapenv:Header>
> <ns2:sessionID soapenv:mustUnderstand="0"
> xmlns:ns1="http://www.w3.org/2001/XMLSchema"
> xmlns:ns2="http://xml.apache.org/axis/session"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ns1:long">-5990719852434337268
> </ns2:sessionID>
></soapenv:Header>
><soapenv:Body>
> <ns3:getLastResponse
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns3="urn:datafeed.dukascopy.com">
> <ns3:getLastReturn soapenc:arrayType="ns3:Candle[1]"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="soapenc:Array">
> <item href="#id0"></item>
> </ns3:getLastReturn>
> </ns3:getLastResponse>
> <multiRef id="id0" soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns4="urn:datafeed.dukascopy.com"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ns4:Candle">
> <artificial xmlns:ns5="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns5:boolean">false</artificial>
> <closePrice xmlns:ns6="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns6:double">1.7465</closePrice>
> <flat xmlns:ns7="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns7:boolean">false</flat>
> <id xmlns:ns8="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns8:int">533</id>
> <maxPrice xmlns:ns9="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns9:double">1.7465</maxPrice>
> <minPrice xmlns:ns10="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns10:double">1.7459</minPrice>
> <openPrice xmlns:ns11="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns11:double">1.7465</openPrice>
> <periodType xmlns:ns12="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns12:int">0</periodType>
> <time xmlns:ns13="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns13:long">1089143140</time>
> <timeIndex xmlns:ns14="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns14:int">108914314</timeIndex>
> <volume xmlns:ns15="http://www.w3.org/2001/XMLSchema"
> xsi:type="ns15:long">0</volume>
> </multiRef>
></soapenv:Body>
></soapenv:Envelope>
>
>AWS does not handle this currently. It expects something like:
>
> <artificial xsi:type="xsd:boolean">false</artificial>
>
>I must that that AXIS is pushing a bit too far in this case :)
>
>
Thanks for all the help anyway
Poul-Erik
More information about the AWS
mailing list