Quantcast
Viewing all articles
Browse latest Browse all 8533

Re: Calling COM Exposed .NET Assembly methods as OLEObject

To close the discussion here's my resultant prototype solution. It had me instantiating my own Service, Binding and Endpoint classes and laboriously coding their setup based on the setting in the app.config file.  As I go down the road I'll generalize the solution for use with multiple services.

Image may be NSFW.
Clik here to view.
TheConstructorCode.png

This line does the instantiation.

myHolidayService = new GBSCTHolidayDatesSoapClient(myBinding, myEndpoint);

 

In a "standard" app.config file set up the call might look like this

myHolidayService = new GBSCTHolidayDatesSoapClient(  );

 

So this is the basics of how to call a .NET Assembly which wraps a WCF Service Proxy (reference) via a PB OLEObject

 

Long Live PowerBuilder


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>