Skip to Content
0
Former Member
Apr 15, 2014 at 06:32 PM

REST Client Proxy Question

55 Views

Objective: To call REST service from PB12.5.2 Classic application.

Current implementation: Using MSXML and INET objects to call GET and POST methods.

Problem: This implementation works fine until we have bulk calls (like 100K calls to the service in a single session). Sometimes it errors out because the XML sent to the service is 0 bytes (as seen on Fiddler)

Better alternative: Can we create a new PB.NET PB assembly with a REST client proxy and call the proxy function from our PB classic application? Can we build DLL and reference it from our classic application?

Is there any working example of the same?

Bruce - I have seen your example in http://brucearmstrong.sys-con.com/node/2133766/mobile

You talk about calling the WCF service from the classic application, have you tried the REST service call? I have followed the same steps you have mentioned and hit a roadblock when it came to the REGASM command, not sure which DLL to register now that I have 3 different DLLs. I have explained the steps I have taken in this document - http://www.pbgeeks.com/wp-content/uploads/pbnet.docx

Thanks,

Praveen