Hi, I try to use WSDL2Java to generate stubs. The WSDL file defining the service is http://services.xmltoday.com/vx_engine/wsdl.vep/realtime.wsdl
I tried to use the 02/05/2002 nighlty build, but no classes are generated for the complex types getRTQuote and getRTQuoteResponse, whereas they are used in the messages. However, WSDL2Java generate a vgx-realtime.StockQuotes which is a "member" of getRTQuoteResponse. I saw some related post on the mailing list archive that said it should work, so I wondered if this particular WSDL file would mess things. ------ The command I used to generate the stub is : java org.apache.axis.wsdl.WSDL2Java http://services.xmltoday.com/vx_engine/wsdl.vep/realtime.wsdl I copied here an extract of the WSDL file : <types> - <schema targetNamespace="urn:vgx-realtime" xmlns="http://www.w3.org/2000/10/XMLSchema"> - <complexType name="getRTQuote"> - <sequence> <element name="symbol" type="xsd:string" /> </sequence> </complexType> - <complexType name="getRTQuoteResponse"> - <sequence> - <element name="stock_quote"> - <complexType> - <sequence> <element name="symbol" type="xsd:string" /> <element name="time" type="xsd:string" /> <element name="last" type="xsd:string" /> <element name="change" type="xsd:string" /> <element name="pctchange" type="xsd:string" /> <element name="bid" type="xsd:string" /> <element name="ask" type="xsd:string" /> </sequence> </complexType> </element> </sequence> </complexType> </schema> </types>