class Sabo::WSDL::Parser

Defined in:

sabo/wsdl/parser.cr

Constant Summary

SOAP_1_1 = "http://schemas.xmlsoap.org/wsdl/soap/"
SOAP_1_2 = "http://schemas.xmlsoap.org/wsdl/soap12/"
WSDL = "http://schemas.xmlsoap.org/wsdl/"
XSD = "http://www.w3.org/2001/XMLSchema"

Constructors

Instance Method Summary

Constructor Detail

def self.new(document : XML::Node) #

[View source]

Instance Method Detail

def deferred_types : Array( -> Nil) #

Returns a map of deferred type Proc objects.


[View source]
def document : XML::Node #

Returns the XML document.


[View source]
def element_form_default : String #

Returns the elementFormDefault value.


[View source]
def endpoint : URI #

Returns the SOAP endpoint.


[View source]
def input_for(operation) #

[View source]
def input_output_for(operation, input_output) #

[View source]
def messages : Hash(String, XML::Node) #

Returns the SOAP messages.


[View source]
def namespace : String #

Returns the target namespace.


[View source]
def namespaces : Hash(String, String) #

Returns a map from namespace identifier to namespace URI.


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

Returns the SOAP operations.


[View source]
def output_for(operation) #

[View source]
def parse #

[View source]
def parse_deferred_types #

[View source]
def parse_endpoint #

[View source]
def parse_imports #

[View source]
def parse_messages #

[View source]
def parse_namespaces #

[View source]
def parse_nodes_with_name(root_node : XML::Node, name : String) #

[View source]
def parse_operations #

[View source]
def parse_operations_parameters #

[View source]
def parse_port_type_operations #

[View source]
def parse_port_types #

[View source]
def parse_service_name #

[View source]
def parse_types #

[View source]
def parse_url(url) #

[View source]
def port_type_operations : Hash(String, Hash(String, XML::Node)) #

Returns the SOAP port type operations.


[View source]
def port_types : Hash(String, XML::Node) #

Returns the SOAP port types.


[View source]
def process_type(namespace, type, name) #

[View source]
def root #

[View source]
def schemas #

[View source]
def section(section_name) #

[View source]
def sections #

[View source]
def service #

[View source]
def service_name : String #

Returns the SOAP Service Name


[View source]
def types : Hash(String, Sabo::WSDL::Types::ComplexType) #

Returns a map from a type name to a Types::ComplexType object with type information.


[View source]