How to call a url using javascript
Hi friends
Iam a newbie i have a requirement
i have to call some n number of URL using javascript i have all my url in one table .... i have to call all the url from that table ... and the output of the url should be saved in a flat file...The output of the url is in XML format... can any one please suggest me in doing my task ... and one more thing in which tool can i run the javascript coding...please give me ur suggestion and idea how it can be done ....
My URL for example ll be like this as shown below wen i run this url it ll give me an XML format output
HTTP://www.myserver.com/ev_api.action?user_id=<username>l&password=<password>&statevar=history&cutoff=<date>&id=<id>
Thanks in advance
Thiliban
thilib wrote:
In this OTN is there is javascript forum can please give me the link for it
Thanks
thilibJust to rephrase Walter's reply: there is no javascript forum in OTN!
Similar Messages
-
Calling a URL using JavaScript even handler
When I'm trying to call another URL using JavaScript, it doesn't work.
I did following things,
1).Created a Button
2).In javascript event handler, I'm calling Javascript function doSearch()
3). I wrote this function in Header Text Section of the Form Tex as below
<SCRIPT language="JavaScript">
function doSearch() {
location="http://www.oracle.com"
</SCRIPT>
When I saw the source of that button, it shows me as following,
--<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD>
<INPUT TYPE="BUTTON" NAME="FORM_TO_CALL_CUSTOM.DEFAULT.CALL_REPORT.01" VALUE="CALL_REPORT" onClick="doSearch(); do_event(this.form,this.name,1,'ON_CLICK','');">
</TD></TR></TABLE></TD></TR></TABLE>
But, it doesn't call that URL.
Plz. guide me.
nullSorry, the code for the CALL_Report button is as follow.
--<Tab BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD>
<INPUT TYPE="BUTTON" NAME="FORM_TO_CALL_CUSTOM.DEFAULT.CALL_REPORT.01" VALUE="CALL_REPORT" onClick="doSearch(); do_event(this.form,this.name,1,'ON_CLICK','');">
</TD></TR></TABLE></TD></TR></TABLE
null -
How to pass a single quote in a URL using Javascript
Can someone tell me how to pass a single quote in a URL using Javascript. I have created a Javascript funciton in which I pass several column values from an APEX report.
The URL for the report link I am using is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')"
The problem occurs with the Name and e-mail columns contain a single quote (i.e. James O'Brien)Thank you Saad, that worked.
Since I built the report using type 'SQL Query (PL/SQL function fody returning SQL query)' I had to add some additional quotes to get it to work.
i.e.
replace(EMP_EMAIL_NAME,'''''''',''\'''''')
or
replace(EMP_EMAIL_NAME,chr(39),''\'''''')
Thanks for the help,
Jason -
How to call SOAP API from JavaScript
Hi,
I'm trying to call the SOAP API to get statistics about emails. Are there any examples on how to call the API from JavaScript?
Here is a link to my original question about using the REST API. REST API URL for email statistics
Thanks,
TimTim,
In order to consume a SOAP API I recommend you use something other than JavaScript.
Any platform can offer you a good SOAP client should be OK. (.Net, Java, php, Ruby, python).
I didn't see anyone successfully used javascript and consume the Eloqua SOAP API.
I know you can create a SOAP client in Java script but it will be too much work to handle the Eloqua response in some cases.
Regards,
Daniel -
How to get SharePoint Groups using Javascript in SP2013 ?
How to get SharePoint Groups using Javascript in SP2013 , not JSOM please
Here is the code that worked for me:
<script type="text/javascript">
var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups";
var requestHeaders = { "accept" : "application/json;odata=verbose" };
$.ajax({
url : requestUri,
contentType : "application/json;odata=verbose",
headers : requestHeaders,
success : onSuccess,
error : onError
function onSuccess(data, request){
var s='';
for (var i = 0; i < data.d.results.length; i++)
s +=data.d.results[i].LoginName+'\n';
alert(s);
function onError(error) {
alert("error");
</script> -
How to call java function in javascript
Hello Everyone,
Can anyone tell me solution that:
How to call java function in javascript?
Thanks,
VIDsYou can't since Java is running on the server and javascript is running in the browser long after the Java side of things has finished executing. Assuming you're not talking about an applet here.
But you can make calls back to the server through Ajax. All you need is something like a servlet on the receiving end which you can invoke through Ajax; from that point you can execute any Java code you want. -
How to call web-service using only java code
Hello, how to call web-service using only java code. I can call it from BPM process or Web Dynpro Java Application, but if I need to call it from ejb component?
I'm found answer:
Java and SAP Portal blog: How to call web service from java code example -
The situation:
I want to use basetext font, but some of the glyphs are missing in it, and are highlighted with pink boxes. common font [stix, etc.] have much more glyphs than basetext font. I can apply common font [stix, etc.]manually for each of the missing glyphs or insert two character and use kerning set it up, but it is tedious.
Question:
How find the missing glyph using javascript [like indesign preflight], and replace same glyph available font or insert two character and use kerning set it up?
Any one know how to do this?
Thanks in Advance,
~JackTry Peter kehrl's script
http://www.kahrel.plus.com/indesign/missing_glyphs.jsx -
How to call java method using jsp
how to call java method using jsp.....
anyone can help me.....i having problem here...coz i very new in java and jsp.....
thanks.....keep an eye on this person's thread...they have code there and everything.
http://forum.java.sun.com/thread.jspa?threadID=777263&tstart=0 -
How reset Acrobat form field using javascript API
How reset Acrobat form field using javascript API
There are several ways:
resetForm(["Text1"]);
or
getField("Text1").value = getField("Text1").defaultValue;
George -
How to call Web Service using http?
Hello everyone,
I have created a web service in weblogic 8.1sp4. The web service is deployed and in the test page in the administration console I see that the wsdl is sth like
http://localhost:6101/SomeWebService/SomeWebService/SomeWebService?WSDL
How is it possible to call the web service operation (let's say someOperation) using http? The problem is that the client which will call the operation is not a java or .net one and is needs to do the call using a URL. I have tried sth like
http://localhost:6101/SomeWebService/SomeWebService/SomeWebService?string=somestring&operation.invoke=someOperation which is the URL used in the test page in the administration console and although it works, instead of getting the SOAP response back I get the whole html page returned by the test page.
Please help me,
Thanks,
YiannisHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to call a action in javascript
hi..
am a learner..
can anyone guide me how to call a action in Illustrator CS2 using javascript
thanks in advance,
JasyYep!
Maybe they prefer Apple. Maybe most of their buyers comes from that side. Maybe they dont know how to script.
Java would have been to hard for most of us. Javascript is everywhere on the web ... pages.
After so many years, they did not put the effort and money . This scripting idea is still for ' amateur' and to compensate for I dont know what. -
ABAP calling HTTPS URL using CL_HTTP_CLIENT
Hello,
I have a requirement where I will have to call a URL inside an ABAP or BSP passing some query parameters program and then the response will be a big string with all the data I need.
I found I can use CL_HTTP_CLIENT thanks to Brian weblog.
The URL is HTTPS, the technical contact told me that I would need to encrypt the data in SSL and after pass to the URL as a query parameter.
Also the response will be encrypted so I will need to convert from SSL before being able to interpret it.
He also said that I need to install a certificate on my webas server, and use this certificate.
So my doubts are:
Do the class CL_HTTP_CLIENT automatic convert the data to SSL?
How do I install and use such certificate?
Regards,
Mauriciocheck out this weblog (under subheading <b>Release 620</b>) to understand how you can load the certificate and use the same with cl_http_client call
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
Regards
Raja -
How to call a URL from a button
Hi Experts,
In my requirement I have to call a URL in the same page,through a button,
so please tell me how to acheive this.
Regards
UpendraHi,
use the below code to call the URL onAction of the Button,
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(
"<place URL here example http:www.sdn.sap.com>",
"<description about the URL >",
false);
window.open();
Regards,
ramesh -
How to call DOC file using web.show_documents
Hi friends ,
If I use the built-ins web.show_documents for open the *.doc file
I am getting the following error
ORA-06550: line 5, column 2:
PLS-00201: identifier 'README.DOC' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored
DAD name: WebDB
PROCEDURE : readme.doc
URL : http://132.148.160.3:80/WebDB/readme.doc?
PARAMETERS :
===========
ENVIRONMENT:
============
SERVER_PORT=80
SERVER_SOFTWARE=Oracle WebDb Listener 2.1
SERVER_NAME=132.148.160.3
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.0
REMOTE_HOST=132.148.160.251
REMOTE_ADDR=132.148.160.251
REQUEST_METHOD=GET
QUERY_STRING=
SCRIPT_NAME=
PATH_INFO=/WebDB/readme.doc
HTTP_ACCEPT=*/*
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
HTTP_HOST=132.148.160.3
HTTP_CONNECTION=Keep-Alive
Please advice How to call Doc file in web.
Thanx
nullThe syntax to execute web.show_document:
web.show_document('http://server_ip_or_server_name/virtual_path/filename.doc')
The virtual path has been defined in Apache (if you run on web with Apache) or has been defined in Internet Inoformation Server (if you are runing with Internet Information Server.)
null
Maybe you are looking for
-
Need Help to see why the performance is not good
Hi, We have an application that all process are developed in PL/SQL on Oracle 9i Database : Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production PL/SQL Release 9.2.0.6.0 - Production Why I have created this package. the application is a p
-
How Do I Create a Screen Saver That Uses Shared Photos??
I have a pretty simple request here, or at least I think it should be pretty simple. My family uses a shared photo stream so that we can all see what everybody is up to without sending a bunch of individual messages. I'm going to use a screen saver t
-
How do I copy a live runing system to a disk
I have been using chakra-live on my laptop via a pen drive and I have it nicely configured using session saving but I get to a point where installing new packages won't work because a full upgrade is not practical (I get dependency issues). I have a
-
PDF Data Connection with Access 2003
Who ever can help me! I am trying to make a data connection on my pdf form using "Adobe Live Cycle designer 7.0" to my access database. I already did the conncetion...the problem here is that once the submit button is clicked i don't have any returne
-
I just purchased a month to month subscription for Acrobat Pro and I am getting an error when I try to download the software. after about 50% of the way, it just crashes. Thank you, JTF