I THINK it stands for Technology Compliance Kit. It is the suite of tests we have to pass to be considered JAX-RPC compliant.

Russell Butek
[EMAIL PROTECTED]

Please respond to [EMAIL PROTECTED]

To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: RE: TCK question: .NET wrapped style?




Quick question... what's TCK?
--Doug
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: TCK question: .NET wrapped style?


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]

Reply via email to