The Web service implementation in Unwired Accelerator
uses Apache SOAP 2.3 and UDDI4J version 2.0.
When you create a new Web services element and select a UDDI registry from which to select a service, or enter information to publish a Web service to a UDDI registry, you see a drop-down list. The entries on these lists are extracted from the webservices.properties.xml file in %UnwiredAccelerator70%\tomcat\webapps\onepage\config if you are using Tomcat. If you are using EAServer, this file is located in %JAGUAR%\EAServer\Repository\WebApplication\onepage\config. An example of this file follows.
To add a new UDDI registry from which
to extract Web services to use in new Web service elements, use
a text editor to add a new <UDDIRegistry>
section
to webservices.properties.xml.
To update the default publishing information with
which you want to publish the Web service, use a text editor to
update the value for the corresponding <Property>
to
the <DefaultPublishInfo>
section
of webservices.properties.xml.
<WebServiceProps> <UDDIRegistry name="IBMTestRegistry"> <Property name="displayname" value="IBM Test Registry" /> <Property name="id" value="0" /> <Property name="inquiryURL"value="http://uddi.ibm.com/testregistry/inquiryapi" /> <Property name="publishURL"value="https://uddi.ibm.com/testregistry/publishapi" /> </UDDIRegistry> <UDDIRegistry name="IBM"> <Property name="displayname" value="IBM Public Registry" /> <Property name="id" value="1" /> <Property name="inquiryURL" value="http://uddi.ibm.com/ubr/inquiryapi" /> <Property name="publishURL" value="https://uddi.ibm.com/ubr/publishapi" /> </UDDIRegistry> <UDDIRegistry name="MicrosoftTestRegistry"> <Property name="displayname" value="Microsoft Test Registry" /> <Property name="id" value="2" /> <Property name="inquiryURL"value="http://test.uddi.microsoft.com/inquire"/> <Property name="publishURL"value="https://test.uddi.microsoft.com/publish" /> </UDDIRegistry> <UDDIRegistry name="Sybase"> <Property name="displayname" value="TrySybase" /> <Property name="id" value="3" /> <Property name="inquiryURL"value="http://uddi.trysybase.com/juddi/inquiry" /> <Property name="publishURL" value="http://uddi.trysybase.com/juddi/publish" /> </UDDIRegistry> <DefaultPublishInfo name="DEFAULT"> <Property name="provider_name" value="Sybase EP Services" /> <Property name="person_name" value="Sybase" /> <Property name="email_address" value="sybase@sybase.com" /> <Property name="provider_desc" value="Sybase EP Web Services" /> <Property name="username" value="sybase00" /> <Property name="password" value="sybase" /> <Property name="respond_with_html" value="false" /> <Property name="remember_settings" value="false" /> </DefaultPublishInfo> <Properties name="Properties"> <Property name="ArraySize1" value="2" /> <Property name="ArraySize2" value="3" /> <Property name="WSCache" value="true" description="(true/false) true to turn on caching for processed complexTypes and definitions of wsdl" /> <Property name="DefaultExpireLength" value="259200000" description="default expire length for cached WS element, eg. 3 days" /> </Properties> </WebServiceProps>
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |