Getting xml request from ws_create(param)

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Getting xml request from ws_create(param)

Postby erikd » Tue Feb 15, 2011 5:08 am

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.
erikd
 
Posts: 445
Joined: Wed Aug 11, 2010 2:32 am

Re: Getting xml request from ws_create(param)

Postby rgansevles » Tue Feb 15, 2011 11:04 am

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
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Getting xml request from ws_create(param)

Postby erikd » Wed Feb 16, 2011 6:19 am

Thanks, Rob. I can't find the svn server for rest_ws. Could you tell me which server to look for?
erikd
 
Posts: 445
Joined: Wed Aug 11, 2010 2:32 am

Re: Getting xml request from ws_create(param)

Postby ptalbot » Wed Feb 16, 2011 7:06 am

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
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Getting xml request from ws_create(param)

Postby erikd » Wed Feb 16, 2011 7:46 am

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.
erikd
 
Posts: 445
Joined: Wed Aug 11, 2010 2:32 am

Re: Getting xml request from ws_create(param)

Postby jcompagner » Wed Feb 16, 2011 4:14 pm

the source code is also bundled in the plugin jar itself..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Web Development

Who is online

Users browsing this forum: No registered users and 4 guests