Package DE_EPAGES::WebService::API::WebService::MetaService
Provides meta information about installed web services.
Example |
use DE_EPAGES::WebService::API::Client; my $MetaService = DE_EPAGES::WebService::API::Client ->uri('urn://epages.de/WebService/MetaService/2015/11') ->proxy("http://%2fUsers%2f$Login:$Password\@localhost:8080/epages/Store.soap"); my $URI = $MetaService->getLatestWebServiceURI('ShopService')->result; |
Functions
existsWebServiceMethod
Checks if a web service (loaded by the given URI) can execute the given method. Useful if you don't know the exact version of the web service, e.g. during a patch.
Syntax |
$MetaService->existsWebServiceMethod($URI, $Method); |
Example |
$MetaService->existsWebServiceMethod($ShopService->uri, 'registerUnity'); |
Input |
|
Return |
|
getLatestWebServiceURI
Founds the latest installed web service by the given alias. E.g. input 'ShopService' => result 'ShopService2' (as loaded object) input 'OrderService' => result 'OrderService12' (as loaded object)
Syntax |
$MetaService->getLatestWebServiceURI($Alias); |
Example |
$MetaService->getLatestWebServiceURI('ShopService'); |
Input |
|
Return |
|