How to connect HTTP URL
hai guys,
I developed one report and data downloaded into application path and file format is CSV. My development was working fine . Now I want to change file downloaded into FTP location ( this is also working). Now i want to connect HTTP URL path.
How to connect HTTP URL path ( Not Open method only connect)
Thanks in advance
Hello,
U can make use of these Fm to connect to URL.
Use this code.
CNHT
CALL FUNCTION 'WS_EXECUTE' "#EC *
EXPORTING
COMMANDLINE = LV_CMDLINE
PROGRAM = LV_PGMNAME
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
Where LV_CMDLINE = WWW.SAP.COM
LV_PGMNAME = IEXPLORE.EXE
If useful reward points
Vasanth
Message was edited by: Vasanth M
Similar Messages
-
Any one know how to connect by url ?
Do any one know how to communicate between servlet
& applet by http url instead of "socket"?
Do any one have sample source codes ?
Thanks a lotPerhaps not quite what you're after, but I use Datagrams to talk between an applet and a servlet. I found this much easier than trying to set up a socket connection myself. Check the java tutorial for an example
Steve -
WSA how to filter HTTPS urls without decrypting
In transparent mode HTTPS Proxy must be activated for HTTPS traffic.
If you don't want particular users to access certain https sites with out decryption , you can define those urls in custom url categories and under decryption policies :
1. Exclude that custom url category from global decryption policy
2. Create new decryption policy for those identities you want to block request and then under categories include that custom url. Default action you will get for this category is monitor .
3. If you leave it as such then it continues to evaluate the client request against other policy group control settings, such as web reputation filtering or you can use drop action if you do not want to pass the connection request to the server. The appliance does not notify the user that it dropped the connection.
HTH
"Please rate useful posts"Dear Kush
Thanks for the reply.... you advise to start with a new Decryption Policy for Guest users. So I have now created several Decryption Policies, for Guests, Authenticated Users, VIP Users. The Guest URL Filtering is set to DROP many Categories and to Pass Through the rest, and the VIP Policy drops only the worse categories (Porn, etc) and Pass Through most. If I set the HTTPS Filter=Monitor, then it will decrypt.
I think it is working as I need it, but as a Guest User I can still bypass the Ironport block by entering http://www.youtube.com into Internet Explorer v8 (XPsp3) - However, on the same PC with Firefox v28 https://www.youtube.com is blocked. (IE8 detects the traffic as "SRCH" traffic to 74.125.21.95:443, Firefox detects category "VID" to 74.125.196.91:443)
I'll do some more testing, then feedback to the forum again...
Martin
PS. What I don't like about the solution: I need to setup two sets of URL Category Filters: for the HTTPS proxy (under Decryption Policies) and for the HTTP proxy (under Access Policies) - even though I want the same Group based filters for HTTP and HTTPS. I did not expect to have to setup two separate sets of filters. -
How to connect WebDav URL in Windows 7 to a Folder of KM.
Hi,
I have EP 7.0 SP 21.
When I tried to map a network drive in Windows Explorer to the WEBDAV URL of the Portal , don´t accept the URL. It said the folder is not valid. I know are problem with WebDAV in Windows 7. but not are a solution to this yet.
Thanks in advance.Hi Luis,
we have the same problem and it seems that there are generally problems with Win7 and WebDav and not with Portal in particular.
Here are some links, hope that helps:
general:
[http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/67c361c0-ed6a-4e82-81df-da149c96492b|http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/67c361c0-ed6a-4e82-81df-da149c96492b]
[http://www.techiechips.com/web-folders-web-disk-webdav-problems-on-windows-7/|http://www.techiechips.com/web-folders-web-disk-webdav-problems-on-windows-7/]
performance:
[http://oddballupdate.com/2009/12/18/fix-slow-webdav-performance-in-windows-7/|http://oddballupdate.com/2009/12/18/fix-slow-webdav-performance-in-windows-7/]
Good luck
Joerg -
oracle9ias on redhat advanced server 2.1
could you explain exactly what you are trying to do?
Are u trying to connect a standalone container with http server? if so, its not possible.
Otherwise, if you have deployed your application in one of the OC4J instances, then u should be able to access it right away
http://<ip>:7777(8)/<instance-root>/...
Thanks
Srinath -
How to do Handshake with tired party(bank) HTTPS URL from SAP PI server
Dear Expert,
I have developed bunch of scenarios, all are synchronous ABAP proxy to HTTP_AAE with bank on PI 7.4(dual stack). Bank web server is HTTPS enabled server. Our ABAP developments are still in progress also we have few issue in connection from ECC to PI.but that is not the focus of discussion here.
we want to do the handshake to check the connectivity with bank on their HTTPS URL from PI. Bank has provided the privet key for SSL from their server and corresponding public key they have maintained on their server. I have imported the private key under NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12->select the SSL.p12 file->import , also I have selected the option to "Use SSL" in HTTP_AAE receiver communication channel and selected the corresponding entryin "keystore view" and "keystore entry". All these I have done in our DEV system, and we are trying to connect our PI dev to bank Dev server.
Questions
Is there any specific steps to do the handshake with third party HTTPS(bank in my case) server? if not, how can we just test the HTTPS connectivity by using the SSL private installed on our PI server, without running the complete scenarios. Our PI has been installed on UNIX, and "telnet https url 443" is working, as network team has opened the HTTPS port.
We have not enabled the SSL technically on our PI server, and we have not installed any generated certificate from our PI server. Moreover, we have not made our PI url as "https:hostname:port" as we just need to communicate with bank by using their private key. Do you guys think we should enable the SSL? if yes, please explain why.
What is the best practice to test the connection with third party having HTTPS URL? how can I just assure HTTPS communication is working fine, before testing my actual scenarios.
Thanks for helping always.
Regards,
FarhanHi Farhan,
Some part of the blog is applicable for sending HTTPS request to partners/third party (Receiver SOAP Adapter).
If banks certificates are already in trustedCA, then, can you check if it also imported under user PIISuser under Identity management in NWA. If above 2 steps are done then i think your are good to go. But be careful when you install certificate, it should be in proper order.
As you already mentioned, connectivity is already established and you are able to PIng/telnet from pi server, connectivity looks ok.
While sending request, if you are getting 401 unauthorized, below might be the reason -
1. Certificate not installed correctly or some missing steps
2. Partner or TP is not ready to receive it, some certificate issue in there side.
other than 401 means you are ok (As per certificate and Connectivity) - 403 and 500 errors are next stops.
403 - error because of encoding method.
500 - data issue.
Regards
Aashish Sinha -
Encrypting authentication details - HTTP URL Connection
Hi,
We have a Java application which retreives HTML content from intranet page using HTTPURLConnection, displays the portion of the content. The site to which we are connecting using HTTPURLConnection requires baisc user authentication and we are passing the user name and passowrd using BASE 64 encoding in the request header. Now this intranet site is going to be hosted externally. Just wanted to know the different options on how to send the user name and password in ecnrypted format.Is the recommendation is just to enable HTTPS for that site and pass user name and password using HTTP URL Connection API? Or are there any other options? Appreciate any inputs.
Thanks.http://java.sun.com/javase/6/docs/technotes/guides/net/http-auth.html
-
Junit : how to create JDBC URL connection
hi folks,
I am implementing JUnit in my application , for that I have seen srdemo application every thing is fine but i havent get how to configure JDBC URL connection 'SRServiceLocalTesting' ? can any body tell me how to do it.
Thanks in advance
Regards
PravinHi,
Have a look,
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_xml-to-table/odi_project_xml-to-table.htm
Thanks,
Guru -
How do you detect url redirects when connecting to a URL
how do you detect url redirects when connecting to a URL?
Thanks in advance
stevHai
(i) If it a jsp we can get the URL by request object.
Like
String url = request.getHeader("Referer");
u can do it in Servlet aslo by request object variable.
If this explanation is not ok, Explain ur doubt in more briefed Manner -
How to read XML file kept on NON-SAP server using the Http URL ?
Dear Experts,
I am working on CRM2007 web UI. I need to read a XML file placed on a shared server location by a third party program. Then process that XML file into CRM and create a quotation using the data extracted from the file.
All i have with me is the http URL that points to the location of the file.
I am supposed to read the file , create quotation and at later point of time i would be asked to update the quotation and then generated new XML representing updated quotation and replace the XML file on shared server location with this new updated XML file.
I know how to extract data from XML file into ABAP but i have no clue as to how to access the file on some other server using the http url i have and how to read it ?
I searched on the forum and i found the codes for reading XML file that is located either on client machine OR on the Application server wheareas my file is on some other than sap application server.
Please help me as its an urgent issue .
Points will be rewarded for sure.
Please help.
Thanks in advance,
Suchita.
p.s. : the http url to the file location is like -->
http://SomeServerDomain/SomeDirectory/file.xmlhi,
interesting task.
to request the file by a http call you need to create an if_http_client object.
More info is [here|http://help.sap.com/saphelp_nwmobile71/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/frameset.htm]
to parse the file you either have to work with the ixml packages ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/b5413acdb62f70e10000000a114084/content.htm]) or you use an XSLT transformation ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/a8/824c3c66177414e10000000a114084/content.htm]).
uploading the final file isn't so easy. if you only have http, you should write a server script to allow uploading of the new file and copying it into the place of the old file. but you definitely need the script.
now it's your take. depending on how experienced you are in ABAP and networking this might turn out to be easy or pretty complicated.
have fun,
anton -
OS X10.4.11 update, Safari won't connect to secure (HTTPS) URLs
Didn't find any discussion of this particular symptom of the update, so thought I'd ask.
Installed 10.4.11 update over the weekend, which contained Safari v3.0.4. After the (uneventful) install and reboot, I'm unable to connect to any secure (HTTPS) URL. Browser seems to work on non-secure connections (HTTP). My FIREFOX browser on the same machine still works.
Haven't experienced any crashing or other OS issues, only the "Can't make a secure connection" with Safari (so far).
Suggestions would be appreciated.Did you recently install the latest Security upgrade, but did not "repair permissions" on the restart? If so, that's your answer. I have found it essential to "Repair permissions" before and after any Apple system update, or Security update. Otherwise oddities may appear in the operating system.
Also, sometimes reapplying the Combo Update specific to your current version of OS X remedies these types of problems. Here too, it's important to "repair permissions" etc. -
how do i change http max connections, http max persistent, pipling to true, proxy pipling to true.
Simpler question: Can I change the max connections in Flex?
Thank you. -
Associating a subject to a HTTP URL Connection
Hello,
We have a java client application which authenticates to the server using the JAAS model. The application opens HTTP URL connections from time to time (to servlets that stream data back and forth). The access.log indicates that no subject is associated with the action. Is there a way to associate the authenticated subject with the URL connection?
WLS 8.1 SP2
Thanks,
BobNot in a directway, though you may set a token and implement an Identity asserter which can understand the token.
-
What is the difference between HTTPS URL connection and SSLSocket conn
What is the difference between HTTPS URL connection and SSLSocket connection
The difference is that they are different protocols, or rather one protocol layered over the other. If you're within a LAN you will use SSL, if it's a Web service you will use HTTPS.
-
How to encrypt UserID and Password in HTTP url
Hello experts,
We want to encrypt UserID and Password which has used in http URL in SAP PI 7.1.
As we have used SOAP adapter with Transport Protocol HTTP for sender server.
Kindly help us on it.
Regards,
Poonam.Hi,
please go through below blog,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04408cc-f10e-2c10-b5b7-af11026b2393?QuickLink=index&overridelayout=true
please go through below threads,
SOAP Envelope with user id password
Soap ---to ----file scenario
regards,
ganesh.
Maybe you are looking for
-
Creating file on local drive while running the report on web
I am using text_io package to write data to a file in reports. When I run it on my local machine, it creates the file (in C drive) perfectly but, when I am running this same report on the report server, it doesn't create the file. Looks like report s
-
I need to know all the questions below. I had to restore my computer to original state and now even if I sign on it won't let me sync my ipad or iphone. the message is that it is synced to another library and it could wipe out my data on the ipad.
-
"Loading iTunes Match" showing each time I start Music
Hi, I've recently had some trouble with iTunes match, where it wasn't downloading songs, although I could stream them fine. I spoke to someone from Apple who suggested turning off iTunes Match, then do a 'Reset All Settings', then re-enable iTunes Ma
-
Dear Members Can any one send me sample reports of .AP Trailbalance Report .Transactions Available for Reconciliation Report To the following mail.id [email protected] Thanks Padarthy Edited by: padarthy on Sep 17, 2009 4:35 AM
-
I need assistance syncing between my iMac and Surface Pro 3
I just installed the Trial of Creative Cloud in both my latest version of iMac and Surface Pro 3. What I would ideally like to do is work on my iMac when I am at home and then when I and on business trips work in my Surface Pro 3, with any edits sync