On Aug 18, 2007, at 12:24 AM, Bruce Snyder wrote:

On 8/3/07, charliec <[EMAIL PROTECTED]> wrote:

Hello,

I added a defaultMep to the xbean.xml of the HTTP consumer endpoint as such:
<http:endpoint service="person:PersonService2"
                 endpoint="soap"
                 targetService="person:PersonService2"
                 role="consumer"
                 locationURI="http://0.0.0.0:8192/PersonService2/";
                 soap="true"
defaultMep="http://www.w3.org/2004/08/wsdl/in- out" />

and I received the following error when executing the client.html:

I notice from the configuration above that you have named this service
PersonService2 and it's target is a service named PersonService2,
i.e., it's sending messages to itself. Is this intentional?

This is not exact: as the endpoint is a consumer only, it won't activate a JBI endpoint per se (it registers an external endpoint that can not be used as the target of an exchange). Hence the exchange will be sent to a service named "personService2" but acting as a provider ...

Cheers,
Guillaume Nodet


Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\! G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

Reply via email to