SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 315 | Next

Ola Bini

"Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java"

After
you??™ve created the account, you need to find your AWS Access Key ID. You can do this by clicking
the button ???Your Web Services Account,??? choosing ???AWS Access Identifiers,??? and logging in. You
should replace my placeholder with your key in all places, or your code won??™t work.
If nothing else is noted in the text, all the code displayed can be run as is, from either
Ruby or JRuby. The SOAP4R library currently works well with both implementations, and you
won??™t use any Java features right now. Of course, when we turn to using Java classes for SOAP,
this changes.
Also, a Ruby/Amazon library exists that wraps these operations and makes them much
more usable. However, once again, that wouldn??™t help you when looking at SOAP services.
SOAP4R
SOAP4R is an implementation of a library that supports SOAP 1.1 and WSDL for Ruby. It is WS-I
compliant. It was first released in 2000 and has been distributed with Ruby for quite some time
now. It hasn??™t seen any significant updates in a while, but is pretty stable where it??™s at right now.
It was written by Hiroshi Nakamura, and can be a little hard to get right sometimes. One thing to
keep in mind is that the error messages you get might not always be so useful. In that case, it
always helps to turn on wire dumping, which lets you see the XML documents going out and
coming in as they are, without any parsing or processing. Because SOAP4R only supports SOAP
1.1, it can be limiting when trying to use it against new web services that use more advanced
features.


Pages:
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327