Hi,

I don't think you can use "*" in locationURI or wsdlResource, both servicemix-http or servicemix-cxf-bc need a specific locationURI or wsdl.
You need different endpoints for different services.
Freeman

Liav Ezer wrote:
Hi Freeman,

let's say that my domain is http://liav:8192/Services & under it i locate
all wsdl files.

I want to be able to filter it by the domain. Meaning that the following
will be accepted:

http://liav:8192/esb/Services/ForcastWeatherImp.wsdl

& those will be rejected:

http://liav:8192/esb/Marketing/DollarRateImp.wsdl
http://liav:8192/esb/GetLocation.wsdl

In other words my pattern is: http://liav:8192/esb/Services/*.wsdl

Thanks.




Freeman Fang wrote:
Hi,
Could you give more details what kind of pattern you want to filter?
If you want to filtered by username/password, both servicemix-http and servicemix-cxf-bc can do it for you. If you want to filtered by the content of the soap message, I think servicemix-camel can do it for you.

Freeman

Liav Ezer wrote:
Hi,

I deployed a servicemix-http component that suppose to consume SOAP
request
from outside clients and provide a message to other component in the ESB
(RouterBuilder in Camel - not written yet).

For that i defined a consumer & a provider endpoints. My question regards
the consumer part:

I want the consumer connetctor to act as a 'servlet filter', meaning that
it
will proxy all sort of services & requests which match a certain pattern
will be accepted while other will be rejected.
This is my xbean definitions - in bold is what i tried doing with no
success.

<!-- Receiver: Accept clients requests --> <http:endpoint service="*" endpoint="*" targetService="*" role="consumer" locationURI="http://localhost:8192/services/httpreceiver/*"; wsdlResource="C:/HTTPReceiverServices/*.wsdl" soap="true" /> Is it possible? Is it supported in such a component? Do i need to use
other
approach to attake this problem?

Thanks.



Reply via email to