I'm using a wrapped/literal service. First I create an array ( called entries) of user-defined types. Then I say inside a try..catch block:
String endpoint = "http://......";
Service service = new Service();
String method = "storeMultiple";
QName qn = new QName("urn:DictServiceImpl", "DictEntry");
Call call = (Call) service.createCall();
call.registerTypeMapping(DictEntry.class, qn, new BeanSerializerFactory(DictEntry.class, qn), new BeanDeserializerFactory(DictEntry.class, qn));
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(new QName("dct", method));
call.addParameter("entries", qn, ParameterMode.IN);
call.setReturnType(org.apache.axis.Constants.XSD_STRING);
String ret = (String) call.invoke( new Object[] { entries } );
Any help much appreciated. Thanks in advance.
Madeleine