Web Services

For questions and postings not covered by the other forums
davidmellow
Posts: 42
Joined: Thu Aug 27, 2009 1:27 pm
Location: New Plymouth, New Zealand

Web Services

Postby davidmellow » Wed Mar 02, 2011 8:01 am

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

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: Web Services

Postby BeeJay » Wed Mar 02, 2011 8:48 am

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.

davidmellow
Posts: 42
Joined: Thu Aug 27, 2009 1:27 pm
Location: New Plymouth, New Zealand

Re: Web Services

Postby davidmellow » Wed Mar 02, 2011 12:01 pm

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

davidmellow
Posts: 42
Joined: Thu Aug 27, 2009 1:27 pm
Location: New Plymouth, New Zealand

Re: Web Services

Postby davidmellow » Thu Mar 03, 2011 7:53 am

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

MJones
Posts: 10
Joined: Fri Jan 28, 2011 12:07 pm

Re: Web Services

Postby MJones » Fri Mar 04, 2011 1:31 pm

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

MJones
Posts: 10
Joined: Fri Jan 28, 2011 12:07 pm

Re: Web Services

Postby MJones » Fri Mar 04, 2011 1:34 pm

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

davidmellow
Posts: 42
Joined: Thu Aug 27, 2009 1:27 pm
Location: New Plymouth, New Zealand

Re: Web Services

Postby davidmellow » Mon Mar 07, 2011 6:46 am

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.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 18 guests

cron