EndpointLookup node output
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 configure the EndpointLookup node to dynamically set the service endpoint address for services that will be invoked by a subsequent SOAP or HTTP request node. The EndpointLookup node sets the destination URL in the local environment overrides for those nodes.
EndpointLookup node output if the Match Policy property is set to One
- LocalEnvironment.Destination.SOAP.Request.Transport.HTTP.WebServiceURL
- LocalEnvironment.Destination.HTTP.RequestURL
<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>
EndpointLookup node output if the Match Policy property is set to All
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>