How to send HTTP Post to URL (third party software) in JSP/JSPDynpage

Hello,
we want to integrate a third party application in our Portal Component (JSPDynpage using JSP and HTMLB). This third party component is called like this:
http://servername:port/cgi-bin/cgi.exe?request=map&format=html&swldy_ace=GDF&swldy_image_format=p n g&width=525&height=375
How can we do this in the JSP using HTMLB?
Thanks for your help.
Best regards,
Daniel

Hi Detlev,
thanks for your hint regarding the App. Integrator, but it seemn not to be what we want to do: We call a CGI and get a JEPG Image back as request.
Now we used the java.net.URLConnection to do the HTTP post in the JSPDynpage:
// send HTTP POST
try {
  u = new URL("http://server/path/ourcgi.exe");
} catch(MalformedURLException ex) {
  System.err.println("MalformedURLException");
// build query sting      
String query = "request=plot&format=jpeg&template_name=......."
int cl = query.length();
try {
  // open the connection and prepare it to POST
  URLConnection uc = u.openConnection();
  uc.setDoOutput(true);
  uc.setDoInput(true);
  uc.setAllowUserInteraction(false);
  DataOutputStream dos = new DataOutputStream(uc.getOutputStream());
  dos.writeBytes(query);
  dos.close();
} catch ...
Best regards,
Daniel

Similar Messages

  • How to send job postings to multiple third party sites using the XML output

    Dear Friends,
    We are Implementing Irecruitment for our client, Client requirement is how can we send job postings to multiple third party sites using the XML output from i-Recruitment
    With regards
    Surya
    .

    Can you be more specific about your Requirement. In General, Please navigate to iRecruitment Recruiter Responisbility.
    Then Select, Setup > Recruiting Sites. Here, you can configure your Third Party Websites information and attach stylesheets. The default mode oracle sends the vacancy information is HR-XML Format.
    If you would like to select more sites information select "Add Another Row".
    Then, you can see this information while "New Vacancy Creation Process".
    iRecruiter.
    Edited by: iRecruiter on Oct 18, 2009 7:43 AM

  • How to send HTTP POST message using Business Service ?

    Hi all,
    I need to call a service which accepts HTTP post, how can I achieve this using OSB Business Service ? Kindly post any documentation link related to this.
    Thank You
    Arun

    Basically to to create a business service to send to a HTTP post all you need to do to point the business service to the desired URL.
    In the OSB console you can test using the debug option. All you need to do is paste the XML you require and execute.
    If this works then you know your business services is sorted. Can you confirm you can complete up to this point?
    As Anuj correctly states you need to populate the body variable. This is the fundamental concept of OSB. All service calls request and respond using the body variable. So if you create a proxy service and route to the business service and provide NO routing. The proxy service will pass the input of the Proxy service to the input of the business service as the body has been populated by the Proxy service.
    cheers
    James

  • How to call HTTP Post Method URL in SOA 10g

    Hi,
    I have a requirement where i need to call a HTTP Post Method, I have a URL, if i hit it in the browser, i am getting the response details. I know there is a HTTP Binding Adapter in 11g, but we are on 10g. Can anyone please let me know whether we can do it in 10g and how ?
    Thanks Always
    N

    You will need to write the WSDL by yourself. Just make sure you have the end point detail, operation name(if required) and the schema available to write the WSDL.

  • How to send data from BW to third party

    Hi Gururs,
    We got one of my requirement that we have to send 2 files (delta and full file) from BW to Third Party system. For the delta files we have to send an after-image and we are using FI datasource.Could anybody can tell how to design it?
    1. is that advicable to use the FI datasource directly to infocube as the FI datasource is AIE extractor?
    2.Can we the use BWA in APD. If yes how?
    3.To send an files to third party which concept can we use APD or OHD. We advised to used OHD ,but  the clients are not agreeing. They asking why we cant use APD? They saying APD will be more performance. Could u pls tell why and how?
    Thanks in advance...

    Hi,
    It is not advaisable to load FI data to IC directly, must load to DSO first.
    - If client asking to use APD, you cah go ahead.
    SOURCE - DSO and capture deltas
    Transformation
    Target - Flat File
    Use-
    APD helps to identify hidden or complex relationships between data in a simple way. Various data transformations are provided for this purpose, such as statistical and mathematical calculations, and data cleansing or structuring processes
    Regards,
    rvc

  • HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA APPLICATION

    HI expects,
            HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA or . DET APPLICATION.please provide me some scenarios and documents.please help me.

    Hi,
    In the sender side i.e. in SAP system you can use IDoc/RFC/Proxy to push the data to XI.
    IDoc supports only Async communication and in Sync case performace is good using Proxy.
    In the receiver side you can use Java Proxy to connect to the Java application or you can even bulid a webservice over the Java/.Net application and use SOAP adapter to post data to it.
    Thanks
    SaNv...

  • How to use message queue for inegrating third party with EBS

    Hi Experts,
    We would like to integrate a third party system with EBS using message queues.
    Where we will subscribe to a businnes event and which will populate the messages to messages queue.
    But how can we deque this message in third party systems. We are in R12.1.3 and no FMW installed.
    Any adapater or something is availabe, If so please throw some inputs.
    Thanks
    Bhaart

    Please go to the link
    http://developer.novell.com/extend/composer/1006.html
    and also see the "message filtering" section.
    Where you can find
    Exposing message selection hints in the header portion of a message is a common tactic when multiple receiving apps are pointed at the same queue. The application that is best suited to handling a given message type can harvest just the messages it needs, while other applications can act on messages better suited for them. Administratively, it is more efficient to set up one queue (with multiple receivers accessing it) than to set up multiple queues, each with a dedicated receiver. My question is how can I achieve this Via progamatically ?

  • How to link third party software with labview program ?

    I have designed a labview  
    program to analyse and make  
    graph and save the datas  
    from the photon counter using  
    ni USB DAQ 6008. And the  
    photon counter is controlled  
    by the third party software with  
    itself. both programs are  
    executing successfully. But  
    my task is run both the  
    program at the same time. i.e.  
    link the third party software  
    with my labview program.  
    How to i do this?

    Your question is too vague since you give no information as to this third party application. Is it an application you wrote? Is it an application that you cannot change? Does it have a programming interface? Can you eliminate this third-party application and control the photon counter yourself? Have you tried to do a search, as this question has come up before many times. For example:
    http://forums.ni.com/t5/LabVIEW/how-do-I-use-labview-to-control-other-programs/m-p/424765
    http://forums.ni.com/t5/LabVIEW/How-to-operate-another-application-s-GUI-from-LV/m-p/668088

  • How to streaming data/image from labview to a third party software

    Hi, i am working on a research project and stuck on the following problem: I have two cameras and one IMU Sensor unit, all conected to my PC. I save the camera images as avi format and the IMU sensor as TDMS format. I have also another software running on the same PC which i developed using VisualStudio2013.  On this software i alredy implemented a very complex filter to fuse images and IMU.  Now my quesion: would be it possibel to stream the .avi and .tdms from LabView to my software so I can test in real time how my filter is performing? If yes please let me know what LabView function do i have to use. thanks

    Thanks, the hardware are my PC, 2 usb cameras and one usb-IMU sensor. The PC runs w7 with LabView2014. I can read the camera and IMU to my Laview without any problem and save the data on my hard desk. I am also developing another software on VS-C++ for image processing and data fusion. I would like to know what is the best (and fastest) possibility to stream this data (Images and IMU) in real time from LabView to my own software?
    I read a lot in NI-website on how to communicate LabView with a third party software. They are summarized in this link:
    https://decibel.ni.com/content/docs/DOC-9131
    It looks for me that the ‘shard memory’ principle (or File Mapping) is the most convenient method. In VC++ under windows I can easily handle shared memory by calling FileMapping windows functions. Now the question is how can I do that in LabView? I am relatively new in LabView and do not know if it is possible to use shared memory in LabView. For example: is it possible in LabView to buffer both video streams and IMU-data (live) in a shared memory in computer RAM using the windows FileMaping functions (may be using .dll). Then I can access the RAM form my own software and read the stream. Please see the attachment for more description.
    Attachments:
    Unbenannt.PNG ‏139 KB

  • How can I browse third party software

    I have spent the past hour trying to locate a listing of Third Part Software (Applications) presently on the Apple website.  In addition, there seems to be "Community" whereby this can be addressed or at least nothing containing Software or Applications or any other similar name.  I DO NOT want to have to activate iTunes as this would seem to indicate that I wanted to buy something but since all I am presently doing is RESEARCH into what is capabilities, all i really need is software titles to see if I can discover anything that even close to what I am looking for and usually that is ONLY available on the developers website.
    Can this be done?  HOW?
    Sparkgapper

    Sparkgapper wrote:
    I DO NOT want to have to activate iTunes
    What do you mean?
    I have spent the past hour trying to locate a listing of Third Part Software (Applications) presently on the Apple website.
    If, by "Apple website" you mean the Mac App Store, AFAIK there is no such listing. However, you can go to
    <http://itunes.apple.com/us/genre/mac/id39?mt=12>
    and then browse the apps on offer by category -- no need to 'activate' anything. Whether there is or not a way of querying exclusively for third-party software, I don't know.
    If you're looking for a listing of all Mac OS X third-party software in the world, there is no such thing. But, if you're looking for sites which list Mac software, here are a few suggestions:
    <http://www.macupdate.com/> (is, IMHO, the best of the lot)
    <http://download.cnet.com/mac/> (used to be quite good as VersionTracker; but it's gone downhill since acquired by CNET/CBS)
    <http://mac.softpedia.com/>
    <http://en.softonic.com/mac>

  • I have admin access to the main router in our LAN, so how can i telnet or get access to other LAN members in LAN without using third party software?

    I have admin access to the main router in our LAN, so how can i telnet or get access to other LAN members in LAN without using third party software?
    its linksys3500 router and  i login as admin using the gateway address in address bar..
    i want to access the c drive of my colleague in same subnet in same office and i know his ip address.but he not configured telnet accept request.so without it how can i open his telnet port and access him

    Duplicate post. 

  • SCCM - How to find Licensed Third party software installations in SCCM 2007

    Hi All,
    Can anyone please help me with steps to find , all the licensed third party software exisisting in the environment. Which report should i run to get this.
    Rgs,

    You can use software metering :
    http://technet.microsoft.com/en-us/library/bb694169.aspx
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • How to configure Solaris that third-party software can use Netscape

    Hi,
    I don't know if this is Solaris configuration issue.
    I have Storage Foundation installed on Solaris 10 SPARC.
    And I am using the VEA GUI application to manage storage. Then I intentionally made some activities that the Error window appears with the link.
    This link point to the Veritas web page.
    After clicking on this link the error appears:
    "Error attempting to launch web browser.:
    netscape: not found"
    Please tell me whether this issue is because it needs some changes in Solaris or maybe the Storage Foundation needs to be configured properly?
    The internet connection works fine while executing the Netscape from CDE.
    Kind regards,
    Daniel

    I don't think it has anything to do with the third-party software. When you click on a link or document, the OS tries to access it using the associated application. In your case, clicking on a hyperlink tries to load the default web browser which on your system is Netscape.
    If say, you installed Firefox and configured it to be the default web browser then Solaris would launch it instead.
    Try to manually launch Netscape and in the preferences, set it as the default web browser. See how you go with that.
    Cheers,
    Erick Ramirez
    Melbourne, Australia

  • When installing third party software, how do I temporarily turn off the factory installed virus sw and firewall?

    when installing third party software, how do I temporarily turn off the factory installed virus sw and firewall?  Is it necessary on a Mac to do so?  I come from the Windows world and am still in the learning curve on the Mac.

    Correct.  I have not installed ANY other software for anti-virus, etc.  I want to install a Synch app for my HTC phone to sych with MS Outlook 2011 installed on my Mac.    HTC will not synch with it otherwise.  That was really the basis for my question....if installing a non Apple app can be done without messing with factory settings on the Mac.  In Windows I remember that I needed to disable Norton and the Firewall in order for installation to occur. 
    Thanks.

  • How to uninstal third party software on Macbook pro

    how can we uninstall a third party software
    Khullar

    Any help here : Adobe Community: Uninstall Acrobat
    There should be an uninstaller in /Applications/Adobe Acrobat/...

Maybe you are looking for