Can you please check what we do in Utils.createSimpleServiceforClient?
the return from there is used as a parameter to the ServiceClient

thanks,
dims

On 4/27/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
> I actually did for hours ;-)
>
> The particularity of my case is that I am using a single axis2.xml for both
> client and server.
>
>
>
> On 4/27/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > Please see the test cases :
> >
> http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/
> >
> > Thanks,
> > dims
> >
> > On 4/27/06, Thomas Van de Velde <[EMAIL PROTECTED]> 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
> > >
> >
> >
> > --
> > Davanum Srinivas : http://wso2.com/blogs/
> >
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Reply via email to