7

Sudzc (www.sudcz.com) appears that it is no longer a project that is being contributed to!

After a year of no commits and some serious bugs especially with returning list of objects this helpful tool appears to be fading into the black holes of the internet.

I was wondering if anyone knew of an alternative tool that works the same way as this?

Or are soap requests no longer a preferred method of data transfer? Is json a better approach using rest clients?

Bonus question: Is there a way to make sudzc handle a returned list of objects

Matt
  • 2,803
  • 9
  • 33
  • 57

2 Answers2

3

Some alternatives are:

This answer mentions another alternative, wsdl2objc.

Community
  • 1
  • 1
Ric Santos
  • 15,419
  • 6
  • 50
  • 75
0

Within the generated SoapRequest.m file there you can find the implementation of

- (void) connectionDidFinishLoading:(NSURLConnection *) connection

Look for

if([deserializeTo respondsToSelector: @selector(initWithNode:)])
{
    element = [element childAtIndex:0];
    output = [deserializeTo initWithNode: element];
}

and remove the line with "element = [...]". If you do so keep in mind that you could have to do fixes in other parts of your generated .m files because of this change. This depends heavily on your WebService layout. Hope this helps.

TRD
  • 1,027
  • 11
  • 20