How did u create client service , the service you passed to create serviceClient has to have operation with inverse of original MEP. For example if the server side has in-out operation then corresponding client side service will have an operation with out-in operation.
So change your client side service class and see. Thomas Van de Velde wrote: > Hi, > > I am trying to integrate JMS with Axis2 and can get around the > following error: > > "The MEP you are using http://www.w3.org/2004/08/wsdl/in-out has not > implemented createClient()." > > My client looks as follows: > > Options options = new Options(); > options.setTo(EPR); > options.setAction(SERVICE_NAME.getLocalPart()); > options.setTransportInProtocol (Constants.TRANSPORT_JMS); > > ServiceClient loggingClient = new > ServiceClient(getConfigContext(), > clientService); > loggingClient.engageModule(new > QName("sample-logging-handler")); > > loggingClient.setOptions(options); > > loggingClient.sendReceiveNonBlocking(OPERATION_NAME, > getPayload(), > callback); > > I keep stumbling in this method: > > AxisOperation: > > public OperationClient createClient(ServiceContext sc, Options > options) { > throw new > UnsupportedOperationException(Messages.getMessage("mepnotyetimplemented", > mepURI)); > } > > I am using Axis2 RC3. > > Any help would be greatly appreciated. > > Thomas -- Thanks, Deepal ................................................................ ~Future is Open~
