class Sabo::WSDL::Document
- Sabo::WSDL::Document
- Reference
- Object
Defined in:
sabo/wsdl/document.crConstant Summary
-
ELEMENT_FORM_DEFAULTS =
["unqualified", "qualified"]
Constructors
-
.new(document : String, endpoint = nil, namespace = nil, service_name = nil, element_form_default = nil)
Accepts a WSDL document to parse.
Instance Method Summary
-
#document : String
Returns WSDL document.
-
#element_form_default : String
Returns the value of elementFormDefault.
-
#endpoint : URI
Returns the SOAP endpoint.
-
#namespace : String
Returns the target namespace.
-
#operation_input_parameters(key)
Returns a list of input parameters for a given +key+.
-
#operations : Hash(String, Types::Operation)
Returns a map of SOAP operations.
-
#parser
Parses the WSDL document and returns the
Parser
. -
#service_name : String
Returns the service name.
-
#soap_action(key)
Returns the SOAP action for a given +key+.
-
#soap_action_parameters(key)
Returns a list of parameter names for a given +key+
-
#soap_actions
Returns a list of available SOAP actions.
-
#soap_input(key)
Returns the SOAP input for a given +key+.
- #type_definitions
- #type_namespaces
-
#user_defined(namespace)
Returns whether the given namespace was defined manually.
-
#xml
Returns the raw WSDL document.
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.