Azure Data Factory SAP ECC OData connection parameters - odata

I try to connect to a OData service available in an SAP ECC system with client number as parameter: https://system:port/sap/opu/odata/sap/srv_name/?sap-client=100. The url mentioned in the official documentation is without parameters: http://eccsvrname:8000/sap/opu/odata/sap/zgw100_dd02l_so_srv/ and indeed the connection does not work (Integration Runtime is configured) How can I set default URL parameters in the linked service properties JSON?

Related

Data Virtualization connection to Azure Data Lake Store Gen1 - WebHDFS/v1/ endpoint

I'm trying to configure Azure Data Lake Store Gen1 (ADLS) as a Data Source in a Data Virtualization software (Tibco's).
Reading through the Azure documentation, I got to the webhdfs/v1/ endpoint associated with ADLS and managed to simulate the (non-standard, since it requieres an additional "resource" parameter) OAuth2 authentication needed within Postman. All good so far.
I am guessing that the connection should be configured as an OData service, since the OData connector within TDV (Tibco DV) has an "Azure AD resource" parameter that should be used only if you are trying to authenticate through azure's active directory (the non-standard part from before). However I am failing to configure this connection.
This must be because of one of these reasons:
The /webhdfs/v1/ endpoint is NOT an OData service.
I am wrongly configuring the OData connector in TDV.
In any case, how can I connect to this repository and introspect everything behind it? list folders, files, and all that within TDV?
Some suggestions I have stumbled upon are using the Hive connectors or the REST connector, but after trying I still feel closer to success with OData.

SAPUI5 OData 401 (Unauthorized) + No Access-Control-Allow-Origin Header

I work in SAP Web IDE to develop an SAPUI5 application which uses OData Service CUAN_IMPORT_SRV.
I start by defining the OData Model this way:
var oModel = new sap.ui.model.odata.v2.ODataModel("https://host:port/sap/opu/odata/sap/CUAN_IMPORT_SRV/", true, "UNAME", "PASSWORD");
Username and Password can access the data and do read + create operations on Hybris Marketing. This is tested with Postman.
However, when I try to test my application with Test Fiori Launchpad, I get this error message when executing the OData call:
Concering this topic, I read some other posts and tried to edit the URL to
proxy/https/host:port/sap/opu/odata/sap/CUAN_IMPORT_SRV/
...but this results in 404 Not Found.
Since I use Chrome as Browser, I disabled web security as I read in other posts. This did not work. That's why I tried this Chrome AddOn. As a result, I got this error log:
What more can I try to solve this issue?
Thank you for any advice!
Tried configuring destination in Cloud Platform:
Web IDE does not allow Cross Origin access.
In order access your ODATA service from Web IDE, you have to use Cloud Connector.
Cloud connector will create a ternel between AP Cloud platform and your ODATA Service Gateway System.
Follow these steps:
https://blogs.sap.com/2014/06/22/how-to-configure-an-external-gw-system-with-sap-river-rde/

Pass http request header parameter in SAP Gateway

I created a oData in the SAP Gateway system and want to read odata from SAP gateway system with passing parameter in the HTTP header.
In the UI debug view I can see my parameter in the "Request Headers"
But the custom parameter "_user" doesn't appear in the SAP gateway system side when I open the debugger view
Can you please give me some hints about this issue? I tried both sap odata model and jQuery to call odata service which is provided by SAP gateway system, but none of them have the custom parameter in the gateway system side. Thank you!

WSO2 API Manager WSDL Endpoint

I am trying to Expose a WSDL in WSO2 API Manager, by selecting WSDL Endpoint in the Implementation tab.
And providing the service name and Port respectively.
But while testing the same, from Api Store, the response is 0 - No response body. Also the WSDL is not being invoked.
Please help with this.
I have checked many blogs and videos, but can't find exact solution.
Ex WSDL that I am using is: https://ws.cdyne.com/phoneverify/phoneverify.asmx?wsdl
Used the same wsdl and expose the service using api manager and got the response from the web server. But as per the query posted above you are testing the soap service using api store. There may be mismatch the param you are posting to web service. Therefore use tool like soapUI to test the web service.
User the followings while exposing the SOAP Service
SOAP WSDL - https://ws.cdyne.com/phoneverify/phoneverify.asmx?wsdl
SOAP Endpoint - https://ws.cdyne.com/phoneverify/phoneverify.asmx
Reference -
[1] http://blog.rajkumarr.com/2015/08/how-to-expose-soap-services-as-soap-services-via-wso2-api-manager.html
[2] http://www.vitharana.org/2015/01/soap-web-service-as-rest-api-using-wso2.html
[3] https://docs.wso2.com/display/AM191/Invoke+an+API+using+a+SOAP+Client

consume secure web service asmx in asp.net mvc

I want to consume secured web service in asp.net mvc, I need to create proxy class to this service
I tried to use wsdl.exe tool but it gave me the following errors
There was an error downloading
The request failed with HTTP status 401: Unauthorized.
is there another way to create proxy class
or there is another technique to call this secured web service in my application
It looks like the WSDL requires authentication in order to be downloaded. I suppose the Web Service also. The WSDL.exe utility allows you to specify the username and password to be used when downloading the WSDL. So go ahead, talk to the author of the web service to understand what account you need to use in order to access it and then try the /username and /password parameters:
wsdl.exe /username:john /password:secret http://example.com/foo.asmx?WSDL

Resources