Given a.jws:
------
public class a {
  public int i = 5 ;

  public void setI(int j) { i = j ;}
  public int  getI() { return i ; }

  public a getQuote(String symbol) throws Exception {
    return new a();
  }
}
-----

When I run:  java samples.stock.GetQuote -s/axis/a.jws IBM

I see:
   <soapenv:Envelope
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>
         <ns1:getQuoteResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="urn:xmltoday-delayed-quotes">
            <getQuoteReturn href="#id0"/>
         </ns1:getQuoteResponse>
         <multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="xsd:anyType"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>a@558ce2</multiRef>

      </soapenv:Body>
   </soapenv:Envelope>

Notice the "a@558ce2" - I'm assuming that's the HashCode for the "new a()"
that was returned.
I'm wondering why I didn't get a "no serializer defined" error.  Any clues
anyone?

-Dug

Reply via email to