Ruby and the SOAP RunTime (SRT) Handler- October 31, 2006 Following on from my previous post about Ruby, Ruby on Rails, and SAP Web Services Integration - I would like to show how to switch to using the SOAP RunTime (SRT) Handler, which makes available SAP Web Services via Virtual Interfaces. Steps Follow the steps outlined in Ruby, Ruby on Rails, and SAP Web Services Integration upgrading sapwas to at least version 0.06, and sap4rails to at least version 0.05, making sure that the soaprfc handler works correctly. Create the Virtual Interface, Web.http://www.piersharding.com/blog/archives/2006/10/ruby_and_the_so.html sap4rails 0.07 - SAP RFC and auto-reconnect- October 23, 2006 I released sap4rails 0.07 this week, which corrects a problem with RFC connections not reconnecting correctly (this is using saprfc as the driver - there is no similar issue wtih the sapwas driver, which uses stateless HTTP). This is especially important when the R3 (ABAP) application server your Rails application is connected to goes down temporarily (or indeed any other temporary communication disturbance). Before an RFC call is executed, the conection is ping checked, and then a single...http://www.piersharding.com/blog/archives/2006/10/sap4rails_007_s.html sapwas for Ruby and HTTPS- October 18, 2006 sapwas for Ruby now enables SAP Web Services to be called via HTTPS. This first requires you to setup SSL support in NW4 - which isn't too much trouble if you follow Gregors' excellent advice here. Once that is in place, then it is just a matter of structuring the URL coorectly, as described in this example: require "SAPWAS" was = SAP::WAS.new(:url = "https:seahorse.local.net:8443sapbcsrtrfcsapZ_RFC_READ_REPORT_01", :lang = "EN", :client = "010", .http://www.piersharding.com/blog/archives/2006/10/sapwas_for_ruby.html Ruby, Ruby on Rails, and SAP Web Services Integration- October 15, 2006 Something I like about Scripting Languages is the way they revel in having "more than one way to skin a cat". So, in this spirit I have built a complementary interface to saprfc (for Ruby) called sapwas, that facilitates RFC calls via SAP Web Services. This has been integrated into sap4rails, and the attached example demonstrates how to substitue Web Services for RFC integration in Ruby on Rails. SAP Web Services vs RFC Other than curiosity, there is another motivation for trying this out..http://www.piersharding.com/blog/archives/2006/10/ruby_ruby_on_ra.html Changing parameters in saprfc for Ruby- October 12, 2006 saprfc for Ruby now has the ability to pass Changing type parameters. These are an evolution of import, and export parameter types rolled into one. this functionality is available from release 0.31. This example shows the standard test RFC where COUNTER is a changing type parameter - the value is incremented on each pass: iter = 10 rfc = SAP::Rfc.new(...) look up the interface definition for an RFC i = rfc.discover("STFC_CHANGING") i.counter.value = 0 iter.times cnt puts "nnnnnITERATION..http://www.piersharding.com/blog/archives/2006/10/changing_parame.html SAP::Rfc and saprfc UNICODE support for win32- October 11, 2006 Over the last few weeks I have been working with Olivier to work through the compiling issues to make UNICODE support for SAP::Rfc for Perl, and saprfc for Ruby available under win32. These both require iconv for the charset conversion, but you need not worry about that as they have been compiled for you as PPD, and GEM respecitvely.http://www.piersharding.com/blog/archives/2006/10/saprfc_and_sapr_1.html SAP the Enterprise, and Rails interest is building- October 10, 2006 I've just recently had contact from Lance, at the Engine Yard, who specialise in Rails applicaition development, and Hosting. These guys recognise that for their more Enterprise related clients, there is likely to be an SAP related dimension to their requirements. To me - this kind of interest shows that Ruby on Rails is making a step change in it's progress through the world of IT, where it will likely start penetrating into the Enterprise software development market.http://www.piersharding.com/blog/archives/2006/10/sap_and_rails_i.html IM for SAP with Jabber (XMPP)- October 6, 2006 Jabber and IM is very much in the ascendancy at the moment, thanks to Google Talk which uses the very same XMPP protocol for messaging. With this in mind I would like to demonstrate how to easily integrate at least some minimal IM capability into SAP, being able to pass basic messages back and forth between IM accounts and R3 accounts, and then to touch on the potential for IM beyond this. A bit of background XMPP Is an XML streaming protocols for instant messaging and presence developed...http://www.piersharding.com/blog/archives/2006/10/im_for_sap_with.html |