Run the example in Creating a Service by Publishing a WSDL File: Example.
Go to the directory install/registry-samples/organizations.
Type the following commands:
Ant-base/ant pub-org Ant-base/ant pub-org-nopc |
The output of the pub-org target looks something like this:
pub-org:
[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] Organization URN is urn:uuid:f4fa131c-7c17-4a02-910f-8f1f48ef9fbe
[java] User URN is urn:uuid:d5db8b2c-a282-42db-9797-c12bc560bf33
[java] Service URN is urn:Foo:service:MyCoffeeService
[java] Organization saved
|
The output of the pub-org-nopc target looks something like this:
pub-org-nopc:
[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] Organization URN is urn:uuid:9fcc62e9-3eb9-4af2-befd-b1f4bd50ba90
[java] Organization saved
|
Run the search-org target described in Retrieving Organization Attributes: Example to find the organizations.
Type a command like the following:
Ant-base/ant search-org -Dorg=break |
The output begins something like this:
search-org:
[java] Search string is break
[java] Query URL is http://localhost:6480/soar/registry/soap
[java] Created connection to registry
[java] Got registry service and query manager
[java] Org name: The ebXML Coffee Break
[java] Org description: Purveyor of the finest coffees. Established 1905
[java] Org unique id: urn:uuid:f4fa131c-7c17-4a02-910f-8f1f48ef9fbe
[java] Org logical id: urn:uuid:f4fa131c-7c17-4a02-910f-8f1f48ef9fbe
[java] Org version: 1.1
[java] Retrieving audit trail for organization
[java] The ebXML Coffee Break created 2007-07-22 22:54:43.0
...
|
To find DefaultPCOrg, type a command like the following:
Ant-base/ant search-org -Dorg=def |
The output begins something like this:
search-org:
[java] Search string is def
[java] Query URL is http://localhost:6480/soar/registry/soap
[java] Created connection to registry
[java] Got registry service and query manager
[java] Org name: DefaultPCOrg
[java] Org description: Org with default primary contact
[java] Org unique id: urn:uuid:9fcc62e9-3eb9-4af2-befd-b1f4bd50ba90
[java] Org logical id: urn:uuid:9fcc62e9-3eb9-4af2-befd-b1f4bd50ba90
[java] Org version: 1.1
[java] Retrieving audit trail for organization
[java] DefaultPCOrg created 2007-07-22 22:57:01.0
...
|