class Sabo::WSDL::Document

Defined in:

sabo/wsdl/document.cr

Constant Summary

ELEMENT_FORM_DEFAULTS = ["unqualified", "qualified"]

Constructors

Instance Method Summary

Constructor Detail

def self.new(document : String, endpoint = nil, namespace = nil, service_name = nil, element_form_default = nil) #

Accepts a WSDL document to parse. document can be a file path, uri or xml content.


[View source]

Instance Method Detail

def document : String #

Returns WSDL document. Can be a file path, uri or xml content.


[View source]
def element_form_default : String #

Returns the value of elementFormDefault.


[View source]
def endpoint : URI #

Returns the SOAP endpoint.


[View source]
def namespace : String #

Returns the target namespace.


[View source]
def operation_input_parameters(key) #

Returns a list of input parameters for a given +key+.


[View source]
def operations : Hash(String, Types::Operation) #

Returns a map of SOAP operations.


[View source]
def parser #

Parses the WSDL document and returns the Parser.


[View source]
def service_name : String #

Returns the service name.


[View source]
def soap_action(key) #

Returns the SOAP action for a given +key+.


[View source]
def soap_action_parameters(key) #

Returns a list of parameter names for a given +key+


[View source]
def soap_actions #

Returns a list of available SOAP actions.


[View source]
def soap_input(key) #

Returns the SOAP input for a given +key+.


[View source]
def type_definitions #

[View source]
def type_namespaces #

[View source]
def user_defined(namespace) #

Returns whether the given namespace was defined manually.


[View source]
def xml #

Returns the raw WSDL document. Can be used as a hook to extend the library.


[View source]