Re: Complex data for webservices

2008-04-25 Thread Niklas Saers
Hi Jeff, thanks for writing http://iphonedevelopment.blogspot.com/2008/04/web-services-fun_18.html It is a very good writeup of many of the things we've discussed. :-) What's very relevant to our discussion is the fact that you don't mention having to delete half of the generated code. I'v

Re: Complex data for webservices

2008-04-24 Thread Niklas Saers
Sorry for sending the previous mail immaturely. I hit option-shift-D which I expected to give me the dictionary to look up my spelling, but which of course delivered my mail. ;-) The previous mail was complete, except for one suspicion: On Apr 24, 2008, at 10:31 AM, Niklas Saers wrote: One

Re: Complex data for webservices

2008-04-24 Thread Niklas Saers
Hi Jeff, thanks again for answering so quickly On Apr 23, 2008, at 4:25 PM, Jeff LaMarche wrote: When I try to access your WSDL, I get: Server Error in '/DummyWS' Application. Sorry about that, should be fixed now. Seems the development box ran out of diskspace. :-/ Generally, though, I d

Re: Complex data for webservices

2008-04-23 Thread Jeff LaMarche
When I try to access your WSDL, I get: Server Error in '/DummyWS' Application. Generally, though, I don't believe the response from a web service is a dictionary - I believe it's usually a string and I'm wondering why you are sending an empty dictionary - it would seem like nil would be a

Re: Complex data for webservices

2008-04-23 Thread Niklas Saers
Hi Jeff, and thanks for answering :-) On Apr 21, 2008, at 3:30 PM, Jeff LaMarche wrote: I'm no expert on Web Services on Objective-C, but I've been playing around with them a bit. One thing that I have discovered is that CFTypeRef is not _always_ a dictionary. In some cases, it wants a str

Re: Complex data for webservices

2008-04-21 Thread Jeff LaMarche
Niklas: I'm no expert on Web Services on Objective-C, but I've been playing around with them a bit. One thing that I have discovered is that CFTypeRef is not _always_ a dictionary. In some cases, it wants a string. For example, if you run WSMakeStubs on the National Weather Service's WSD

Re: Complex data for webservices

2008-04-21 Thread Niklas Saers
Just a short PS On Apr 21, 2008, at 1:45 PM, Niklas Saers wrote: TestAuthentication *WS = [[TestAuthentication alloc] init]; [WS setParameters:param]; NSLog(@"isComplete == %d, isFault == %d, true == %d", [WS isComplete], [WS isFault], YES); I hadn't noticed that static functions were also p

Re: Complex data for webservices

2008-04-21 Thread Niklas Saers
Just a short update with new questions: On Apr 20, 2008, at 2:07 PM, Niklas Saers wrote: So I know I have to create some kind of CFTypeRef, but how do I make a CFTypeRef object to match the Authentication class definition above? And how do I make a CFTypeRef to match an array of Authenticat

Complex data for webservices

2008-04-20 Thread Niklas Saers
Hi guys, I'm making a Cocoa based application that will communicate with a webservice that I've already written other applications for and works great. The server part is written in C# and uses SOAP as WS communication protocol. Now, I've made the stubs by WSMakeStubs -x ObjC -name testStu