Use an EndpointLookup node to retrieve the endpoint addresses for WSDL service definitions held in WebSphere® Service Registry and Repository (WSRR).
The input message is not changed by the EndpointLookup node. Instead, the local environment is updated to contain details of the endpoints retrieved by the query specified by the node and any local environment overrides.
You can view information about samples only when you use the product documentation that is integrated with the IBM® Integration Toolkit or the online product documentation. You can run samples only when you use the product documentation that is integrated with the IBM Integration Toolkit.
<LocalEnvironment>
<Destination>
<SOAP>
<Request>
<Transport>
<HTTP>
<WebServiceURL>http://localhost:9081/DemoCustomerWeb/
services/DemoCustomer</WebServiceURL>
</HTTP>
</Transport>
</Request>
</SOAP>
<HTTP>
<RequestURL>http://localhost:9081/DemoCustomerWeb/
services/DemoCustomer
</RequestURL>
</HTTP>
</Destination>
<ServiceRegistry>
<ITService>
<Endpoint>
<Address>http://localhost:9081/DemoCustomerWeb/
services/DemoCustomer</Address>
<PortType>
<name>DemoCustomer</name>
<namespace>http://demo.sr.eis.ibm.com</namespace>
<version>1.0</version>
</PortType>
<Property>
<name>policy</name>
<value>RM</value>
</Property>
<Property>
<name>country</name>
<value>China</value>
</Property>
<Classification>http://eis.ibm.com/ServiceRegistry/
GenericObjecttypes#Routing</Classification>
</Endpoint>
</ITService>
</ServiceRegistry>
</LocalEnvironment>
The following example shows typical output from the EndpointLookup node when the Match Policy is set to All. (Other entries might exist in the local environment depending on previous processing in the flow.)
<LocalEnvironment>
<ServiceRegistry>
<ITService>
<Endpoint>
<Address>http://localhost:9081/DemoCustomerWeb/
services/DemoCustomer</Address>
<PortType>
<name>DemoCustomer</name>
<namespace>http://demo.sr.eis.ibm.com</namespace>
<version>1.0</version>
</PortType>
<Property>
<name>policy</name>
<value>RM</value>
</Property>
<Property>
<name>country</name>
<value>China</value>
</Property>
<Classification>http://eis.ibm.com/ServiceRegistry/
GenericObjecttypes#Routing</Classification>
</Endpoint>
</ITService>
<ITService>
<Endpoint>
<Address>http://localhost:9081/DemoCustomerWeb/
services/DemoCustomer2</Address>
<PortType>
<name>DemoCustomer2</name>
<namespace>http://demo.sr.eis.ibm.com</namespace>
<version>1.0</version>
</PortType>
</Endpoint>
</ITService>
</ServiceRegistry>
</LocalEnvironment>