dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

Build a Client Application to Access a UDDI Registry : Page 2

Now that you've seen how to set up a UDDI registry on your server, it's time to learn how to use it from a client application.


advertisement

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


The get_authToken SOAP Structures
Each UDDI method call requires that your application be able to send and receive properly formatted SOAP structures in the form of request and response documents. The following XML shows the structures required for the get_authToken SOAP request and response.

// SOAP Request <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:soap= "http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <get_authToken userID="jdoe" cred="foobar" generic="2.0" xmlns="urn:uddi-org:api_v2" /> </soap:Body> </soap:Envelope> // SOAP Response <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:soap= "http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <authToken operator="MyCompany" generic="2.0" xmlns="urn:uddi-org:api_v2"> <authInfo>authentication details</authInfo> </authToken> </soap:Body> </soap:Envelope>

Finding Businesses and Services
Businesses and their associated services can be searched by issuing inquiry messages to a UDDI registry. There are three types of inquiries which you can execute against a UDDI registry:

  1. A white pages inquiry to return basic information such as address, contact, and identifiers about a company and its services.
  2. A yellow pages inquiry to retrieve information concerning categorizations and taxonomies.
  3. A green pages inquiry to retrieve technical information about the Web services a business publishes, as well as information describing how to execute these services.


Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date