I had big blogging plans today…I was going to start posting on my impending “enterprise service bus rides”, and for good measure, I was going to prepare a “What is Business-Driven Architecture” post.
Instead, I’ve been trying to invoke StrikeIron’s Reverse Phone Lookup from a PHP5.1.1 client. The challenge, at least for me, is the service requires a SOAP header for id/password. I was following the code sample and getting nowhere. Then,
it (finally) occurred to me to run the code sample. Well, it doesn’t work either!
So, if anyone out there knows the secret to making this work – getting the service to recognize I actually have passed in a phone number — please let me know! I can see you all typing, “use a Java Client, or a REST interface!”
How did I get down this path? I’m looking for existing assets to use in my enterprise service bus rides, and I find the StrikeIron story intriguing. As for why I thought to test with PHP, using PHP for SOAP services when you aren’t messing with the header can be this simple:
$client = new SoapClient(“http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl”);
Oh well, tomorrow’s another day…
update 03-14-2006 8:02PM – My head hurts so much I forgot to attribute the code sample, it came from here.