Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8357

Re: Building SAP .Net Connector Server without Client connection

$
0
0

Hi Marcos,

 

You can serialize the repository with all needed metadata using the Save method of the RfcRepository class. In the productive version of your application you instantiate an instance of RfcCustomRepository and use Load to restore the complete metadata. In addition, you don't provide a REPOSITORY_DESTINATION for the server, but set the repository in your code to the property Repository before starting the server. Then  you will not need client credentials. Drawback of such an approach: In case you need to modify the structure somehow, you will need to re-generate the serialized repository and re-ship this instead of simply clearing the cache of the repository and do a new lookup.

 

Best regards,

Markus


Viewing all articles
Browse latest Browse all 8357

Trending Articles



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