You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@us.ibm.com on 2002/06/14 20:15:57 UTC
RE: TCK question: .NET wrapped style?
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
butek@us.ibm.com
Douglas Bitting <Do...@agile.com> on 06/14/2002 12:55:19 PM
Please respond to axis-dev@xml.apache.org
To: "'axis-dev@xml.apache.org'" <ax...@xml.apache.org>
cc:
Subject: RE: TCK question: .NET wrapped style?
Quick question... what's TCK?
--Doug
-----Original Message-----
From: butek@us.ibm.com [mailto:butek@us.ibm.com]
Sent: Friday, June 14, 2002 10:34 AM
To: axis-dev@xml.apache.org
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
butek@us.ibm.com