Tag Archive for 'soap'

More SOAP Related issues

I’ve pretty much given up on this project (Going to be doing the AJAX calls for Google Search… definitely going to be posting another happy post later…). Thinking through Marc’s Question/Comment of why I didn’t use the SOAP libraries that PHP came with, I decided to change a single line in the PHP code to make things work.

From:

$soapclient = new Soap_Client('http://api.google.com/search/beta2');

To:

$soapclient = new SoapClient('http://api.google.com/search/beta2');

Notice the difference? I guess there really wasn’t a reason to even look at NuSOAP, but I really didn’t know too much SOAP back then, and didn’t even know that there was a native PHP library for it.

Now the problem is this error that I keep getting, regardless of using the core PHP implementation of SOAP or NuSOAP:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t find in ‘http://api.google.com/search/beta2′ in /Users/jk/Sites/google/index.php:32 Stack trace: #0 /Users/jk/Sites/google/index.php(32): SoapClient->SoapClient(’http://api.goog…’) #1 {main} thrown in /Users/jk/Sites/google/index.php on line 32

If anyone has any insight on what the heck this is talking about, do leave me some love. From this point on, if this problem does get fixed, it’ll just purely be for fun, and not for an actual project. I mean, the Google API Key that I have for this project isn’t even mine anyway: It’s from a co-worker.

wasdfps

Lent commitment included nothing about games… crap. Games stopped “playing” (Pun! YES! BINGO!) any discernible role in my life maybe a year ago, so I guess I kinda left them out.

Okay, let me vent a little bit, before I go back and start to cry, looking at my code.

Right now, I feel like my code is shooting me in the face. With an AWP. (Oh, I miss those days… sorta kinda… all those wasted hours on a silly game from the 90s…) I have no weapons to speak of. (Do I get points for really bad metaphors, too?) I’m having one of the hardest times figuring out why my “include” and “require” aren’t doing as they’re supposed to be.

Sidenote: Currently working on: Google SOAP calls to customize the Google search page. All I have to do is include NuSOAP. What the heck is going on? (And like half the links to the sourceforge for NuSOAP is down for some random reason…)

Now… Wasn’t That Roundabout

Okay, back to the point of the post.

  • WASD: the four buttons needed for any first person shooter game
  • ASDF: just another ridiculous computer nerd “joke”… I love typing “asdf”…
  • FPS: first person shooter

Add the three together to get: wasdfps. I have no idea why this is funny. In about 30 seconds, I’m going to look back and say, “who wrote this garbage?”.

Regardless, this sucker’s copyrighted JK 2007 style.

Okay, back to work.