Module

SOAP

Inheritance

This program is copyrighted free software by NAKAMURA, Hiroshi. You can redistribute it and/or modify it under the same terms of Ruby‘s license; either the dual license version in 2003, or any later version.

Classes & Modules

Constants

Name   Description
AttrActor = 'actor'
AttrArrayType = 'arrayType'
AttrArrayTypeName = XSD::QName.new(EncodingNamespace, AttrArrayType).freeze
AttrEncodingStyle = 'encodingStyle'
AttrEncodingStyleName = XSD::QName.new(EnvelopeNamespace, AttrEncodingStyle).freeze
AttrMustUnderstand = 'mustUnderstand'
AttrMustUnderstandName = XSD::QName.new(EnvelopeNamespace, AttrMustUnderstand).freeze
AttrOffset = 'offset'
AttrOffsetName = XSD::QName.new(EncodingNamespace, AttrOffset).freeze
AttrPosition = 'position'
AttrPositionName = XSD::QName.new(EncodingNamespace, AttrPosition).freeze
AttrRoot = 'root'
AttrRootName = XSD::QName.new(EncodingNamespace, AttrRoot).freeze
Base64Literal = 'base64'
EleBody = 'Body'
EleBodyName = XSD::QName.new(EnvelopeNamespace, EleBody).freeze
EleEnvelope = 'Envelope'
EleEnvelopeName = XSD::QName.new(EnvelopeNamespace, EleEnvelope).freeze
EleFault = 'Fault'
EleFaultActor = 'faultactor'
EleFaultActorName = XSD::QName.new(nil, EleFaultActor).freeze
EleFaultCode = 'faultcode'
EleFaultCodeName = XSD::QName.new(nil, EleFaultCode).freeze
EleFaultDetail = 'detail'
EleFaultDetailName = XSD::QName.new(nil, EleFaultDetail).freeze
EleFaultName = XSD::QName.new(EnvelopeNamespace, EleFault).freeze
EleFaultString = 'faultstring'
EleFaultStringName = XSD::QName.new(nil, EleFaultString).freeze
EleHeader = 'Header'
EleHeaderName = XSD::QName.new(EnvelopeNamespace, EleHeader).freeze
EncodingNamespace = 'http://schemas.xmlsoap.org/soap/encoding/'
EnvelopeNamespace = 'http://schemas.xmlsoap.org/soap/envelope/'
LiteralNamespace = 'http://xml.apache.org/xml-soap/literalxml'
MediaType = 'text/xml'
NO_PROXY_HOSTS = ['localhost']
NextActor = 'http://schemas.xmlsoap.org/soap/actor/next'
PropertyName = 'soap/property'
SOAPNamespaceTag = 'env'
TypeMap = { XSD::XSDAnySimpleType::Type => SOAPAnySimpleType, XSD::XSDString::Type => SOAPString, XSD::XSDBoolean::Type => SOAPBoolean, XSD::XSDDecimal::Type => SOAPDecimal, XSD::XSDFloat::Type => SOAPFloat, XSD::XSDDouble::Type => SOAPDouble, XSD::XSDDuration::Type => SOAPDuration, XSD::XSDDateTime::Type => SOAPDateTime, XSD::XSDTime::Type => SOAPTime, XSD::XSDDate::Type => SOAPDate, XSD::XSDGYearMonth::Type => SOAPGYearMonth, XSD::XSDGYear::Type => SOAPGYear, XSD::XSDGMonthDay::Type => SOAPGMonthDay, XSD::XSDGDay::Type => SOAPGDay, XSD::XSDGMonth::Type => SOAPGMonth, XSD::XSDHexBinary::Type => SOAPHexBinary, XSD::XSDBase64Binary::Type => SOAPBase64, XSD::XSDAnyURI::Type => SOAPAnyURI, XSD::XSDQName::Type => SOAPQName, XSD::XSDInteger::Type => SOAPInteger, XSD::XSDNonPositiveInteger::Type => SOAPNonPositiveInteger, XSD::XSDNegativeInteger::Type => SOAPNegativeInteger, XSD::XSDLong::Type => SOAPLong, XSD::XSDInt::Type => SOAPInt, XSD::XSDShort::Type => SOAPShort, XSD::XSDByte::Type => SOAPByte, XSD::XSDNonNegativeInteger::Type => SOAPNonNegativeInteger, XSD::XSDUnsignedLong::Type => SOAPUnsignedLong, XSD::XSDUnsignedInt::Type => SOAPUnsignedInt, XSD::XSDUnsignedShort::Type => SOAPUnsignedShort, XSD::XSDUnsignedByte::Type => SOAPUnsignedByte, XSD::XSDPositiveInteger::Type => SOAPPositiveInteger, SOAP::SOAPBase64::Type => SOAPBase64, }
VERSION = Version = '1.5.5'
ValueArray = 'Array'
ValueArrayName = XSD::QName.new(EncodingNamespace, ValueArray).freeze
XSDNamespaceTag = 'xsd'
XSINamespaceTag = 'xsi'

Attributes

Name Visibility R/W Description
connect_timeout public RW
debug_dev public RW
no_proxy public RW
protocol_version public RW
proxy public R
receive_timeout public RW
send_timeout public RW
ssl_config public RW

Methods

Class

Visibility Signature
public new (proxy = nil, agent = nil)

Instance

Visibility Signature
public get_content (url, header = {})
public post (url, req_body, header = {})
public proxy= (proxy)
public reset (url)
public reset_all ()
public save_cookie_store (filename)
public set_basic_auth (uri, user_id, passwd)
public set_cookie_store (filename)
public test_loopback_response ()

Class Method Detail

new(proxy = nil, agent = nil)

Instance Method Detail

get_content(url, header = {})

post(url, req_body, header = {})

proxy=(proxy)

reset(url)

reset_all()

save_cookie_store(filename)

set_basic_auth(uri, user_id, passwd)

set_cookie_store(filename)

test_loopback_response()