Hi Stefan,

stlecho wrote:
Any clarifications for this issue ?
Can you please post the configuration that you are using, it seems like a configuration error, otherwise both the target endpoint as well as the endpoint inside the Send mediator on the *inSequence* would invoke the external service. If you put the Send mediator in the outSequence then the response message will be sent to that endpoint defined.

There is no clear distinction between using the Send mediator wrapped endpoint and target endpoint, target endpoint is just a convenient way of configuring proxy services, but from the point of functionality there is no difference at all.

I can assist you on this problem if you can post the configuration.

Thanks,
Ruwan
stlecho wrote:
Hi,

I'm using version 1.7beta2 and I have remarked that the ESB behaves
differently depending on the definition of the endpoint. If an endpoint is
defined as "Target Endpoint", the external webservice is called. If an
endpoint is defined on the Send Mediator of the Outgoing Message, the
external websevice is not called.

-Is this different behavior normal ?
-When should I define my endpoint as a Target Endpoint or as an Endpoint
of the Send Mediator ?

With Target Endpoint, w'out endpoint in Outgoing Messages - Send Mediator
INFO FSB-Proxy-WsSecurity Building Axis service for Proxy service :
FSB-Proxy-WsSecurity
INFO FSB-Proxy-WsSecurity Adding service FSB-Proxy-WsSecurity to the Axis2
configuration
INFO FSB-Proxy-WsSecurity Successfully created the Axis2 service for Proxy
service : FSB-Proxy-WsSecurity
INFO FSB-Proxy-WsSecurity To:
https://localhost:9444/esb/soap/FSB-Proxy-WsSecurity,From:
127.0.0.1,WSAction: urn://fsb.belgium.be/fphp/v3_0/findPerson,SOAPAction:
urn://fsb.belgium.be/fphp/v3_0/findPerson,Direction: request,Envelope:
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope ...
INFO FSB-Proxy-WsSecurity To:
http://www.w3.org/2005/08/addressing/anonymous,WSAction: ,SOAPAction:
,MessageID: urn:uuid:47C24A716603ACD4AF98226408022535456426633,Direction:
response,Envelope: <?xml version='1.0'
encoding='utf-8'?><SOAP-ENV:Envelope ...
W'out Target Endpoint, with endpoint in Outgoing Messages - Send Mediator
INFO FSB-Proxy-WsSecurity Building Axis service for Proxy service :
FSB-Proxy-WsSecurity
INFO FSB-Proxy-WsSecurity Adding service FSB-Proxy-WsSecurity to the Axis2
configuration
INFO FSB-Proxy-WsSecurity Successfully created the Axis2 service for Proxy
service : FSB-Proxy-WsSecurity
INFO FSB-Proxy-WsSecurity To:
https://localhost:9444/esb/soap/FSB-Proxy-WsSecurity,From:
127.0.0.1,WSAction: urn://fsb.belgium.be/fphp/v3_0/findPerson,SOAPAction:
urn://fsb.belgium.be/fphp/v3_0/findPerson,Direction: request,Envelope:
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope ...

Regards, Stefan Lecho.




_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to