Re: Calling webservices from RR
Andre, Do you already have a some kind of demo stack from which I (and other interested persons on this list) can take a look at and learn from it? Just to get me started, if it is to confidential to share with the world, please contact me off-list, I'm really interested in what you did... Many thanks in advance, Ton Kuypers On 18-nov-05, at 19:37, Andre Garzia wrote: Hi There folks, welcome to the Revolution. As a matter of fact Rev can do webservices, any webservices you want as long as you can code. It's not as simply as some languages where you drop a WSDL file and all the methods are added. There are libraries for SOAP and XML-RPC. The SOAP library, I think its being redone at this moment, so the current one is deprecated, since I hate Soap I don't keep following it. The XML-RPC one (my choice for web services) work very fine. Before Rev sported a official XML-RPC library, I was able to code my own XML-RPC stack very easy. Revolution socket routines are very powerful, if you understand the string manipulation ones and the XML ones, then you can DIY anything that goes thru HTTP. If you want to use server side libraries instead of client ones, you must code your own, but they are easy to do, and if you also use libCGI they are even easier to do. You don't need altBrowser for that, but anyone working with Rev and web will find a very nice friend in both altBrowser and altSQLite. As it appears below, you're controlling both sides of the system, well, if you're making the client and the server in Rev, and your app won't need to interface with foreign clients then you can throw the standards to the wind and create your own web services spec as it suits you but keep in mind, both Soap and XML-RPC are just fancy XML, it's very easy to use them in Rev. Cheers andre PS: I'll try creating some demo stacks in the near future. On Nov 18, 2005, at 10:49 AM, Alessandro Manotti wrote: Hi, I had the same problem. I search in internet, and everything I found was an unofficial stack (it seems old...) to use soap. So I reached this conclusion: I use RunRev power to manage xml (not soap), then I create a jsp page (or javabean) in a Java server which will act as a service broker. So the hard job will be done in the server, then I send/receive data from/to RunRev in xml :-) Obviously, you can use any web server-language you wish (php, zope, python, perl, etc...). On 11/18/05, Ton Kuypers [EMAIL PROTECTED] wrote: Hi, Has anyone experience with using Windows Webservices from within Revolution applications and interacting with them? If not directly, maybe via altBrowser? Before I start testing en getting specs from the developers of these Webservices, it would be nice to know if I can use them... regards, Ton Kuypers ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Calling webservices from RR
Hi, Has anyone experience with using Windows Webservices from within Revolution applications and interacting with them? If not directly, maybe via altBrowser? Before I start testing en getting specs from the developers of these Webservices, it would be nice to know if I can use them... regards, Ton Kuypers ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Hi, I had the same problem. I search in internet, and everything I found was an unofficial stack (it seems old...) to use soap. So I reached this conclusion: I use RunRev power to manage xml (not soap), then I create a jsp page (or javabean) in a Java server which will act as a service broker. So the hard job will be done in the server, then I send/receive data from/to RunRev in xml :-) Obviously, you can use any web server-language you wish (php, zope, python, perl, etc...). On 11/18/05, Ton Kuypers [EMAIL PROTECTED] wrote: Hi, Has anyone experience with using Windows Webservices from within Revolution applications and interacting with them? If not directly, maybe via altBrowser? Before I start testing en getting specs from the developers of these Webservices, it would be nice to know if I can use them... regards, Ton Kuypers ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Hi There folks, welcome to the Revolution. As a matter of fact Rev can do webservices, any webservices you want as long as you can code. It's not as simply as some languages where you drop a WSDL file and all the methods are added. There are libraries for SOAP and XML-RPC. The SOAP library, I think its being redone at this moment, so the current one is deprecated, since I hate Soap I don't keep following it. The XML-RPC one (my choice for web services) work very fine. Before Rev sported a official XML-RPC library, I was able to code my own XML-RPC stack very easy. Revolution socket routines are very powerful, if you understand the string manipulation ones and the XML ones, then you can DIY anything that goes thru HTTP. If you want to use server side libraries instead of client ones, you must code your own, but they are easy to do, and if you also use libCGI they are even easier to do. You don't need altBrowser for that, but anyone working with Rev and web will find a very nice friend in both altBrowser and altSQLite. As it appears below, you're controlling both sides of the system, well, if you're making the client and the server in Rev, and your app won't need to interface with foreign clients then you can throw the standards to the wind and create your own web services spec as it suits you but keep in mind, both Soap and XML-RPC are just fancy XML, it's very easy to use them in Rev. Cheers andre PS: I'll try creating some demo stacks in the near future. On Nov 18, 2005, at 10:49 AM, Alessandro Manotti wrote: Hi, I had the same problem. I search in internet, and everything I found was an unofficial stack (it seems old...) to use soap. So I reached this conclusion: I use RunRev power to manage xml (not soap), then I create a jsp page (or javabean) in a Java server which will act as a service broker. So the hard job will be done in the server, then I send/receive data from/to RunRev in xml :-) Obviously, you can use any web server-language you wish (php, zope, python, perl, etc...). On 11/18/05, Ton Kuypers [EMAIL PROTECTED] wrote: Hi, Has anyone experience with using Windows Webservices from within Revolution applications and interacting with them? If not directly, maybe via altBrowser? Before I start testing en getting specs from the developers of these Webservices, it would be nice to know if I can use them... regards, Ton Kuypers ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Sorry Andre, you agree, RunRev can manage xml. But as you know, soap is not easy to be coded, even if you have powerful xml tools. But since soap is becoming much famous, I think Runtime Revolution company should provide a tested library (a lot of client and server programming languages already supply that). Furthermore, since RunRev is a perfect tool for rich-client creation, I think a good, full-featured, official library, should be definetively supplied. --Alessandro On 11/18/05, Andre Garzia [EMAIL PROTECTED] wrote: Hi There folks, welcome to the Revolution. As a matter of fact Rev can do webservices, any webservices you want as long as you can code. It's not as simply as some languages where you drop a WSDL file and all the methods are added. There are libraries for SOAP and XML-RPC. The SOAP library, I think its being redone at this moment, so the current one is deprecated, since I hate Soap I don't keep following it. The XML-RPC one (my choice for web services) work very fine. Before Rev sported a official XML-RPC library, I was able to code my own XML-RPC stack very easy. Revolution socket routines are very powerful, if you understand the string manipulation ones and the XML ones, then you can DIY anything that goes thru HTTP. If you want to use server side libraries instead of client ones, you must code your own, but they are easy to do, and if you also use libCGI they are even easier to do. You don't need altBrowser for that, but anyone working with Rev and web will find a very nice friend in both altBrowser and altSQLite. As it appears below, you're controlling both sides of the system, well, if you're making the client and the server in Rev, and your app won't need to interface with foreign clients then you can throw the standards to the wind and create your own web services spec as it suits you but keep in mind, both Soap and XML-RPC are just fancy XML, it's very easy to use them in Rev. Cheers andre PS: I'll try creating some demo stacks in the near future. On Nov 18, 2005, at 10:49 AM, Alessandro Manotti wrote: Hi, I had the same problem. I search in internet, and everything I found was an unofficial stack (it seems old...) to use soap. So I reached this conclusion: I use RunRev power to manage xml (not soap), then I create a jsp page (or javabean) in a Java server which will act as a service broker. So the hard job will be done in the server, then I send/receive data from/to RunRev in xml :-) Obviously, you can use any web server-language you wish (php, zope, python, perl, etc...). On 11/18/05, Ton Kuypers [EMAIL PROTECTED] wrote: Hi, Has anyone experience with using Windows Webservices from within Revolution applications and interacting with them? If not directly, maybe via altBrowser? Before I start testing en getting specs from the developers of these Webservices, it would be nice to know if I can use them... regards, Ton Kuypers ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
On Nov 18, 2005, at 7:59 PM, Alessandro Manotti wrote: Sorry Andre, you agree, RunRev can manage xml. But as you know, soap is not easy to be coded, even if you have powerful xml tools. But since soap is becoming much famous, I think Runtime Revolution company should provide a tested library (a lot of client and server programming languages already supply that). Furthermore, since RunRev is a perfect tool for rich-client creation, I think a good, full-featured, official library, should be definetively supplied. --Alessandro Our XML-RPC library is pretty easy to use. I do think someone is re- working SOAP library but I can't really tell if I've dreamed it or if this is actually real. :-) and yes, libraries should be supplied. Cheers andre PS: also for webservices there's REST. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Doesn't the built-in xmlrpc stuff in Rev work quite well? Or does it just need a better abstraction layer to make it more usable? On Nov 18, 2005, at 4:12 PM, Andre Garzia wrote: and yes, libraries should be supplied. ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, Revolution: Software at the Speed of Thought From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Dan, the xml-rpc works fine, anything more we need, it's easy to code on top. There's no SOAP though, and no server side libraries, but third parties can provide that in the future. Cheers andre On Nov 18, 2005, at 10:54 PM, Dan Shafer wrote: Doesn't the built-in xmlrpc stuff in Rev work quite well? Or does it just need a better abstraction layer to make it more usable? On Nov 18, 2005, at 4:12 PM, Andre Garzia wrote: and yes, libraries should be supplied. ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, Revolution: Software at the Speed of Thought From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Andre Is your XMLRPC demo site offline now? I dug up an old email where you talked about the demos you did at port 8082 (I think) on your server but that's non-responsive. Dan On Nov 18, 2005, at 5:03 PM, Andre Garzia wrote: Dan, the xml-rpc works fine, anything more we need, it's easy to code on top. There's no SOAP though, and no server side libraries, but third parties can provide that in the future. Cheers andre On Nov 18, 2005, at 10:54 PM, Dan Shafer wrote: Doesn't the built-in xmlrpc stuff in Rev work quite well? Or does it just need a better abstraction layer to make it more usable? On Nov 18, 2005, at 4:12 PM, Andre Garzia wrote: and yes, libraries should be supplied. ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, Revolution: Software at the Speed of Thought From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
On Nov 18, 2005, at 4:54 PM, Dan Shafer wrote: Doesn't the built-in xmlrpc stuff in Rev work quite well? Or does it just need a better abstraction layer to make it more usable? The current library needs some improvements. The library could use: * Support for adding an Transcript arrays to an XML-RPC request (STRUCTS and ARRAYS) * Ability to create an XML-RPC request from a Transcript array. If a rev developer could create an array that mimicked the request they wanted to make and just pass that to a function that sent the request off then life would be easier. * The ability to convert a response into a Transcript array. Ideally the library would allow the developer to interact with a web service without ever having to touch XML. Just native Transcript data types. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
On Nov 18, 2005, at 11:13 PM, Dan Shafer wrote: Andre Is your XMLRPC demo site offline now? I dug up an old email where you talked about the demos you did at port 8082 (I think) on your server but that's non-responsive. Dan Dan, my site is a little dead!!! :D I am putting a new one up, I'll re-do all the XML-RPC stuff as soon as the new site is up. (I am a better xtalker now, will avoid some bottlenecks) Cheers andre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Calling webservices from RR
Andre- I have to say the documentation on the xmlrpc functions leaves something to be desired. For example, the description of the following functions simply says More details to come: revXMLRPC_DeleteParam revXMLRPC_Execute revXMLRPC_Free revXMLRPC_Free (apparently it's an alias for itself) revXMLRPC_GetParam revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType Some of these are fairly intuitive as to what they're supposed to do. But it would be instructive to know, for example, what kinds of error revXMLRPC_Execute would return. I notice that revXMLRPC_Documents() will return an error starting with xmlrpcerr if it encounters an error, although I can't imagine what kind of an error it would run up against. RevXMLRPC_Free never does return an error in the result, so you never know whether it actually did delete your document or not. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution