UCCX8.5 send HTTP trigger? for another server application

We have an Outage Management System (OMS) that will accept an HTTP string that creates a new outage record. So, if I enter the included example into any browser window in our network, it will create a new OMS record. 
For customers dialing into our phone system, I want them to be able to "report" an outage by building this http string and sending it to our OMS server.  I have a script that prompts the caller for their account number.  I need to add this account number onto the end of the http string (in the example, $CustomerAccount), and then send this string to a browser to create a new OMS record.  The HTTP string:
//OMSServerName/outage/main/xdoReqHandler?beanName=AutomatedDevice&methodName=get&accountNumber=$CustomerAccount
can someone explain to me if any of the Http Contact steps would be able to do this?  In my attached script, I have tried using the Http Redirect step.  My resulting error is:
Am I using these steps as designed? (with the error - apparently not).

Brian,
I was able to make your recomendation work out.  thank you.  I used my HTTP string with a fixed Account Number value and it generated a new record in our OMS server!  Just what I wanted.  My next step is to use a variable for the Account Number so I can capture it from my scripting.  can you comment on how a variable string may be used in your example?  here is what I have so far:
(I have changed the OMSServerName and Account Number as obscure to protect my records)
with an actual IP, and valid account Number in the set statement, the resulting message in the sendHTTPString name:
U"\r\n  \r\n    \r\n      Account number invalid\r\n      \r\n    \r\n  \r\n"
Again, if i input the account number inside the docURL variable instead of the $CustomerAccount it works!  The $CustomerAccount is not getting translated in this environment?
Here is the variable name and value when I debug the script:
Should I expect to see the actual account number in this value?
thank you for the help
-Wes.

