UDDI - find service which name matches exactly name specified in request

Posted by empi on Stack Overflow See other posts from Stack Overflow or by empi
Published on 2010-04-21T11:20:53Z Indexed on 2010/04/21 11:23 UTC
Read the original article Hit count: 331

Filed under:
|
|

Hi.

I'm asking UDDI to find a service with a name specified in request. The code looks like this:

UddiConnection uddiConnection = new UddiConnection(uddiAddress);
FindService findService = new FindService();
findService.Names.Add(uddiServiceName);                
ServiceList foundServices = findService.Send(uddiConnection);

However, when I ask for SomeService and UDDI has two services SomeService and SomeServiceSecond I get both in found services.

How can I ask for service that name exactly matches the name specified? I know I can check the result in my class and limit found services collection but I would like to specify my needs in UDDI inquire.

Thanks in advance for help.

© Stack Overflow or respective owner

Related posts about uddi

Related posts about c#