axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Gunathunga <>
Subject Re: programmatic service configuration problem
Date Sat, 18 Apr 2009 17:56:16 GMT
Hi Robert,

>     AxisService service;
>     try {
>       service = AxisService.createService(serviceName,axisConfiguration);

You cant use above createService(...) method with a custom
MessageReceiver , it's only work with RPCMessageReceiver and
RPCInOnlyMessageReceiver. There are another two  createService(...)
methods on org.apache.axis2.description.AxisService class , you could
try for one of them.

In both methods it is required to pass custom MessageReceivers
explicitly as a Map and you could create a Map instance with relevant
MEPs as follows ,

Map messageReceiverClassMap = new HashMap();

Hope this will help you.


Sagara Gunathunga

Blog -
Web -

View raw message