The birth of a new SOAP Implementation
Off and on over the last week I've been working on a new SOAP implementation in Objective C. I'm building it as a framework for Mac OS X. This morning at 5:53 it took its first real breath and exchanged a hello world message with Axis.
Here's the code for the call.
NSDictionary *params = [NSDictionary dictionaryWithObject:@"John Boy"
forKey:@"name"];
id result = [KSSoapCall
callURI:@"http://localhost:9000/axis/HelloWorld.jws"
soapAction:@""
namespace:nil
methodName:@"sayHello"
params:params];
NSLog(@"And the result is: %@", result);
And here's the exciting result.
2002-02-16 05:53:01.538 Test[12079] And the result is: Hello John Boy
It has a long, long way to go before it's actually useful, but that first success is always exciting. Especially since I'm having to build a basic Objective C XML framework along the way too.
6:03:42 AM
|