Web Services
Web Services
- Subject: Web Services
- From: Fred McCann <email@hidden>
- Date: Mon, 14 Mar 2005 09:02:59 -0800 (PST)
I'm
trying to write an OS X application as a front end to java middleware.
I would like to use SOAP web services to communicate with the server.
I'm running into a number of issues just getting off the ground.
1. Core Web Services seems to have problems. WSMakeStubs doesn't handle
complex types well and I'm having problems getting WebServices Core to
handle simple xsd:int properties on objects.
2. I've evaluated gSOAP to create web service consumers in C and C++.
It took some effort to get this working. The problem I'm having here is
that the results of calling web services in this fashion are C structs
or C++ objects, which aren't very useful for plugging into Objective-C
based widgits. To use this as a solution, it appers that I'd have to
write a layer on top of gSOAP to convert C structs or C++ objects to
Objective-C objects. Even for simple domain models, I can see this
getting out of hand quickly.
3. I've tried using Apache Axis to create service consumers in Java.
This works like a champ, but then I have to write the entire Cocoa
application in Java. It's my understanding that this is somewhayt buggy
and very uncommon. Also, this would shut me out of some OS X features
and frameworks
4. I'm making a test right now of the axis generated stubs and calling
them via the Java Bridge. This way I can have native Objective-C code
and wrap the portion that does the web service communication. I'm not
100% sure that this will work or that it is feasable for a large scale
project. What's mroe worrisome is that this Java Bridge is no longer
supported.
So, my question is this: Is anyone connecting Cocoa applications to J2EE middleware? If you are, how are you going about it?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden