Sha256: cb7208578f313f3bf6763014328ae64bbf0ba6739ce564d4d1f82d6b7d158ab6

Contents?: true

Size: 1.57 KB

Versions: 4

Compression:

Stored size: 1.57 KB

Contents

#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/EndpointResolverDriver.rb'


module Postini::API::EndpointResolver

endpoint_url = ARGV.shift
obj = EndpointResolverPort.new(endpoint_url)

# run ruby with -d to see SOAP wiredumps.
obj.wiredump_dev = STDERR if $DEBUG

# SYNOPSIS
#   GetServiceEndpoint(parameters)
#
# ARGS
#   parameters      GetServiceEndpoint - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}GetServiceEndpoint
#
# RETURNS
#   parameters      GetServiceEndpointResponse - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}GetServiceEndpointResponse
#
# RAISES
#   fault           AdminBlockException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}AdminBlockException
#   fault           InternalException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}InternalException
#   fault           InvalidValueException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}InvalidValueException
#   fault           MalformedKeyException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}MalformedKeyException
#   fault           MissingElementException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}MissingElementException
#   fault           NoSuchKeyException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}NoSuchKeyException
#   fault           UnknownEmailException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}UnknownEmailException
#   fault           UnknownInternalException - {http://postini.com/PSTN/SOAPAPI/v2/endpointresolver}UnknownInternalException
#
parameters = nil
puts obj.getServiceEndpoint(parameters)




end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
postini-0.0.1 lib/postini/api/endpointresolver/EndpointResolverServiceClient.rb
postini-0.0.2 lib/postini/api/endpointresolver/EndpointResolverServiceClient.rb
postini-0.0.3 lib/postini/api/endpointresolver/EndpointResolverServiceClient.rb
postini-0.0.6 lib/postini/api/endpointresolver/EndpointResolverServiceClient.rb