Utilice un nodo EndpointLookup para recuperar las direcciones de punto final para las definiciones de servicio WSDL conservadas en WebSphere Service Registry and Repository (WSRR).
El mensaje de entrada no se cambia mediante el nodo EndpointLookup. En su lugar, se actualiza el entorno local para que contenga los detalles de los puntos finales que ha recuperado la consulta especificada mediante el nodo y cualquier alteración temporal del entorno local.
Puede ver información sobre los ejemplos sólo cuando utilice el Information Center que está integrado en WebSphere Message Broker Toolkit o el Information Center en línea. Puede ejecutar ejemplos sólo cuando utilice el Information Center que está integrado en WebSphere Message Broker 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>
El ejemplo siguiente muestra una salida típica del nodo EndpointLookup cuando la Política de coincidencia está establecida en Todo. (Pueden existir otras entradas en el entorno local dependiendo del proceso anterior del flujo.)
<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>