Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

Error 'SAP Context is Initial' in REST Call (post)

$
0
0

Hi,

 

I'm trying to push some information from Bydesign to one of our external web services and to do that, I package the data in the JSON format and using the rest call to push the data out.

 

So, I have activated the Web service definition file and Communication Scenario, and configured the communication scenario with the basic authentication and even uploaded the SSL certificate needed. However, when I trace the solution - I get this error on screen:

 

"Importing Parameter SAP Context is Initial"

 

My Code to call the service:

var result = WebServiceUtilities.ExecuteRESTService("XXXComScenario", "YYYYWebService", "POST", "/", URLParameter, HeaderParameter, "application/json", jsonbodycontent);

 

This is extremely vague and I have no idea to even understand what the issue is about?

Has anyone ever faced this and found a solution to this?


Viewing all articles
Browse latest Browse all 3276

Trending Articles



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