Page 1 of 1

Getting xml request from ws_create(param)

PostPosted: Tue Feb 15, 2011 5:08 am
by erikd
Hi, I would like to know how we can get the xml request from ws_create method. Currently param is in JSON. Does Servoy have an API for getting the xml? I would like to store the request xml and response xml in our web service application.

Thanks.

Re: Getting xml request from ws_create(param)

PostPosted: Tue Feb 15, 2011 11:04 am
by rgansevles
Erik,

The rest_ws plugin handles conversion, so the actual http data is transparent to the js methods.
If you want lower-level access you may want to look at the plugin java code, it is open source.

Rob

Re: Getting xml request from ws_create(param)

PostPosted: Wed Feb 16, 2011 6:19 am
by erikd
Thanks, Rob. I can't find the svn server for rest_ws. Could you tell me which server to look for?

Re: Getting xml request from ws_create(param)

PostPosted: Wed Feb 16, 2011 7:06 am
by ptalbot
https://subversion.servoy.com/product/ for Servoy 6.x
or
https://subversion.servoy.com/product/b ... 2x_branch/ for Servoy 5.2.x

Have a look at the com.servoy.extensions project

Re: Getting xml request from ws_create(param)

PostPosted: Wed Feb 16, 2011 7:46 am
by erikd
ptalbot wrote:https://subversion.servoy.com/product/ for Servoy 6.x
or
https://subversion.servoy.com/product/b ... 2x_branch/ for Servoy 5.2.x

Have a look at the com.servoy.extensions project


Thanks very much, Patrick.

Re: Getting xml request from ws_create(param)

PostPosted: Wed Feb 16, 2011 4:14 pm
by jcompagner
the source code is also bundled in the plugin jar itself..