Ladies and gentlemen, hi
I tryed to check how do I expose service returning array with Axis2.1.1 (I'm a
complitely newbie with Axis2.1.1). I changed a standard Axis sample
sample.addressbook.service.AddressBookService service:
public Entry findEntry(String name)
to
public Entry[] findEntry(String name)
{ return new Entry[] { new Entry(), new Entry()}; }
and the rest left the same. During invocation of deployed service I receive the
error:
----------------------------------
<soapenv:Fault><faultcode>soapenv:Client</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<detail><Exception>org.apache.axis2.AxisFault: java.lang.NullPointerException;
nested exception is:
org.apache.axiom.om.OMException: java.lang.NullPointerException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
----------------------------------------
What is my mistake, please?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]