Here's a WSDL snippet from the TCK:
<element name="TradePriceRequest">
<complexType>
<sequence>
<element name="tickerSymbol" type="string"/>
</sequence>
</complexType>
</element>
<element name="TradePrice">
<complexType>
<sequence>
<element name="price" type="float"/>
</sequence>
</complexType>
</element>
<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:TradePriceRequest"/>
</message>
<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePrice"/>
</message>
<portType name="StockQuotePortType">
<operation name="GetLastTradePrice">
<input message="tns:GetLastTradePriceInput"/>
<output message="tns:GetLastTradePriceOutput"/>
</operation>
</portType>
(the binding for this WSDL is doc/lit). This is ALMOST like .NET's doc/lit style. But it's not quite. So we generate:
public TradePrice getLastTradePrice(TradePriceRequest body) throws RemoteException;
Unfortunately the TCK expects the following signature:
public float getLastTradePrice(String body) throws RemoteException;
I don't read anything in JAX-RPC that allows or requires this signature, so I do not believe the TCK should expect this signature. Can anyone tell me I'm wrong?
Russell Butek
[EMAIL PROTECTED]
- RE: TCK question: .NET wrapped style? butek
- RE: TCK question: .NET wrapped style? Douglas Bitting
- Re: TCK question: .NET wrapped style? scheu