01: package org.objectweb.celtix.systest.basicDOCBare;
02:
03: import javax.xml.ws.Holder;
04: import org.objectweb.hello_world_doc_lit_bare.PutLastTradedPricePortType;
05: import org.objectweb.hello_world_doc_lit_bare.types.TradePriceData;
06:
07: public class PutLastTradedPriceImpl implements
08: PutLastTradedPricePortType {
09: public void sayHi(Holder<TradePriceData> inout) {
10: inout.value.setTickerPrice(4.5f);
11: inout.value.setTickerSymbol("OBJECTWEB");
12: }
13:
14: public void putLastTradedPrice(TradePriceData body) {
15: System.out.println("-----TradePriceData TickerPrice : ----- "
16: + body.getTickerPrice());
17: System.out.println("-----TradePriceData TickerSymbol : ----- "
18: + body.getTickerSymbol());
19:
20: }
21:
22: public String bareNoParam() {
23: return "testResponse";
24: }
25:
26: }
|