Essays:

Userland -
-



Sam Ruby
< It's just data >

Updated: 9/1/2002; 7:01:43 PM.

Monday, February 04, 2002

RTFM... Thanks Simon. Now lets see if this works: Hello Dave!
  7:03:20 PM    

Kimbro Staken writes: Actually Sam is incorrect, they're cloning the .Net class library which isn't part of the ECMA standard.  Actually, the base class library is a part of the standard.  Mono also is apparently going beyond the standard.  So we both are a little wrong.  By the way, look closer at this.  Four lines from the bottom.
  3:32:35 PM    

Always follow instructions.  Paricularly this one.  I guess I got too excited and skipped a few steps.  Oops.
  2:44:21 PM    

New navigator link (on right) SOAP-ENV.  Looks worth following.
  1:42:46 PM    

Interoperability of Web Services: Seeing is believing
  1:26:44 PM    

OK, I modified Dave's script thus:

<%params = {Dave}; xml.rpc ("127.0.0.1", 1234, "radio.helloWorld", @params, protocol:SOAP, soapAction:"/examples")%>

Note the change in the port number (so I can capture the messages) and in the protocol.

And now have a helloWorld.txt in *both* the H:Program FilesRadio UserLandWeb Services and H:Program FilesRadio UserLandWeb Servicesexamples.  But I still get a Macro error as the name "helloWorld" hasn't been defined.  So I can't see what SOAP responses are generated, but here's the request (some white space added for readability):

<?xml version="1.0"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"> <SOAP-ENV:Body> <helloWorld> <param1 xsi:type="xsd:string">Dave</param1> </helloWorld> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

Note the lack of a namespace on the body. Unfortunately, this makes it difficult for implementations like Apache SOAP to interoperate for reasons I detail here. The good news is that the situation gets a bit better in Axis.


  12:54:36 PM    

The biggest upset: game beats ads.
  10:11:41 AM    

Dave has written an excellent article.  It tells how easy it is to create web services with Radio 8.  And he is right, it truly is easy.  I wish that was the whole story and I could be done with it.  Unfortunately, I have one question.

Without the answer to that question, I can't access the web services using the SOAP stack I have participated in developing - Apache Axis.  There may be other questions too, like what are the parameter names?  These are the types of problems we faced last April when a bunch of soapbuilders got together.  SOAP stack A would interop well with SOAP stack A.  SOAP stack B would interop well with SOAP stack B.  SOAP stack A's messages were 100% SOAP compliant.  So were SOAP stack B's.  But SOAP stack A didn't interop well with SOAP stack B because they both were based on different assumptions.

I don't have a secret decoder ring.  I can't read your mind.  On the other hand, I'm sure I can capture the wire messages that are sent back and forth by Radio and reverse engineer them successfully.  And I undoubtedly will find that the assumptions you made were simple and reasonable.  Unfortunately, there are several dozen SOAP implementations, each with different, simple (to them), and reasonable (to them) assumptions.

The solution is simple.  Documentation.  Preferably in an XML format.  One with lots of room for human readable content.  This is the second cable that we need to hoist as a part of this bootstrap process.


  9:49:53 AM    

Keith Ballinger is starting to document how to write a WSDL.  Don't forget to mention wsdl document elements - humans are people too!  Sorry Keith for mispelling your name the first time.
  8:07:02 AM    





February 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28    
Jan   Mar

Click to see the XML version of this web page.


Related: Help link
Jon's Radio
Simon Fell > Its just code
BitWorking
The .NET Guy
Better Living Through Software
KeithBa's Blog
Web Hosting
REST + SOAP

Click here to visit the Radio UserLand website.

currently subscribed to:

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. 0xDECAFBAD RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Be Blogging RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Bitworking RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Bright Eyed Mister Zen RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Chris Dix's Thoughtpost RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Clemens Vasters: Enterprise Development & Alien Abductions RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. deem RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. dive into mark RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. DJ's Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Don Box's Spoutlet RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Eclectic RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. ericfreeman.com RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Ernie the Attorney RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Glen Daniels : it's all just metadata... RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Gordon Weakliem's Radio Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Greg Reinacker's Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Guido Casper's Radio Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. IK.VM.NET Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Ingo Rammer's DotNetCentric RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. It's Like Déjà Vu All Over Again RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. James Duncan Davidson RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Joel on Software RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Jon's Radio RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Lambda the Ultimate RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Loosely Coupled weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Patrick Logan's Radio Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Peter Drayton's Radio Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. raelity bytes RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Ray Ozzie's Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Sam Gentile's Radio Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Sam Ruby RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Sanjiva Weerawarana's Radio Weblog RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. sellsbrothers.com: Windows Developer News RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Simon Fell RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. snellspace RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. The .NET Guy RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Tim Ewald's Ideas about XML and Web Services RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. toolbox RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. Wavicle RSS link

Radio UserLand users: click to subscribe. Other folks: use the RSS link to acquire this channel. www.davidwatson.org RSS link

Here's how this works.


Last update: 1/25/2002; 7:23:12 AM

© Copyright 2002 Sam Ruby

-