1 / 5

Discovery Strategy

Discovery Strategy. The strategy will not mandate any particular Discovery protocol, however, it will suggest Discovery protocols to use. Current thinking in the external group is to use: 0) Pre-configuration 1) SLPv2 - requires no infrastructure and can filter on attributes

ltarbell
Download Presentation

Discovery Strategy

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Discovery Strategy The strategy will not mandate any particular Discovery protocol, however, it will suggest Discovery protocols to use. Current thinking in the external group is to use: 0) Pre-configuration 1) SLPv2 - requires no infrastructure and can filter on attributes 2) SSDP - good in a Microsoft environment, may need other protocols such as UPnP to learn about attributes. No DNS required 3) DNS-SD - requires infrastructure, better in heterogeneous environments. No DNS server if multi-cast DNS is used. ----- Registries 4) LDAP? 5) UDDI - Believe this is both under deployed and does not give us what we need. Also it is OK if a particular implementation uses a different strategy when it has knowledge of how PSI will be deployed. PSI Overview

  2. WSDL Return Example Start with an http get to: http://<hostname>:3700/psi ** The hostname Is Discovered Using Existing Discovery Protocols Client Host HTTP Get on http://<hostname>:3700/psi Returns Interface - WSDL XML Document for QueryEndPointsInterface Print Service Query EndPointsInterface Optionally QuerySupportedInterfaces(): string[] Returns an Array of InterfaceIdentifiers InterfaceIdentifier.xsd: Name, Version, Data Model, Secure QueryInterface (interfaceIdentifier : String) : lang.String Returns Interface - WSDL XML Document for requested interface. PSI Overview ** IANA. Internet Assigned Numbers Authority – Request Pending

  3. HTTP URL Return Example Start with an http get to: http://<hostname>:3700/psi ** The hostname Is Discovered Using Existing Discovery Protocols Client Host HTTP Get on http://<hostname>:3700/psi Returns HTTP URL EndPoint for the QueryEndPointsInterface Print Service Query EndPointsInterface Optionally QuerySupportedInterfaces(): string[] Returns an Array of InterfaceIdentifiers InterfaceIdentifier.xsd: Name, Version, Data Model, Secure QueryInterfaceEndPoint (interfaceIdentifier : String) : lang.String Returns HTTP URL EndPoint for the requested interface PSI Overview ** IANA. Internet Assigned Numbers Authority – Request Pending

  4. HTTP URL Return Example Obtaining the WSDL from the HTTP URL EndPoint Client Host HTTP Get URL EndPoint with ?WSDL appended Returns Interface - WSDL XML Document for QueryEndPointsInterface Print Service Query EndPointsInterface Optionally QuerySupportedInterfaces(): string[] Returns an Array of InterfaceIdentifiers InterfaceIdentifier.xsd: Name, Version, Data Model, Secure QueryInterfaceEndPoint (interfaceIdentifier : String) : lang.String Returns HTTP URL EndPoint for the requested interface HTTP Get URL EndPoint with ?WSDL appended Returns Interface - WSDL XML Document for the requested interface PSI Overview ** IANA. Internet Assigned Numbers Authority – Request Pending

  5. HTTP URL Client Side Usage What does the client do with the return from the HTTP Get? Client Host HTTP Get on http://<hostname>:3700/psi Returns HTTP URL EndPoint for the QueryEndPointsInterface // Make a service JobControlInterfaceService jcService = new JobControlInterfaceServiceLocator(); // Now use the service to get a stub which implements the SDI. JobControlInterface jc =jcService.getOrgPwgPsiJobControlInterface(new java.net.URL( "http://localhost:8080/axis/services/org.pwg.psi.JobControlInterface")); PSI Overview ** IANA. Internet Assigned Numbers Authority – Request Pending

More Related