In Azure Data Factory how to read XML response - api

As I am new to ADF, looking for the right way to read/accept XML response from an API.
Tried the following activities using copy activity,
Rest, linked service. Linked service connection is successful but while previewing the error,
HTTP, linked service. Linked service connection is successful but while previewing the error,
OData, linked service. failed to connect to the linked service Error: Failed to create odata connection to RequestUrl.
It would be helpful if someone could share a doc or reference on how XML API response can be consumed in the ADF.

As per official documentation, REST connector only support response in JSON.
EDIT -
Unfortunately XML response is not supported. You can use an ADF Custom activity to transform the XML programmatically.
Refer - https://social.msdn.microsoft.com/Forums/azure/en-US/68c41a5d-4cd3-4f61-8cbf-c9d86909ce80/adf-v2-pull-from-rest-api-that-returns-xml?forum=AzureDataFactory

Related

How to creating WCF service for communicating Xamarin.forms with Sqlserver

Currently i working on Creating WCF service in order to communicate xamarin forms (Android) with sqlserver. For that i have tried some examples from the following link https://developer.xamarin.com/guides/xamarin-forms/web-services/consuming/wcf/ but it was not working also it throws error(SystemError).
My goal : i have to retrieve data from sqlserver using WCF service . Kindly provide ideas to solve this issues.
Thanks.
krupa
i think you want to create web-service, you can learn how to make wcf from here
webservices is same like an other client-server architecture where you send request to server and get response.
now make one hello world webservices base on above example
Request - in request you have to send data you can use xml or json
in method of webservice you have to process your data [calculate/store in DB/etc]
in response you send response data back
*to test a webservice use postman extension in chrome browser

HTTP Adapter for accessing SOAP WSDL

i have a soap wsdl which i open have an field to enter an id that gives the link of an image to be displayed.I need to do this in ibm mobile first.i do no where to start it need some samples for soap wsdl help pls
You can generate an adapter based on your web service by using the service discovery tool. Read more to learn how to generate it: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/dev/c_using_service_discovery_wizard_to_explore_backend-services.html?lang=en

How to access WebService method from URL (target namespace in wsdl)? Call webservice from a MSSQL without CLR

Could you tell me how to access a web service method from a web browser? I need it to call a webservice from a database using only TSQL
I have a simple web service running on my local JBoss server.
I have found an information that a wsdl file is easily accessed by calling an URL:
http://localhost:8081/webserviceName?wsdl
I would like to invoke a method "simpleMethod". As I learned from reading tutorials I should call:
http://localhost:8081/webserviceName/simpleMethod
but it simply does not work. I have received an error that the requested resource is not available.
In received wsdl file there is a statement:
<wsdl:definitions name="DataServiceImplService" targetNamespace="http://services.test.com/">
Does it make any difference? Should I use that information to call a Web Service?
The main idea behind my question was to find a way to call a webservice from a database (and that is why I needed web service URL).
So I have found a web that explains how to do it entirely in SQL:
http://www.vishalseth.com/post/2009/12/22/Call-a-webservice-from-TSQL-%28Stored-Procedure%29-using-MSXML.aspx

How to Reference Yodlee SOAP API

I'm attempting to utilize the Yodlee SOAP API for a web application in ASP.NET 4.5. I was under the impression that I could add a service reference to it with the url:
https://rest.developer.yodlee.com/services/services/v1.0
However, this did not work and gave me the following error message:
There was an error downloading 'https://rest.developer.yodlee.com/services/services/v1.0/_vti_bin/ListData.svc/$metadata'.
The request failed with the error message:
The service cannot be found for the endpoint reference (EPR) /services/services/v1.0/_vti_bin/ListData.svc/$metadata
--.
Metadata contains a reference that cannot be resolved: 'https://rest.developer.yodlee.com/services/services/v1.0'.
Metadata contains a reference that cannot be resolved: 'https://rest.developer.yodlee.com/services/services/v1.0'.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Am I attempting to reference the Yodlee SOAP API incorrectly? We used to aggregate financial investment data with Yodlee a little over a year ago and have an old DLL utilizing the SOAP architecture which no longer works. However, Yodlee no longer lists a DLL for ASP.NET with SOAP architecture. We were hoping to utilize a majority of our old API method calls and this is why we'd like to utilize SOAP for the time being, otherwise we'd switch to REST.
If someone could please help, I'd appreciate it. Thanks.
The URL for making SOAP calls is
https://rest.developer.yodlee.com/services/services/
If you want to see the list of services, you can list it with the listServices appended to the URL as below
https://rest.developer.yodlee.com/services/services/listServices
The URL https://rest.developer.yodlee.com/services/srest/restserver/v1.0/ is for making REST calls and talk to Yodlee.
Please refer to the documentation at developer.yodlee.com for more information.
Hope this answers your question.
--Vijay

Dumping data reported by client to server to a Log file

I'm using WCF services in the client application for transfering data from client to server and vice-versa. I'm looking for a mechanism to log the data sent to server into the log file on client machine. I looked into the WCF library but could not find any code which serializes the WCF requests. Logging no issues, I use N-Log for that but I don't find any built in function which gives the webrequest data.
My question is, is there any built in support for getting the webrequest details?
The built in option is called Message logging but this option uses its own way to log messages using standard .NET trace listeners.
If you want custom message logger you have to implement your own logging endpoint behavior with IClientMessageInspector.