Dave,

thanks loads for the help, but I ain't quite there yet.  I have tried both
the following mappings:


    <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
             qname=":return"
 
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer" />

and

    <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
             xmlns:x="" qname="x:return"
 
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer" />

and always get the same result for the request (repeated below).

this issues only occurs for complex types.  simply types (eg strings) work
in the way you have described.

I hope you can help further.  

cheers

timj

request:

 <?xml version="1.0" encoding="UTF-8" standalone="no" ?> 
- <SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
- <SOAP-ENV:Body>
- <SOAPSDK1:bounceQuote xmlns:SOAPSDK1="urn:NasdaqQuotes2">
- <return>
  <fiftyTwoWeekHigh xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">126.39</fiftyTwoWeekHigh> 
  <fiftyTwoWeekLow xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">83.34</fiftyTwoWeekLow> 
  <issuerWebSite xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:string">http://www.ibm.com</issuerWebSite> 
  <lastSalePrice xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">87.93</lastSalePrice> 
  <market xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:string">NYSE</market> 
  <netPercentChange xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:string">-1.2%</netPercentChange> 
  <netPriceChange xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">-1.07</netPriceChange> 
  <previousClosePrice xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">89.0</previousClosePrice> 
  <shareVolume xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:long">6757700</shareVolume> 
  <symbol xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:string">IBM</symbol> 
  <todaysHigh xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">88.95</todaysHigh> 
  <todaysLow xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:double">87.36</todaysLow> 
  <totalShares xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:long">1723200000</totalShares> 
  <tradingStatus xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xsi:type="xsd:string">ACTIVE</tradingStatus> 
  </return>
  </SOAPSDK1:bounceQuote>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

result:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
  <faultcode>SOAP-ENV:Client</faultcode> 
  <faultstring>No mapping found for ':return' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring> 
  <faultactor>/worp/soap/servlet/rpcrouter</faultactor> 
  </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>


Reply via email to