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

Problem with multiple array arguments in POJO method?

2011-05-04 Thread Andy Dysart
I am using the POJO approach, and have a server class with a method like this: public void myMethod(String[] options, MyData[] data) { ... } Using SoapUI, I can call this method successfully with this message: http://www.w3.org/2003/05/soap-envelope"; xmlns:xsd="http://interfaces.mybiz.com/xsd"

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 ___

Creating Dynamic Client

2011-05-04 Thread Mark Bullathsinghalage Cooray
Hi, I need to create a client(s) on the fly. I tried using service client on a simple service that has single operation that takes two parameters. At deployment point I started getting following errors; 1. org.apache.axis2.AxisFault: The service cannot be found for the endpoint refere

Re: what binding use a wsdl2java client when you don't specify nothing?

2011-05-04 Thread Martín R .
thank you!. but... I use this constructor: JaxServiceStub stub = new JaxServiceStub(" http://127.0.0.1:80/SNMP/services/JaxService";); you know? and other question, can you explain me why the autogenerated wsdl in http://127.0.0.1/SNMP/services/JaxService?wsdl (port 80) says this: > binding="n

Re: what binding use a wsdl2java client when you don't specify nothing?

2011-05-04 Thread Sagara Gunathunga
Please look at the default constructor of the generated stub class. Also you can specific exact port at code generation time using "-pn " option in WSDL2JAVA tool. Thanks ! On Tue, May 3, 2011 at 4:25 PM, Martín R. wrote: > The autogenerated WSDL includes 3 bindings: > > binding="ns:RequestV

Netsed (static inner) classe still does not function (in spite of the patch mentioned in the JIRA-4448)

2011-05-04 Thread fadila.mumbasic
Hi, we are using axis 1.5.3 and have the problem with nested classes. According to the JIRA-4448 this is already fixed. But the source code of the org.apache.axis2.engine.DefaultObjectSupplier.java still contain Class parent = clazz.getDeclaringClass(); Objec