Similar Messages

  • Problem in sending HTTP request to the server.

    Hi,
    i dveloped an ant script for sar deployment.
    i deployed a sar to my local soa server with ant script. it got deployed succesfully..
    but when i try to deploy to a remote server, getting the below error..
    "Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404"
    but the server is up and runnig and i am able to ping it from my machine and also access the console...
    below is my script
    build.properties
    wn.bea.home=C:/Oracle/Middleware
    all.needed.jars.path=D:/SourceCode/neededJAR
    oracle.soa.home=C:/Oracle/Middleware/Oracle_SOA1
    java.passed.home=C:/Oracle/Middleware/jdk160_24
    #Deployment environment
    deployment.plan.environment=DEV
    #Deploy Action
    deployAction =redeploy
    #credentials
    user=weblogic
    password=welcome1
    #For Composite deployment
    serverURL=http://10.177.154.6:7001
    forceDefault=true
    server=10.177.154.6
    port=7001
    sarLocation=D:/SourceCode/JAR
    build.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="soaDeployAll" default="deployAll">
         <echo>basedir ${basedir}</echo>
         <property environment="env"/>
    <echo>current folder ${basedir}</echo>
         <property file="${basedir}/build.properties"/>
         <taskdef resource="net/sf/antcontrib/antlib.xml">
         <classpath>
              <pathelement location="${all.needed.jars.path}/ant-contrib.jar"/>           
         </classpath>
         </taskdef>
         <target name="init">
              <tstamp>
                   <format property="timestamp" pattern="yyyy-MM-dd_HH-mm-ss"/>
              </tstamp>
              <property name="build.log.dir" location="${basedir}/buildlogs"/>
              <mkdir dir="${build.log.dir}"/> <property name="build.log.filename" value="build_${timestamp}.log"/>
              <record name="${build.log.dir}/${build.log.filename}" loglevel="verbose" append="false"/>
              <echo message="Build logged to ${build.log.filename}"/>
         </target>
         <target name="deployAll" depends="init">
         <echo>Deploy for environment ${deployment.plan.environment}</echo>
         <antcall target="deployAllComposites"/>
    </target>
    <!-- Following Actions are performed for Composite files in Managed Server - Deploy,Redeploy -->
         <target name="deployAllComposites" depends="init">
         <foreach target="deployComposites" param="Files">
              <fileset dir="${sarLocation}" casesensitive="no" includes="*.jar"/>
         </foreach>
         </target>
         <target name="deployComposites" depends="init">
         <basename file="${Files}" property="basename"/>
    <echo>Deploy Project ${basename} for environment ${deployment.plan.environment}</echo>
              <if>
                   <equals arg1="${deployAction}" arg2="deploy" />
                   <then>
                        <echo message="Deploying composites in Managed server........." />
                        <ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
                             <property name="serverURL" value="${serverURL}"/>
                             <property name="user" value="${user}"/>
                             <property name="password" value="${password}"/>
                             <property name="overwrite" value="false"/>
                             <property name="forceDefault" value="${forceDefault}"/>
                             <property name="sarLocation" value="${sarLocation}/${basename}"/>
                        </ant>
                   </then>
                   <else>
                        <echo message="ReDeploying composites in Managed server........." />
                        <ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
                             <property name="serverURL" value="${serverURL}"/>
                             <property name="user" value="${user}"/>
                             <property name="password" value="${password}"/>
                             <property name="overwrite" value="true"/>
                             <property name="forceDefault" value="${forceDefault}"/>
                             <property name="sarLocation" value="${sarLocation}/${basename}"/>                         
                        </ant>
                   </else>
              </if>
    </target>
    </project>
    please help....

    Hi,
    Give the serverURL as http://<host>:<managed.server.port>/soa-infra/deployer and try.
    e.g . http://10.177.154.6:8001/soa-infra/deployer
    Regards,
    Neeraj Sehgal

  • Chang system userid/password for another server instance

    It it possible to change the system userid/password for another server
    instance. If so , how ?
    I would like to allow certain groups to be able to start and stop ONLY their
    server without giving out the system account.
    Thanks in advance!

    the relationship between the infrastructure nodes and the application server nodes is a one to many relationship. The infrastructure home should be the only home that the EMWebsite service has been started for.
    the user to log in to em console is ias_admin/<password> if it does not accept the password that you set for this user then try it with caps lock on as you may have had it one when setting the password.
    As 9ias release 2 has been designed with a multiple machine install in mind, if you install more than one instance (multiple oracle homes) on the server then you will end up with multiple apache processes and oc4j processes. This means you will be able to connect to 2 apache server homepages under different ports. That is why you get the same page.

  • Help!!! Sending serialized object to another server/servlet

    I am trying to simply send a serialized bean to a servlet on another server. I have lot's of examples of doing this as a stream and recieving back a stream to output, trouble is, I want to do this as a means of communicating the state of a process from one application kicking off the process on the new application. So when the page is returned, I need to be located on the new server. Here is the stream code I'm using:
    String strUrl = "http://www.myurl.net";
    try {
         URL url = new URL(strUrl);
         HttpMessage msg = new HttpMessage(url);
         BufferedReader in;
         Object beanObj = (Object) myBean;
         MyBean beany = (MyBean) beanObj;
         in = new BufferedReader(new InputStreamReader(msg.sendPostMessage(beany)));
         String inputLine;
         while ((inputLine = in.readLine()) != null) {
         out.println(inputLine + "\n");
         in.close();
    catch(IOException io) {
    out.println("Unable to call the servlet " + io);
    out.close();
    How would I do this if I wanted to send and not come back to the original server?

    Why not create a little daemon to run on Server B (using the Servlet API would make this really easy) that listens for requests from Server A. The Servlet running on Server A would:
    1. Do whatever it needs to do
    2. Open an HttpURLConnection to Server B, use the getOutputStream() method to get a pipe to write serialized data to, couple it with an ObjectOutputStream, and write the session object to it.
    3. Use the sendRedirect() method to redirect the client to Server B.
    Upon receiving a request, the Servlet on Server B would:
    1. Call Servlet.getInputStream() to get the input stream to read objects from.
    2. Couple this with an ObjectInputStream to read objects from.
    3. Read the session object and cast it to the appropriate type.
    4. Stash the session object in a global lookup so it can be retrieved when the client arrives. I don't think the session can be created at this point because the request doesn't originate from the browser.
    Then, finally, the Servlet running on Server B that handles client requests would:
    1. Create a new session
    2. Retrieve the session object from the global data store and stash it in session.
    3. Go on its merry way.
    Hope this was on target and is useful.

  • ECM11g: How to enforce HTTPS access for Content server console

    Hi,
    We have a requirement of accessing Content Server console (https://<hostname>:<port>/cs) with https protocol only. If a user sends a http request (http://<hostname>:<port>/cs) it should get converted to https.
    The managed server is running with non SSL port. The request is comming from Apache where we have used the parameter "WLProxySSL" to enforce the https, however its not getting enforced for Content Server URL.
    Any help in this regard is highly appreciated.
    Thanks.

    Sorry, I forgot to say that
    i don't want to use the popup
    window that appears when JWS
    encounter an URL that requires
    basic authentication.
    In fact, I don't want to have to enter
    login/password for updates each time
    I start my application with JWS.

  • How do I send HTTP request to a server via a proxy server in JDK 1.4?

    JDK 1.5 's URL class provides an overloaded version of openConnection() which accepts an object of type Proxy using which we can establish connection with a remote server via a proxy server, but JDK 1.4 doesn't provide any such overloaded version. How do I do that in JDK 1.4? Even if I had a class that can create HTTP packets for me, then I could have established Socket connection with the proxy server and sent the HTTP packet to it. Is there a way to do that also?

    There are some system properties, which can be set with System.setProperty [http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html]

  • Use of servlet http tunneling for client server communication

    Hello I am having a problem connecting a simple client applet to a server application. I can connect the two directly using sockets. However, when I try to connect the two via a servlet the input stream cannot be accessed. The application is purely for demonstration. Here is some of the source code
    A servlet for http tunneling
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class SocketServlet extends HttpServlet
         ServletInputStream servletinput;
         ServletOutputStream servletoutput;
         Socket socket;
         DataOutputStream dataoutput;
         DataInputStream datainput;     
         public SocketServlet()
    public void init(ServletConfig servletconfig) throws ServletException
    super.init(servletconfig);
    log("Socket servlet initialized.");
         public void doPost( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException
    try
    servletinput = request.getInputStream();
    socket = new Socket( InetAddress.getByName( "127.0.0.1" ), 5000 );
    dataoutput = new DataOutputStream( socket.getOutputStream() );
    try
                        byte[] inbytes = new byte[1024];
                        servletinput.read( inbytes );
                        String inmessage = new String( inbytes );                    
                        dataoutput.writeBytes( inmessage );
    catch(IOException ioex)
    dataoutput.flush();
    datainput = new DataInputStream( socket.getInputStream() );
    servletoutput = response.getOutputStream();
    try
    byte[] outbytes = new byte[1024];
    datainput.read( outbytes );
    servletoutput.write( outbytes );
    catch(IOException ioex)
    servletoutput.flush();
    servletoutput.close();
    catch(Exception ex)
    // Server.java
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Server extends JFrame {
    private JTextField enter;
    private JTextArea display;
    DataOutputStream output;
    DataInputStream input;
    public Server()
    super( "Server" );
    Container c = getContentPane();
         enter = new JTextField();
         enter.setEnabled( false );
         c.add( enter, BorderLayout.SOUTH );
    display = new JTextArea();
    c.add( new JScrollPane( display ),
    BorderLayout.CENTER );
    setSize( 300, 150 );
    show();
    public void runServer()
    ServerSocket server;
    Socket connection;
    int counter = 1;
    try {
    // Step 1: Create a ServerSocket.
    server = new ServerSocket( 5000, 100 );
    while ( true ) {
    // Step 2: Wait for a connection.
    display.setText( "Waiting for connection\n" );
    connection = server.accept();
    display.append( "Connection " + counter +
    " received from: " +
    connection.getInetAddress().getHostName() );
    // Step 3: Get input and output streams.
    output = new DataOutputStream(
    connection.getOutputStream() );
    input = new DataInputStream(
    connection.getInputStream() );
    display.append( "\nGot I/O streams\n" );
    // Step 4: Process connection.
    String message =
    "SERVER>>> Connection successful";
    output.writeBytes( message );
    enter.setEnabled( true );
                   display.append( "\nConnected\n" );
    do {
    try {
                        byte[] mess = new byte[1024];
    input.read( mess );
    display.append( "\n" + message );
    display.setCaretPosition(
    display.getText().length() );
                   catch (IOException ioex )
    } while ( !message.equals( "CLIENT>>> TERMINATE" ) );
    // Step 5: Close connection.
    display.append( "\nUser terminated connection" );
    enter.setEnabled( false );
    output.close();
    input.close();
    connection.close();
    ++counter;
    catch ( EOFException eof ) {
    System.out.println( "Client terminated connection" );
    catch ( IOException io ) {
    io.printStackTrace();
    private void sendData( String s )
    try {
    output.writeBytes( "SERVER>>> " + s );
    display.append( "\nSERVER>>>" + s );
    catch ( IOException cnfex ) {
    display.append(
    "\nError writing object" );
    public static void main( String args[] )
    Server app = new Server();
    app.addWindowListener(
    new WindowAdapter() {
    public void windowClosing( WindowEvent e )
    System.exit( 0 );
    app.runServer();
    // Fig. 21.4: Client.java
    // Set up a Client that will read information sent
    // from a Server and display the information.
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.util.zip.*;
    public class Client extends Applet implements ActionListener {
    private TextField enter;
    private TextArea display;
    DataOutputStream output;
    DataInputStream input;
    private Button button, button2;
    URLConnection connection;
    private byte[] bytes1, bytes2;
    private String message, message2;
    public void init()
    setLayout( new BorderLayout() );
    enter = new TextField( " Enter text here " );
    enter.setEnabled( false );
    enter.addActionListener( this );
    add( enter, BorderLayout.NORTH );
    display = new TextArea( 4, 30 );
         display.setEditable( false );
    add( display, BorderLayout.CENTER );
         button = new Button( "Connect" );
         button.addActionListener( this );
         add( button, BorderLayout.SOUTH );
    public void runClient()
    Socket client;
    try {
    // Step 1: Create a Socket to make connection.
    display.setText( "Attempting connection\n" );
              URL currentpage = getCodeBase();
              String protocol = currentpage.getProtocol();
              String host = currentpage.getHost();
              int port = 8100;
              String urlsuffix = "/servlet/SocketServlet";
              URL dataurl = new URL( "http://localhost:8100/servlet/SocketServlet" );
              connection = dataurl.openConnection();
    connection.setDoOutput(true);
    connection.setDoInput(true);
    connection.setRequestProperty("Content-type", "application/octet-stream");
              connection.setUseCaches( false );
              display.append( "\nConnected to: " + host );          
    // Step 2: Get the output streams.
    output = new DataOutputStream(
    connection.getOutputStream() );
              display.append( "\n got output stream\n" );
              // Step 3 get input connection
              try
              display.append( "\nAttempting to connect to input stream\n" );
                   input = new DataInputStream( connection.getInputStream() );
                   bytes1 = new byte[1024];
                   input.readFully( bytes1 );
                   display.append( "\nGot input stream\n" );
                   message = new String( bytes1 );
                   display.append( "\n" + message + "\n" );          
              catch ( IOException ioex )
              // Step 3: Process connection.
              enter.setEnabled( true );
              do {
              try {
    bytes2 = new byte[1024];
              input.readFully( bytes2 );
              message2 = new String( bytes2 );
              display.append( "\n" + message2 );
              display.setCaretPosition(
              display.getText().length() );
              catch ( IOException ioex ) {
              display.append(
              "\nUnknown object type received" );
              } while ( !message.equals( "SERVER>>> TERMINATE" ) );
    // Step 4: Close connection.
    display.append( "Closing connection.\n" );
    output.close();
    input.close();
         catch (MalformedURLException mfe )
    catch ( EOFException eof ) {
    System.out.println( "Server terminated connection" );
    catch ( IOException e ) {
    e.printStackTrace();
    private void sendData( String s )
    try {
    message = s;
    output.writeBytes( "CLIENT>>> " + s );
    display.append( "\nCLIENT>>>" + s );
    catch ( IOException cnfex ) {
    display.append(
    "\nError writing object" );
    public void actionPerformed( ActionEvent e )
         if ( e.getActionCommand() == "Connect" )
              runClient();
         else
              sendData( e.getActionCommand() );
    public static void main(String args[])
    Frame f = new Frame("Chat Client");
         Client c = new Client();
         c.init();
         f.add("Center", c);
         f.setSize(300, 150);
         f.show();
    the connection appears to fail at client step 3, any help is super, thanks
    Aidan

    Hi,
    In your client you are trying to open OutputStream even though you are not using it.
    So there are two solutions here.
    1. If you dont need OutputStream your code shoud look like this
    try {
    // Step 1: Create a Socket to make connection.
    display.setText( "Attempting connection\n" );
    URL currentpage = getCodeBase();
    String protocol = currentpage.getProtocol();
    String host = currentpage.getHost();
    int port = 8100;
    String urlsuffix = "/servlet/SocketServlet";
    URL dataurl = new URL( "http://localhost:8100/servlet/SocketServlet" );
    connection = dataurl.openConnection();
    //connection.setDoOutput(true);
    connection.setDoInput(true);
    connection.setRequestProperty("Content-type", "application/octet-stream");
    connection.setUseCaches( false );
    display.append( "\nConnected to: " + host );
    // Step 2: Get the output streams.
    //output = new DataOutputStream(
    //connection.getOutputStream() );
    //display.append( "\n got output stream\n" );
    display.append( "\n Not interested in output stream\n" );
    //Step 3 Inpustream related
    // Step 4: Close connection.
    display.append( "Closing connection.\n" );
    //output.close();
    input.close();
    1. If you need OutputStream, close your OutputStream before even trying to get InputStream, your code should like this
    try {
    // Step 1: Create a Socket to make connection.
    display.setText( "Attempting connection\n" );
    URL currentpage = getCodeBase();
    String protocol = currentpage.getProtocol();
    String host = currentpage.getHost();
    int port = 8100;
    String urlsuffix = "/servlet/SocketServlet";
    URL dataurl = new URL( "http://localhost:8100/servlet/SocketServlet" );
    connection = dataurl.openConnection();
    //connection.setDoOutput(true);
    connection.setDoInput(true);
    connection.setRequestProperty("Content-type", "application/octet-stream");
    connection.setUseCaches( false );
    display.append( "\nConnected to: " + host );
    // Step 2: Get the output streams.
    output = new DataOutputStream(
    connection.getOutputStream() );
    display.append( "\n got output stream\n" );
    //I'll do whateve I've to do with outputstream
    //done with output stream closing
    output.close();
    //Step 3 Inpustream related
    // Step 4: Close connection.
    display.append( "Closing connection.\n" );
    //output.close();
    input.close();
    hope this works
    all the best,
    Raj

  • Get HTTPS URL for Web dynpro application

    We are using SSL. By default the URL generated for the Web dynpro application is HTTP.
    We went to SICF, and deactivated the HTTP service. That made the URL point to HTTPS.
    But few problems started coming because of it:
    - Our Content server became inaccessible.
    - Every time server is re-started, we need to manually go and de-activate HTTP Service.
    We even tried to set the parameter icm/icm/HTTP/redirect_0. But problem is not solved.
    I know this question is asked before, but every time the answer is to read the help document on ICM.
    What's the correct way for any webdynpro application to point to HTTPS? I don't think de-activating HTTP service is the right way.
    Any suggestions please?
    Thanks in adv.

    Thanks a lot Thomas. I'd ask the Portal Admin to try it out.
    There is another similar problem we are facing: I have embedded Webdynpro in R/3 screen. Then used the cl_gui_wdr_viewer class's load_application method passing HTTPS protocol.
    It returns HTTPS URL only, but is not showing up on users' laptops.
    Earlier we were not passing HTTPS protocol, so generated URL was HTTP, and it was not showing on users' screen (can show in ours). Reason we found out is that users' site has HTTP port blocked. They cannot show any HTTP url.
    So we changed to get HTTPS URL, but that also gives the same problem. It is still trying to get HTTP url.
    Here is the URL that the users got: (when they right click to see the URL generated)
    res://ieframe.dll/dnserrordiagoff_webOC.htm#http://abc.def.jil:8000/sap/public/myssocntl?sap-client=220
    Can give any clues on why this is going wrong? Cannot raise OSS as I know embedding Webdynpro in R/3 is not supported
    Thanks in adv.

  • HTTPS (SSL) for an internal application: benefits? costs?

    This is a traditional SAP R/3 customer, recently upgraded to ECC (ECC 6.0, Basis 7.0). We are still using the ABAP stack only, with no plans of installing the Java stack, installing SAP EP portal, … .
    A small "Web Dynpro for ABAP" (WDA) application has been developed, as an exploration into the world of WDA. It is intended for occasional users - users who rarely  use the SAP system and who do not have the SAP GUI for Windows installed on their PC. It is purely an internal service (intranet) - not customer-facing, only available on the internal network.
    It is currently using plain HTTP, but the question has been raised whether we should use HTTPS (in other words, set up for SSL).
    What would be gained by doing this and how much would it cost?
    If I understand correctly, it would enable server authentication. You would be certain that it is the genuine SAP server that is asking for your username and password, not some phishing scheme - not really a big issue on the internal network. (We could buy a server certificate from the SAP TC Trustcenter CA - 260 EUR excl VAT.)
    It would also enable client authentication. If I understand correctly, this would remove the need for username/password log-in, but it would require the creation of certificates for each one of those users, to be distributed to each one of them and installed in their browser. No small undertaking! This sounds like the scheme used for the "SAP Passport" in the SAP Service MarketPlace.

    First you can turn on HTTPS without the use of client certificates.  These are two different things.  You can have HTTPS and still use basic authentication or forms based authentication.  You could do certificates as well (which then would require HTTPS), but certificates are not a requirement if you just want to do HTTPS.
    The main benefit of HTTPS is the encryption of the data as it travels through your network.  With plain HTTP, anyone with a network sniffer could read any of the data across the network (including the user's password when they login).  The question probably comes back to how much you trust the security of your internal network.  But also you might consider what a rouge employee could do with some basic network knowledge - mainly gaining other users passwords.
    That is also why SAP offers a hybrid approach called switch to HTTPS for logon. This is a setting in the logon configuration in the service nodes in transaction SICF.  This way you switch into HTTPS just for the logon screen.  The password is sent encrypted.  Then for the application data itself, you switch back into HTTP.  This way you don't pay the performance cost of encrypting all the data for every HTTP request/response.

  • Can i use forms 9i or 10g for client/server applications

    Right now, we are using oracle 9i DB and developer suite 10g. I have to build a client/server application. In one of the OTN articles, it says that from forms 9i onwards, it's not supporting client/server applications. Do i have to use 6i for this.
    Thank You.
    Sree.

    That's right. Only web deployment is support from 9i onwards. Bad decision since Oracle seems to ignore their customer's view

  • Sending a parameter to another WDA Application in my WDA Appliction

    Hi,
    i have a tree and i am calling another wda application on select the item of my tree but i want to send a parameter that is value of selected item of my tree.
    How can i call the wda applications with sending a parameter?
    Can somebody help me pls?
    Thanks.

    Hi,
    You can call navigate_absolute of if_wd_portal_integration.
    This can be done using code wizard:
    1. Select portal integration radio button of code wizard
    2. Select navigate_absolute method
    In  navigation_target parameter, you have to pass PCD location of iView of the other application say APP2
    and in business_parameters table type parameter,  you can pass any number of parameters in key value format.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      CALL METHOD lo_portal_manager->navigate_absolute
        EXPORTING
          navigation_target   = 'Put PCD Location of iView '
    *      navigation_mode     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE
    *      window_features     =
    *      window_name         =
    *      history_mode        = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
    *      target_title        =
    *      context_url         =
    *      post_parameters     = ABAP_FALSE
    *      use_sap_launcher    = ABAP_TRUE
           business_parameters = lt_business_parameters
    *      launcher_parameters =

  • Choosing a port for Client/Server applications

    Just going through the Sun tutorials and trying to establish a connection. In the KnockKnockClient example program they have initiated a new Socket with a server name and port number as follows:
    kkSocket = new Socket("taranis", 4444);I've changed the taranis to "127.0.0.1" and port number to something random that is unused (37838) but I still get an IOException.
    Are there any particular ports I can use on my local machine to get the programs up and running?

    spencer.bowman wrote:
    Just going through the Sun tutorials and trying to establish a connection. In the KnockKnockClient example program they have initiated a new Socket with a server name and port number as follows:
    kkSocket = new Socket("taranis", 4444);I've changed the taranis to "127.0.0.1" and port number to something random that is unused (37838) but I still get an IOException.
    Are there any particular ports I can use on my local machine to get the programs up and running?The port you specify in the client is not a random port. It's the port of the listening server application (server socket).

  • Code sample HTTP get for J2EE server

    Hi,
    could somebody pls. provide a code sample to access a SAP WAS J2EE server via HTTP GET?
    I needed this to get a SAP Logon ticket issued to my web dynpro application. Basically I am imitating a logon to the server in order to get the logon ticket in return. This is the same as logging on using IE to http://server.domain:5xxxx. Should my user credentials be valid, the HTTP get would return a SAP Logon ticket (among other data).
    Thank you,
    Rene

    how would you direct the GET requests to one servlet and the POST requests to the other?
    Wouldn't they need to pass thru' yet another servlet to decide which is which (GET or POST), and redirect them accordingly?
    I would have both GET and POST handled by the same single-point-of-entry servlet. For example, not all data is sent to the server via a POST - you can send form data via a GET, using name/value pairs in the url.

  • Send uploaded file to another server

    i have build a bsp who can i upload 2 files.
    these files are saved in a table with filename, extention and content. now i want to send these informations to a external server.
    i found nothing about this theme...
    have somone a idea?
    thx
    Dogas
    Message was edited by: Chris McDogas

    There is a coding example in this weblog of using the HTTP Client Functionality:
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    However I think that only gets you part of the way there.  I'm still now sure exactly what mechanism you will use to upload the file.  That is why I asked can you perform the action from a PC.  I was trying to figure out if there is a webpage on this external server that has a UI for uploading the file. Just making an HTTP connection isn't going to magically transport your file up to this external server.

  • Getting error in log after sending https requiest to weblogic server.

    Hi,
    I am using weblogic 10.3 in production have three manage server in a single cluster, all the request at coming to the manage server from RADWARE WST load balancer, previously i am using appxcel device from radware for ssl encryption / decryption, not I remove this appxcel and the https request are directly coming to my weblogic manage server,
    Now following error i am gettion in my log file.
    ####<Apr 28, 2010 10:35:33 AM GMT+05:30> <Debug> <SecuritySSL> <newows> <Owstest> <ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <> <1272431133354> <BEA-000000> <NEW ALERT with Severity: WARNING, Type: 0
    java.lang.Exception: New alert stack
    at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.closeWriteHandler(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.close(Unknown Source)
    at javax.net.ssl.impl.SSLSocketImpl.close(Unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handle(Unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handleAlertMessages(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
    at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.read(Unknown Source)
    at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    at weblogic.socket.SSLFilter.isMessageComplete(SSLFilter.java:202)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:100)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Any one has the solution of this error, and why this error is coming.
    Edited by: user9286345 on Apr 27, 2010 10:10 PM

    this message i m receiving in server.out file. kindly tell me what is the reason for that??
    <Apr 28, 2010 8:10:37 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 122.163.3.36 - 122.163.3.36. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    Bcast compressor object created
    <Apr 28, 2010 8:10:45 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 122.163.3.36 - 122.163.3.36. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    <Apr 28, 2010 8:10:46 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 122.163.3.36 - 122.163.3.36. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    Bcast compressor object created
    Bcast compressor object created
    Bcast compressor object created
    Bcast compressor object created
    Bcast compressor object created
    Bcast compressor object created
    Bcast compressor object created
    Bcast compressor object created
    <Apr 28, 2010 8:11:15 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 115.118.217.64 - 115.118.217.64. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    <Apr 28, 2010 8:11:16 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 117.197.52.98 - 117.197.52.98. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    Bcast compressor object created
    <Apr 28, 2010 8:11:22 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 117.197.52.98 - 117.197.52.98. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    <Apr 28, 2010 8:11:23 AM GMT+05:30> <Warning> <Security> <BEA-090482> <BAD_CERTIFICATE alert was received from SYSTEM - 172.17.1.116. Check the peer to determine why it rejected the certificate chain (trusted CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the certificate was rejected.>
    <Apr 28, 2010 8:11:26 AM GMT+05:30> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from 117.197.52.98 - 117.197.52.98. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>

Maybe you are looking for