Class: SOAP::LC
- Inherits:
-
Object
- Object
- SOAP::LC
- Defined in:
- lib/soap/lc.rb,
lib/soap/lc/version.rb
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
-
.[](uri) ⇒ Object
Create a new SOAP Lite client and set the WSDL URL Return a SOAP::WSDL object.
-
.wsdl(uri, binding = nil) ⇒ Object
Set the WSDL URL and return a SOAP::WSDL object.
Instance Method Summary collapse
-
#initialize ⇒ LC
constructor
Create a new SOAP Lite Client.
-
#wsdl(uri, binding = nil) ⇒ Object
Set the WSDL URL and return a SOAP::WSDL object.
Constructor Details
Class Method Details
.[](uri) ⇒ Object
44 45 46 |
# File 'lib/soap/lc.rb', line 44 def self.[]( uri ) SOAP::LC.wsdl( uri, nil ) end |
.wsdl(uri, binding = nil) ⇒ Object
Set the WSDL URL and return a SOAP::WSDL object
Parameters :
+uri+ : path to the WSDL
+binding+ : binding name (optional)
Example :
s = WSDL::LC.wsdl( "http://my.wsdl.com", "HelloService" )
# => #<SOAP::WSDL:0xNNNNNN>
34 35 36 |
# File 'lib/soap/lc.rb', line 34 def self.wsdl( uri, binding = nil ) SOAP::WSDL.new( uri, binding ) end |
Instance Method Details
#wsdl(uri, binding = nil) ⇒ Object
Set the WSDL URL and return a SOAP::WSDL object
Parameters :
+uri+ : path to the WSDL
+binding+ : binding name (optional)
Example :
s = WSDL::LC.new().wsdl( "http://my.wsdl.com", "HelloService" )
# => #<SOAP::WSDL:0xNNNNNN>
21 22 23 |
# File 'lib/soap/lc.rb', line 21 def wsdl( uri, binding = nil ) SOAP::WSDL.new( uri, binding ) end |