October 24, 2004

WSMakeStubs Bug

I just spent the best half of a day trying to figure out how to use web services in Apple's Cocoa environment using the WSMakeStubs utility. WSMakeStubs takes a WSDL file and creates all the stub code required so “in theory” you can just use this stub code to make web service calls. Well this would be true if it was implemented correctly. I found that everytime I tried to use it I would get the following message appear on the log output:

in _parseFault

After a while of pulling my hair out I found this great discussion thread that identifies a problem with the WSMakeStubs program which is easily fixed by changing a few lines in the generated code.

Well I am no longer getting the “in _parseFault” message, on to the next bug :)

Links
Post on CocoaBuilder.com about WSMakeStubs bug
CocoaBuilder.com Site

Posted by Egon Kuster at October 24, 2004 08:52 PM
Comments