<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body style="direction: ltr;" bidimailui-charset-is-forced="true"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#ffffff"
    text="#000000">
    <p style="margin-bottom: 0cm; margin-top: 0pt;">After hours of
      searching, scouring, absorbing it was determined that there was
      little hope of (currently) getting past Services 2.4 and REST
      returning a 404 error, so I switched to xmlrpc.</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">I have a simple
      script to hit my service from outside the site, fine-tuned a
      couple dozen times based on various recommendations, to currently
      be:</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">$url =
      <a class="moz-txt-link-rfc2396E" href="http://localhost/mydomain/services/xmlrpc">"http://localhost/mydomain/services/xmlrpc"</a>;<br>
      $ch = curl_init();<br>
      $data = 'method=my.method&amp;id=12345&amp;text=hello';<br>
      curl_setopt($ch, CURLOPT_POST, 1);<br>
      curl_setopt($ch, CURLOPT_POSTFIELDS, $data);<br>
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);<br>
      curl_setopt($ch, CURLOPT_URL, $url);<br>
      <br>
      $response = curl_exec($ch);<br>
      <br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">with $data as a
      string like above, I continuously receive: faultCode&nbsp; -32700&nbsp;&nbsp;&nbsp;
      faultString&nbsp; Parse error. Request not well formed.&nbsp; </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">If I change the
      postfields to be an
      array('method'=&gt;'my.method','id'=&gt;12345...&nbsp; I instead
      continuously receive a message that xmlrpc will only handle Post
      transactions.<br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=ISO-8859-1">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.2 (Linux)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGED" content="0;0">
      <em>I am a non sequitur. Beware, the contents were packaged where
        peanuts are processed.</em>
      <p style="margin-bottom: 0in;"><img
          src="cid:part1.06030204.06080704@ayendesigns.com"
          name="ayenlogo" align="LEFT" border="0" height="54"
          vspace="30" width="36"><font style="font-size: 8pt;" size="1">Ayen
Designs
        </font><font face="Times New Roman, serif"><font
            style="font-size: 8pt;" size="1"><br>
            388
            Bullsboro Drive #105 &middot; Newnan, Georgia 30263</font></font>
        <br>
        <font face="Times New Roman, serif"><font style="font-size:
            8pt;" size="1">404-271-9734<br>
            Web:<a href="http://ayendesigns.com/">ayendesigns.com</a><br>
            Blog:
            <a href="http://theaccidentalcoder.com/">theAccidentalCoder.com</a><br>
            Drupal:
            <a href="http://drupal.org/user/367108">j. ayen green</a>
            (367108)<br>
            IRQ: j_ayen_green<br>
            IM (Yahoo) baalwww&nbsp;&nbsp;&nbsp;&nbsp;(MSN)
            <a class="moz-txt-link-abbreviated" href="mailto:baalwww@yahoo.com">baalwww@yahoo.com</a><br>
            Skype: ayendesigns | Facebook: ayendesigns |
            Twitter: @ayendesigns</font></font></p>
      <p style="margin-bottom: 0in;"> <font face="Times New Roman,
          serif"><font style="font-size: 8pt;" size="1"><br>
            <br>
            Ayen
            Designs is the computer services division of <img
              src="cid:part2.05040401.02000607@ayendesigns.com"
              name="acmelogo" align="ABSMIDDLE" border="0" height="31"
              width="80"></font></font></p>
    </div>
  </body>
</html>