RE: Creating Dynamic Client

2011-05-05 Thread Mark Bullathsinghalage Cooray
The error seems to be coming from Addressing module engage. If there is any one who could give me a direction please assist me INFO: Deploying module: addressing Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis2.context.MessageContext.getLocalProperty(Ljava/lang/String;)Lja

RE: Creating Dynamic Client

2011-05-04 Thread Mark Bullathsinghalage Cooray
Hi I did the change to; OMElement responce = sc.sendReceive(getPayload()); public static OMElement getPayload(){ OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace omNs = fac.createOMNamespace("http://services/xsd";, "ns0"); OMElement method = fac.c

RE: Creating Dynamic Client

2011-05-04 Thread Martin Gainty
the receiving method for the client must be declared public static e.g. public static OMElement getPricePayload(String symbol) sendReceive identifies the method (without parenthesis) e.g. OMElement result = sender.sendReceive(getPricePayload); Martin ___