For an example of creating a service by publishing a WSDL file, see JAXRPublishService.java in the directory install/registry-samples/publish-service/src. This example publishes a simple WSDL file named MyCoffeeService.wsdl.
Go to the directory install/registry-samples/publish-service.
Type the following command:
Ant-base/ant run |
The output of the run target looks something like this:
run:
[java] Query URL is http://localhost:6480/soar/registry/soap
[java] Publish URL is http://localhost:6480/soar/registry/soap
[java] Created connection to registry
[java] Established security credentials
[java] Got registry service, query manager, and life cycle manager
[java] Created ExtrinsicObject from MyCoffeeService.wsdl
[java] Concept value: WSDL
[java] Classification scheme is ObjectType
[java] Set object type to WSDL
[java] Set MIME type to text/xml
[java] Service saved
[java] Extrinsic object key is urn:uuid:b4116cfd-4003-49c4-addb-c54ce7d07cd0
|