Hello Everyone, I am new to Web Services & need some help on it.
I am in process of porting my client application to Mac. For communication with server, client is using SOAP with WSDL (Web services Description language). To generate stubs on Mac I am using WSMakeStubs (command line tool from apple). I have chosen this as most of my code is in C++, so I am plannning to generate stubs in C++ & then integrate it with my application code. Purpose of using the Web Services is to get the API version from server (response is a string like "1.0"), Checking out & checking in the license etc. WSMakeStubs has generated a function VersionService::GetAPIVersionImmediate (this is a static function), code for this function is mentioned below. /*- * VersionService::GetAPIVersion */ CFTypeRef VersionService::GetAPIVersionImmediate(CFTypeRef /* Complex type http://version.localhost.com|GetAPIVersion */ in_parameters) { VersionService::GetAPIVersion _invocation; _invocation.setParameters(in_parameters); return _invocation.copyResultValue(); } I tried to call this function like : CFTypeRef versionRef = VersionService::GetAPIVersionImmediate(CFSTR(" https://test.localhost.net:8443/Version/services/Version?wsdl<https://sjcpcommgw01.localhost.net:8443/Version/services/Version?wsdl> ")); https://<https://sjcpcommgw01.localhost.net:8443/Version/services/Version?wsdl> test.<https://sjcpcommgw01.localhost.net:8443/Version/services/Version?wsdl> localhost.net:8443/Version/services/Version?wsdl<https://sjcpcommgw01.localhost.net:8443/Version/services/Version?wsdl>is the location of the wsdl file. i am able to browse this in firefox without any problem, but In am application I am always getting my versionRef as NULL. I sense that I am missing something here. Either I am not calling above function with appropriate argument or I need to do some custom handling related to this. Function parameter comment says "/* Complex type http://version.localhost.com|GetAPIVersion */". So my questions are : - What does "complex type" means in the function parameter. Do I need to provide the argument in some specific format for calling this function ? - Is there something else which I need to do in order to make it work ? Means doing some custom handing etc. if yes, Please tell me what is required. Any kind of help on this is highly appreciated. Thanks a lot for your help in advance. Cheers! _______________________________________________ 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]