on 02-24-2017 1:29 PM
Hi
i have to fetch data from external system into my sap ui5 application . I am given URL by the client to fetch the details but since it is not odata service how can i use it in my application.
when i run the url in browser it is giving the output in xml format.
can anyone please let me know how to use that service url to fetch the details.
Thanks and Regards,
Krishna
Hi
This is the URL given by the client
http://usildaml.ca.com:1098/pgxc?grpnme=PLA&grprel=19.0&returninput=1
can you please let me know how to use this url to map my json model data with this URL attributes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How data is exposed from external URL? Is it a Web service? Please look into below code - it might help you
$.ajax({
url : "Your webservice wsdl url",
type : "GET",
data : request,
dataType : "text",
contentType : "text/xml; charset=\"utf-8\"",
success : function(data, textStatus, jqXHR) {
response = data;
},
error: function(xhr, status)
{
console.log("ERROR");
}
});
~Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.