Page 1 of 1

Web Services

Posted: Wed Mar 02, 2011 8:01 am
by davidmellow
In the InstallConfig.pdf help file (might be a few minor versions out of date, but is 6.3) there is a section....

For details about configuring jadehttp.dll in IIS 7.0 for Vista, see FAQ 43941 on the JADE Web site at http://www.jadeworld.com/bin/jadehttp.d ... 941&_v=190.

That seems to be a dead link. Can anyone point me in the right direction please, i.e. is there still any relevant documentation regarding that specific topic floating around?

Regards
David

Re: Web Services

Posted: Wed Mar 02, 2011 8:48 am
by BeeJay
The following page on the Jade Wiki has some details about setting up IIS 7+

https://wiki.jadeworld.com/How%20to%20c ... ith%20JADE

Cheers,
BeeJay.

Re: Web Services

Posted: Wed Mar 02, 2011 12:01 pm
by davidmellow
Thanks Beejay.

All go.

I discovered that as well as allowing jadehttp.dll in CGI and ISAPI restrictions, I has somewhere in my desperation also added it to ISAPI filters (I presume it is an extension ,not a filter?) and forgotten to remove it later. (I noticed in my google results someone referring to IIS 7 as the e-Toture-Device, lol)

I'd never built a Jade web service before, and I'm rather surprised (pleasantly), once I had figured how to actually get the service running, how easy it was to consume it in a .NET MVC project. Probably literally 10 or 15 minutes to add the service reference, add a controller and list view and successfully run a page displaying a list of details of people from my Jade database. All quite seamless, which one doesn't necessarily expect first time with these things.

So, well done Jade.

Thanks for your response Beejay.
David

Re: Web Services

Posted: Thu Mar 03, 2011 7:53 am
by davidmellow
Another question please, again regarding web services...

Can anyone give me advice, or steer me to relevant documentation, regarding easiest way to return POX rather than SOAP from web method. i.e. so that say a collection of objects is serialised to a simple XML doc rather than SOAP?

Regards
David

Re: Web Services

Posted: Fri Mar 04, 2011 1:31 pm
by MJones
If you dont mind coding the XML yourself you can reimplement the 'reply' method on your web service provider class. Whatever that method returns is what the consumer will receive. I have reimplemented it before and it worked fine. Personally I wouldn't necessarily implement a webservice provider however if all I wanted to do was return XML, I would imagine a standard JADE web app could achieve the same outcome.

Regards,
Michael J

Re: Web Services

Posted: Fri Mar 04, 2011 1:34 pm
by MJones
The following page on the Jade Wiki has some details about setting up IIS 7+

https://wiki.jadeworld.com/How%20to%20c ... ith%20JADE

Cheers,
BeeJay.
The only proviso being that if you are using a 64bit version of jadehttp.dll the worker process should not be defined as 32 bit as per these instructions. But that should be reasonably self explanatory!

Regards,
Michael J

Re: Web Services

Posted: Mon Mar 07, 2011 6:46 am
by davidmellow
Thanks for replies Michael. Yes, I had been thinking along lines of ordinary web app rather than service maybe being the way to go. Cheers.