RubyCocoa Web Services

T

Tim Perrett

Hey all

If I wanted to access a web service within ruby cocoa, would i need to
do...

OSX::NSBundle.bundleWithPath("/path/to/WebServiceCore.framwork").ocm_send:)load)

and then use the OOC bridge within that, or is it possible to use the
nice ruby wrapper SOAP4R? If i wanted to use that wouldnt i need to make
it a descendant of NSObject?

Thanks

Tim
 
F

Fujimoto Hisa

If I wanted to access a web service within ruby cocoa, would i need to
do...

OSX::NSBundle.bundleWithPath("/path/to/
WebServiceCore.framwork").ocm_send:)load)

You can use require_framework to load a framework with RubyCocoa 0.10
or later. Though it may be not worked for WebServieCore:

OSX.require_framework "CoreGraphics"
and then use the OOC bridge within that, or is it possible to use the
nice ruby wrapper SOAP4R? If i wanted to use that wouldnt i need to
make
it a descendant of NSObject?

SOAP4R never depend on NSObject/Cocoa/Mac OS. Why do you need to do
that?
that is you can just use it regardless of NSObject.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top