|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weblab_project.core.util.ServiceUtil
public class ServiceUtil
Util class for changing the generated web services client address.
Method Summary | |
---|---|
static Analyser |
getAnalyserService(java.net.URL WSDLLocation,
java.net.URL analyserEndpointAddress)
Build a Analyser service from WSDL and web Service URL. |
static ContentConsumer |
getContentConsumerService(java.net.URL WSDLLocation,
java.net.URL contentConsumerEndpointAddress)
Build a ContentConsumer service from WSDL and web Service URL. |
static ContentProvider |
getContentProviderService(java.net.URL WSDLLocation,
java.net.URL contentProviderEndpointAddress)
Build a ContentProvider service from WSDL and web Service URL. |
static Indexer |
getIndexerService(java.net.URL WSDLLocation,
java.net.URL indexerEndpointAddress)
Build a Indexer service from WSDL and web Service URL. |
static Searcher |
getSearcherService(java.net.URL WSDLLocation,
java.net.URL searcherEndpointAddress)
Build a Searcher service from WSDL and web Service URL. |
static void |
setEndpointAddress(java.lang.Object port,
java.lang.String newAddress,
java.lang.String SOAPAction)
Replaces the SOAPAction and endpoint address of port by SOAPAction and newAddress . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setEndpointAddress(java.lang.Object port, java.lang.String newAddress, java.lang.String SOAPAction)
port
by SOAPAction
and newAddress
.
port
- An instance of BindingProvider
to have it's SOAPAction and endpoint address changed.newAddress
- The endpoint address to be used.SOAPAction
- The SOAPAction to be used.public static Analyser getAnalyserService(java.net.URL WSDLLocation, java.net.URL analyserEndpointAddress)
WSDLLocation
- The WSDL Location.analyserEndpointAddress
- The new endpoint address to be affected (using setEndpointAddress(Object, String, String)
.
public static ContentConsumer getContentConsumerService(java.net.URL WSDLLocation, java.net.URL contentConsumerEndpointAddress)
WSDLLocation
- The WSDL Location.contentConsumerEndpointAddress
- The new endpoint address to be affected (using setEndpointAddress(Object, String, String)
.
public static ContentProvider getContentProviderService(java.net.URL WSDLLocation, java.net.URL contentProviderEndpointAddress)
WSDLLocation
- The WSDL Location.contentProviderEndpointAddress
- The new endpoint address to be affected (using setEndpointAddress(Object, String, String)
.
public static Indexer getIndexerService(java.net.URL WSDLLocation, java.net.URL indexerEndpointAddress)
WSDLLocation
- The WSDL Location.indexerEndpointAddress
- The new endpoint address to be affected (using setEndpointAddress(Object, String, String)
.
public static Searcher getSearcherService(java.net.URL WSDLLocation, java.net.URL searcherEndpointAddress)
WSDLLocation
- The WSDL Location.searcherEndpointAddress
- The new endpoint address to be affected (using setEndpointAddress(Object, String, String)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |