ESB 13
WSO2 ESB Tutorial:
Introduction to
Dynamic Endpoints with
the Registry
Index
1. Introduction
2. EI configuration Example
3. Running Example
4. Conclusion
The EI configuration is shown below:
The endpoint sequence makes reference to a dynamic resource on the registry. The name is: dynamic_endp_1.xml and its content is displayed.
This is the request for SOAPUI:
(Do not forget to include the header SOAPAction with the value: urn:getQuote)
On the other hand this is the response:
If a second request is sent immediately, the endpoint resource is going to be taken from cache. If the cache expires or the resource is modified, for instance pointing to port 9002, then, it is going to be loaded again.
Introduction to
Dynamic Endpoints with
the Registry
Index
1. Introduction
2. EI configuration Example
3. Running Example
4. Conclusion
1. Introduction
As we show on the previous blog we can make dynamic reference to a resource store in the registry. This time the code makes reference to a dynamic endpoint. The endpoint is dynamically loaded from the remote registry.2. EI configuration Example
The EI configuration is shown below:
The endpoint sequence makes reference to a dynamic resource on the registry. The name is: dynamic_endp_1.xml and its content is displayed.
3. Running Example
Now, start the new Axis2 server on HTTP port 9000 and HTTPS 9002:This is the request for SOAPUI:
(Do not forget to include the header SOAPAction with the value: urn:getQuote)
On the other hand this is the response:
If a second request is sent immediately, the endpoint resource is going to be taken from cache. If the cache expires or the resource is modified, for instance pointing to port 9002, then, it is going to be loaded again.




No comments:
Post a Comment