intertwingly

It’s just data

null


Yesterday seemed to be bash SOAP day.  Contrasts were made between "a thing of beauty" and "absurd obfuscation".  These guys clearly see something I don't see.  In an effort to learn, I propose the following.  I have taken a simple request from the GoogleAPI and removed all inessential [pun intended] details.  The result uses only concepts described in the Gentle Introduction to SOAP.  What remains is not only WSDL compliant and but it also actually works with the live Google server.

Since a number of people feel pasionate about this, perhaps one of them could take the time to do the same for a message which works with the googleGateway and do a line by line comparison?

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Body>
    <gs:doGoogleSearch xmlns:gs="urn:GoogleSearch">
      <key>00000000000000000000000000000000</key>
      <q>absurd obfuscation</q>
      <start>0</start>
      <maxResults>10</maxResults>
      <filter>true</filter>
      <restrict/>
      <safeSearch>false</safeSearch>
      <lr/>
      <ie>latin1</ie>
      <oe>latin1</oe>
    </gs:doGoogleSearch>
  </SOAP:Body>
</SOAP:Envelope>