|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is Web Service Discovery service API accessible using SOAP interface.
WS Discovery service is Utility Web Service which provides a way
how to expose web services hosted by a WSO2 SOA Enablement Server to outer web
sevices world.
Method Summary | |
boolean |
addKnownUddiRegistry(UddiRegistry uddiRegistry)
Add a registry to the list of known UDDI registries. |
void |
checkUddiRegistry(UddiRegistry uddiRegistry,
int method)
Check target UDDI registry. |
WsDiscoveryRecord |
customWebService2Uddi(UddiAccount uddiAccount,
java.lang.String wsdlBaseUri,
int method,
java.lang.String wsdlTModelUuid,
WaspServerProfile waspServerProfile,
TypedUuid typedUuid,
Ws2UddiCustomData ws2UddiCustomData,
boolean detectTModels)
Custom publish of a WSDL service implementation definition to a UDDI registry. |
UddiRegistry[] |
getKnownUddiRegistries()
Get the list of registries which are known to this Ws Discovery service. |
WsDiscoveryRecord |
getServicesHostedByWaspServers(UddiRegistry uddiRegistry,
WaspServerProfile waspServerProfile)
Get information about web services published into UDDI registry and hosted by a Systinet Server. |
WsDiscoveryRecord |
initializeRegistry(UddiAccount uddiAccount,
WaspServerProfile waspServerProfile)
Initialize content of UDDI registry for extended publishing. |
WsDiscoveryRecord |
isWebServicePublished(UddiRegistry uddiRegistry,
java.lang.String serviceEndpoint,
WaspServerProfile waspServerProfile)
Determine whether is the web service hosted by a WSO2 SOA Enablement Server described by waspServerProfile published in UDDI registry. |
WsDiscoveryRecord |
webService2Uddi(UddiAccount uddiAccount,
java.lang.String wsdlLocation,
int method)
Publish a web service described by WSDL document to a UDDI registry. |
WsDiscoveryRecord |
webServiceInterface2Uddi(UddiAccount uddiAccount,
java.lang.String wsdlLocation,
int method)
Publish web service interface to a UDDI registry based on the choosen method. |
Method Detail |
public void checkUddiRegistry(UddiRegistry uddiRegistry, int method) throws WsDiscoveryException
uddiRegistry
- UDDI registry about to be checked.method
- the method how is the registry checked:
COMMON_REGISTRY_CHECK
: checks registry accessibility only.EXTENDED_REGISTRY_CHECK
: check the registry accessibility and
whether it is initialized for extended publishes (well known tModels, etc.).WsDiscoveryException
- exception which denotes problem.public UddiRegistry[] getKnownUddiRegistries() throws WsDiscoveryException
WsDiscoveryException
- exception which denotes problem.public boolean addKnownUddiRegistry(UddiRegistry uddiRegistry) throws WsDiscoveryException
uddiRegistry
- UDDI registry about to be added.
false
if the registry is already known (inquiry and publishing ports),
on successfull add returns true
.
WsDiscoveryException
- exception which denotes problem.public WsDiscoveryRecord initializeRegistry(UddiAccount uddiAccount, WaspServerProfile waspServerProfile) throws WsDiscoveryException
waspServerProfile
- WSO2 SOA Enablement Server host profile.
WsDiscoveryException
- exception which denotes a problem.public WsDiscoveryRecord webService2Uddi(UddiAccount uddiAccount, java.lang.String wsdlLocation, int method) throws WsDiscoveryException
uddiAccount
- target UDDI account.method
- how WSDL file should be published:
UDDI_ORG_BEST_PRACTICE_1_05
: according to uddi.org
best practice document .
SYSTINET_APPROACH_1_0
: according to Systinet
best practice document .
WsDiscoveryException
- exception which denotes problem.Constants
public WsDiscoveryRecord webServiceInterface2Uddi(UddiAccount uddiAccount, java.lang.String wsdlLocation, int method) throws WsDiscoveryException
uddiAccount
- target UDDI account.method
- how WSDL file should be published:
UDDI_ORG_BEST_PRACTICE_1_05
: according to uddi.org
best practice document .
SYSTINET_APPROACH_1_0
: according to Systinet
best practice document .
WsDiscoveryException
- exception which denotes problem.public WsDiscoveryRecord customWebService2Uddi(UddiAccount uddiAccount, java.lang.String wsdlBaseUri, int method, java.lang.String wsdlTModelUuid, WaspServerProfile waspServerProfile, TypedUuid typedUuid, Ws2UddiCustomData ws2UddiCustomData, boolean detectTModels) throws WsDiscoveryException
uddiAccount
- target UDDI account.wsdlBaseUri
- location of the source WSDL file.method
- how WSDL document should be published:
UDDI_ORG_BEST_PRACTICE_1_05
: according to uddi.org
best practice document .
UDDI_ORG_BEST_PRACTICE_1_05_EXTENDED
: according to uddi.org
best practice document
with extended categorization which simplifies inquiries and
assigns a WSO2 SOA Enablement Server to the published web service so it is possible
to determine all web services hosted by particular WSO2 SOA Enablement Server.
SYSTINET_APPROACH_1_0
: according to Systinet
best practice document .
SYSTINET_APPROACH_1_0_EXTENDED
: according to Systinet
best practice document .
with extended categorization which simplifies inquiries and
assigns a WSO2 SOA Enablement Server to the published web service so it is possible
to determine all web services hosted by particular WSO2 SOA Enablement Server.
wsdlTModelUuid
- use this TModel instead of publishing new one.waspServerProfile
- this parameter is mandatory for EXTENDED
methods.
This structure should hold information about WSO2 SOA Enablement Server which
hosts published web service.typedUuid
- this parameter allows you to control the root entity which will be published
by this method. The default behavior (when this parameter is equal to null)
is that the root entity is business entity. It means that business
entity, business service(s) and binding template(s) is/are
published.typedUuid
field.detectTModels
- if this option is true
, then there is made a detection
made before new tModel is published, else new tModels are always
published with no regards to registry content.
WsDiscoveryException
- exception which denotes problem.Constants
public WsDiscoveryRecord getServicesHostedByWaspServers(UddiRegistry uddiRegistry, WaspServerProfile waspServerProfile) throws WsDiscoveryException
uddiRegistry
- target UDDI registry.waspServerProfile
- is optional parameter. If it is omitted (null
),
then all the services hosted by WSO2 SOA Enablement Servers are returned.
WsDiscoveryException
- exception which denotes problem.public WsDiscoveryRecord isWebServicePublished(UddiRegistry uddiRegistry, java.lang.String serviceEndpoint, WaspServerProfile waspServerProfile) throws WsDiscoveryException
waspServerProfile
published in UDDI registry.
uddiRegistry
- target UDDI registry.serviceEndpoint
- web service endpoint.waspServerProfile
- mandatory parameter which holds web service host.
WsDiscoveryException
- exception which denotes problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |