Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
Scenario: You have successfully generated wsdl of an outbound interface defined in XI. This wsdl is required by the developeres for generating client proxies to make the webservice call. Issue: The wsdl that is generated using the tool provided by XI, generates the WSDl as an extract and hence for every request from developers(or customers) who need to implement the webservice, XI team either has to email the WSDL or put the wsdl in a share drive. Solution : Instead of sending the wsdl to the developers, an alternative way is desired where one could publish this wsdl into a UDDI repository and the developers could be directed to the UDDI repository. But there is a catch for publishing service definitions in UDDI. During the publishing process, UDDI repositry requires a http location of the service definition ie wsdl ex http://xyz/test.wsdl. This weblog presents a way 1. to define a place holder in WebAS for holding the wsdls. 2. publish the wsdls in WebAS UDDI Repostory step 1 : Create a folder wsdl in the J2EE memory space. step 2 : log into visual adminitrator server-> services -> http provider step 3 : 1. select Web Services Container Service->Runtime 2. choose Virtual Host Tab strip. 3. In the general properties default host select Directory list and save propertes. step 4 : select the aliases tab strip and create an alias for the folder "wsdl" , specify the path to the folder and save

step 5: Once you have created aliases , you can access the folder on WebAs using http://server:port/wsdl address. You will be able to see all the files in the folder wsdl. You can also refer to the files in the folder directly ex. http://server:port/wsdl/Test.wsdl step 6: Now you can use the local UDDI Client for publishing Sevice Definition(wsdl) to the UDDI Registry. Conclusion : XI generates WSDLs that are used to generate proxies for making the webservice call. Manul notification of these wsdls to interested parties is cumbersome. In this weblog i have presented an alternative approach of publishing XI WSDLS in the local UDDI Registry. One can also use this approach for publishing the service definitions on to any public/private UDDI Registries. if you have questions on how to set up a UDDI Registry, take a look at my Step by Step guide for WebAS : A step by step guide for Configuring UDDI registry on Local Server
16 Comments