Page 1 of 1

Direct Web Services

Posted: Thu Dec 01, 2016 1:18 am
by JadeDebbie
Most likely a very simple one for someone to answer, however, I am struggling to determine if direct web services when configured correctly should still be going via IIS. I had naively expected these to be a little more direct.

Also, assuming I have these configured correctly, I was surprised to still see rejected requests being logged out via IIS. I can increase the application copies (currently set to 10) but I wasn't really expecting this to throttle the connections still since it was going via tcp. Seems logical but not.

Thanks

Re: Direct Web Services

Posted: Thu Dec 01, 2016 12:38 pm
by BeeJay
When wanting to use direct Web Services there is more required than just setting the Schema to TCP on the Web Options tab of the application definition. You then need to manually implement some of the methods for sending/receiving the request.

Try starting with the documentation for JadeWebServiceConsumer::invoke, which is one of the methods you'll need to manually implement if you don't want to use the default HTTP implementation of Web Services: https://www.jadeworld.com/docs/jade-71/ ... er::invoke

Other materials which may be of help:
Web Services in JADE White Paper: https://secure.jadeworld.com/downloads/ ... rvices.pdf
Web Services Tips and Techniques: https://www.jadeworld.com/pdf/white-pap ... esTips.pdf

The Erewhon sample application also contains examples of both HTTP and direct Web services via TcpIp. You'll find this in the Example Schemas link on the Resource Library page of the JADE Website: https://www.jadeworld.com/developer-cen ... e-library/

The direct link for the example schemas archive is: https://www.jadeworld.com/pdf/white-pap ... amples.exe

Cheers,
BeeJay.