8 posts / 0 new
Last post
Carlos Alberto St...
carlosast@msn.com's picture
Offline
Joined: 14 Dec 2009
Posts:
Listeners ?

To make a call have to use Http HttpConnectionListener
To use web services (SOAP) have to use XmlListener

The only way to do this in MoSync listener is using?

There could be no class that manages it and the developer only define callbacks in the results?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi Carlos, yes there could be a general SOAP class which manages both the HTTP listening and the XML listening, but one hasn't been written. The best thing to do is to raise an issue (https://github.com/MoSync/MoSync) and add it as a feature request.

However, there is a SOAP example which manages both, and it is easily adapted to work with most SOAP services.

Carlos Alberto St...
carlosast@msn.com's picture
Offline
Joined: 14 Dec 2009
Posts:

Hi Sam,
In general I liked the MoSync, but I think is a little rudimentary program using it.

I see that developing a system using MoSync I have to take care of things that are not part of the project, such as to develop new controls of user interface, classes of web service access, no database, finally, a series of things that do not rests with the developer to worry about, but the MoSync Team.

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Yeah, that's a valid point. I certainly see part of my job is to develop higher level building blocks for application development. For instance, I'm currently building a general oAuth class to make it easy to connect to Twitter and Facebook.

There are a lot of UI classes, so I don't think that you frequently do have to create new ones. The next version will come bundled with more controls, but there are a lot in published projects which can be easily reused.

I think that web service access is easy if you adapt the SOAPex example project, but you're right in saying that it would be nice to have a simple class which will do the SOAP wrapping and handle responses for you. I'll work on that.

As I'm sure you've seen in other threads, SQLite is running on MoSync. We do need to do some more work on making work as well as it can though, so I'll post updates as work on it progresses.

For your last point, which things do you see which are out of your control? Bug fixes will do, but do you see anything else?

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi Carlos, I've just been told by the development team that MoSync 2.4 has just been released. It includes a new SOAP library which should make your life a lot easier!

Carlos Alberto St...
carlosast@msn.com's picture
Offline
Joined: 14 Dec 2009
Posts:

Tks
what is the name of the class?

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

I'll find out and let you know.

Erwin Nandpersad
ermisnomore's picture
Offline
Mobile Conjurer
Joined: 16 Jan 2012
Posts:

i cannot find the Soap Lib, i only see an example folder. Is there anywhere a reference how the Soap lib works?