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 testStub -url http://mydomain.com/myService.asmx?WSDL
but most of my functions either accept or return arrays of complex
data types. That is, arrays of objects. I expected WSMakeStubs to
create stubs for these objects, but I apparently not with the line
above. How does Cocoa handle compex types? For instance, I have my
Authentication object that's defined:
Class Authentication:
String username
String password
int userlevel
The only definition I get I find in testStubs.h/m: - (void)
setParameters:(CFTypeRef /* Complex type webservices.mydomain.com/
mySpace|TestAuthentication */) in_parameters;
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 Authentication
objects?
Cheers
Nik
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]