Passing data to IP address and PORT???

Hi,
I am trying to do a scenario, where in I need to make a synchronous call to a IP address and Port.
The scenarion is
SAP--> XI --> IP address/Port.
Has anyone done this scenario, wherin you pass the string of data to a IP address and port?
Regards

The scenario is RFC --> SAP XI --> IP address/port.
We have to give the bank related data to an IP address and a port for which we have to do a socket level programming.
Its a synchronous call.
We are thinking of using JAVA proxies for the same. But the receiver side JAVA proxies have to sit on XI server?
Can we have receiver side proxies on SAP XI server and make a call to IP address and Port?
Can the .ear file be deployed on the XI server??
Thanks

Similar Messages

  • Passing data b/w applet and apache server

    Hi all,
    I have an application that runs in the JApplet.I have to pass data b/w server and applet.The
    datas are brought from the server using php to the browser and passed to applet using param
    tags.
    1.Is it possible to set value for the param tag from applet?
    2.How to retrieve data from the param tag to the applet in the form of an array.
    In the getParameter it is required to specify the param name.
    Is it possible to retrieve data from param tag similar to that of getting data from command
    line arguments array.

    Hi all,
    I have an application that runs in the JApplet.I have
    to pass data b/w server and applet.The
    datas are brought from the server using php to the
    browser and passed to applet using param
    tags.
    1.Is it possible to set value for the param tag from
    applet?Why do you ever want to do it? It sounds like setting arguments passed to a program's main method from command line after the main method has been invoked. It is possible though to dynamically set any values for any applet params using php before the applet gets loaded to the browser window as you generate an html file on the server side.
    2.How to retrieve data from the param tag to the
    applet in the form of an array.
    In the getParameter it is required to specify the
    param name.
    Is it possible to retrieve data from param tag similar
    to that of getting data from command
    line arguments array.You can use some naming/numbering convention for your params. For example settings1, settings2 ... Then you can loop in your code retrieving the values like getParameter("settings" + i) checking to see that it is not null or empty.
    However, if you don't want to reload the applet (together with the page) just to get some new data from the server, you can establish a tcp/ip connection as elchaschab recommended.
    Cheers!

  • Coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {10.242.152.242/10.242.152.242:8088}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpA

    Hi
    I have installed coheI have installed coherence server "fmw_12.1.3.0.0_coherence_Disk1_1of1.zip" along with Examples on windows machine and C++ client coherence-cpp-12.1.3.0.0b51709-windows-x86-vs2012.zip on the same machine.
    I have built the "contacts" C++ Example successfully and while I execute this "contacts" using run I am facing TcpAcceptor error.
    On my coherence server the TcpAcceptor is listening on port 8088, so I have modified the extend-cache-config.xml file with values "ip address of my windows machine" and port as "8088".
    All the time I am getting below error,
    coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {10.242.152.242/10.242.152.242:8088}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
        at class coherence::lang::TypedHandle<class coherence::component::net::extend::PofConnection> __thiscall coherence::component::util::TcpInitiator::openConne
    ction(void)(TcpInitiator.cpp:307)
        at coherence::component::util::TcpInitiator::openConnection
        at coherence::component::util::Initiator::ensureConnection
        at coherence::component::net::extend::RemoteCacheService::openChannel
        at coherence::component::net::extend::RemoteService::doStart
        at coherence::component::net::extend::RemoteService::start
        at coherence::component::util::SafeService::startService
        at coherence::component::util::SafeService::restartService
        at coherence::component::util::SafeService::ensureRunningServiceInternal
        at coherence::component::util::SafeService::start
        at coherence::net::DefaultConfigurableCacheFactory::configureService
        at coherence::net::DefaultConfigurableCacheFactory::ensureService
        at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
        at coherence::net::DefaultConfigurableCacheFactory::configureCache
        at coherence::net::DefaultConfigurableCacheFactory::ensureCache
        at coherence::net::CacheFactory::getCache
        at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void> >::sizeOf(bool)
        at _onexit
        at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
        at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
        at BaseThreadInitThunk
        at RtlInitializeExceptionChain
        at RtlInitializeExceptionChain
        on thread "main"
    Caused by: coherence::net::messaging::ConnectionException: coherence::component::util::TcpInitiator::TcpConnection@029EAD78{Id=NULL, Open=1, LocalAddress=NULL,
    RemoteAddress=10.242.152.242/10.242.152.242:8088}: socket disconnect
        at class coherence::lang::TypedHandle<class coherence::net::messaging::Response> __thiscall coherence::component::net::extend::AbstractPofRequest::Status::g
    etResponse(void)(AbstractPofRequest.cpp:203)
        at coherence::component::net::extend::AbstractPofRequest::Status::getResponse
        at coherence::component::net::extend::AbstractPofRequest::Status::waitForResponse
        at coherence::component::util::Initiator::openConnection
        at coherence::component::net::extend::PofConnection::open
        at coherence::component::util::TcpInitiator::openConnection
        at coherence::component::util::Initiator::ensureConnection
        at coherence::component::net::extend::RemoteCacheService::openChannel
        at coherence::component::net::extend::RemoteService::doStart
        at coherence::component::net::extend::RemoteService::start
        at coherence::component::util::SafeService::startService
        at coherence::component::util::SafeService::restartService
        at coherence::component::util::SafeService::ensureRunningServiceInternal
        at coherence::component::util::SafeService::start
        at coherence::net::DefaultConfigurableCacheFactory::configureService
        at coherence::net::DefaultConfigurableCacheFactory::ensureService
        at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
        at coherence::net::DefaultConfigurableCacheFactory::configureCache
        at coherence::net::DefaultConfigurableCacheFactory::ensureCache
        at coherence::net::CacheFactory::getCache
        at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object
    ,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void
    ,void,void,void> >::sizeOf(bool)
        at _onexit
        at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
        at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
        at BaseThreadInitThunk
        at RtlInitializeExceptionChain
        at RtlInitializeExceptionChain
        on thread "main"
    Caused by: coherence::io::IOException: socket disconnect
        at unsigned int __thiscall coherence::net::Socket::readInternal(unsigned char *,unsigned int)(Socket.cpp:333)
        at coherence::net::Socket::readInternal
        at coherence::net::Socket::SocketInput::read
        at coherence::io::BufferedInputStream::fillBuffer
        at coherence::io::BufferedInputStream::read
        at coherence::component::util::TcpInitiator::readMessageLength
        at coherence::component::util::TcpInitiator::TcpConnection::TcpReader::onNotify
        at coherence::component::util::Daemon::run
        at coherence::lang::Thread::run
        on thread "ExtendTcpCacheService:coherence::component::util::TcpInitiator:coherence::component::util::TcpInitiator::TcpConnection::TcpReader"

    We are facing same issue.    Could you please provide us any working .Net sample code for the version 12.1.2.0.
    <ssl>
                  <protocol>Tls</protocol>
                  <local-certificates>
                    <certificate>
                      <url>c:\Cert\</url>
                      <password>password</password>
                      <flags>DefaultKeySet</flags>
                    </certificate>
                  </local-certificates>
                </ssl>
    thanks
    Bala

  • How to determine which IP address and port is used to make DNS queries?

    I am using JNDI/DNS API to query a Enum server (Tel URI resolution in VOIP world) what is a DNS server.
    But I have many network interfaces, in a VLAN environment, and I must to specify from which interface (and port)
    all the requests are sent.
    When I read the code of JNDI/DNS API (in JDK 1.5) and specially the DNSClient class, I can see that the
    DatagramSocket is created without parameters... : udpSocket = new DatagramSocket();
    How can I specify the IP address and port to use for my client???
    Thanks for your help.

    I must to specify from which interface (and port) all the requests are sent. You don't have to specify the interface unless your static unicast routing tables are incorrect, and you never have to specify the port unless some lunatic is in control of your firewall.

  • Essbase1113 IP Address and Port Questions

    hello,
    everyone, i'm puzzled on a question about essbase.
    it'll be so kind if you give me some suggestions.
    in our project, we install EMP System 1113 on Win Server2003, but it's in local network. there is no problem when we connect it using client tools in local network environment.
    however, we wanna connect the Essbase Server through Internet, we map the server address (such as 10.163.163.163) as an Internet address (such as 111.111.111.111).
    we didn't use VPN such tools, and, the address is just a mapping, if we don't map the port, we couldn't connect the essbase server.
    here comes the question, how do we map the essbase address and port ? i mean which port should we use, so that we could connect it through Internet ?
    thank you so much.
    wish to reply.
    hawk.

    The ports that essbase use are outlined at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install_start_here/ch06s05s01.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Changing the multicast Address and Port giving error

    I am using Coherence 3.3.1 jar files (Coherence.jar and tangosol.jar) in my local application. But when I try to change the multicast Address and Port in tangosole-coherence.xml(in Coherence.jar) then it is giving this error -
    "This member could not join the cluster because of an incompatibility between the cluster protocol used by this member and the one being used by the rest of the cluster. This is most likely caused by a Coherence version mismatch, or by mismatched protocol filters (e.g. compression, or encryption)"
    If i am using unique IP and Port then how can it be in a Cluster as this error stating. Please reply ASAP.

    Hi,
    There is a good chance that there is already the IP and port is being used by another cluster (which uses different versions of jars or configurations) and hence, when you are starting your cluster, throwing the error.
    Can you double check if another cluster is already using it or not ?
    Thanks,
    Amit

  • To know IP address and port no using DB Link

    Hi -
    Is it possiable to know the IP address and port no of other oracle database that are connected with DB link. i.e for example
    we have 2 oracle databases(For example A and B and it's schemas are A_A and B_B) on two different IP address and DB link is created on B database i.e using B_B user to access A database i.e A_A user. Now By using A database i.e A_A user can we know the IP and PORT NO of database B?

    user4587979 wrote:
    Hi -
    Is it possiable to know the IP address and port no of other oracle database that are connected with DB link. i.e for example
    we have 2 oracle databases(For example A and B and it's schemas are A_A and B_B) on two different IP address and DB link is created on B database i.e using B_B user to access A database i.e A_A user. Now By using A database i.e A_A user can we know the IP and PORT NO of database B?you can also know the ip address and port number by tnsping command.
    $tnsping B
    eg:-
    C:\Documents and Settings\rajesh-kg>tnsping TESTDB
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-JUN-2
    011 18:44:48
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxxxxx)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SER
    VICE_NAME = testdb)))
    OK (50 msec)

  • Changing IP Address and ports in Directory Server 5.1 SP 4 and 5.2 SP4

    I have installed multiple instance of Sun Directory Server 5.1 and 5.2 on ports 389 and 390,now I want to change the IP Address and ports, I am able to change the directory server port from 389 by editing the dse.ldif file, now I want to change the port 390 and the IP address same as directory server, can someone expert from the forum guide me.
    Thanks in Advance.
    Mukesh Kumar

    1) I don't know what you've typed in when installing... but I've never seen that message. Are you using any language specific characters ?
    Do you get the error after this screen ?
    <b>
    The suffix is the root of your directory tree. You may have more than
    one suffix.
    Suffix [dc=sun,dc=com]:
    </b>
    If yes, then this means that the value you typed in is not a valid DN... and you must enter a valid one.
    2)The Directory Server is installed under /usr/iplanet but the database is under /var/iplanet/ds5 and configuration is under /etc/iplanet/ds5 ...
    You can use symbolic links if you want to move things around.
    3) You mean you downloaded the tar.gx file of iDS 5.1 and install it on Solaris 9... No problem, I do this every day. As long as you have right to create directories and files, you should be able to install as anyone. If not, you should install as root and then let the server run as a special user.
    4) Solaris 9 comes with iDS5.1 packages already installed. But the server is not configured at all.
    Running directoryserver setup allows you to configure it and create the database, accounts...
    Running directoryserver uninstall remove the instance of the installed database... It doesn't remove the packages. You can start again a setup...
    By the way, I think that iDS 5.1 on Solaris 9 comes with the full documentation... May be you should start by reading it.
    Regards,
    Ludovic.

  • Agentry Transmit Configuration - address and port

    Hi experts,
    I'm trying to setup a new Transmit configuration in the Agentry SDK for SMP 3.0 and I have a question - why the "Server Address Settings"  for Address and Port are grayed out and set to Default?
    Am I missing something in the configuration or there is a new logic? What if I have to go through a firewall and reverse proxy with a specific address and port?
    Regards,
    Denis

    Hi Steve,
    Thanks for the reply! So, from now on, the address and port will be only configurable on the Agentry client? I guess it will be enough just to configure it once in the beginning for each user and then only login in the client will be sufficient?
    Regards,
    Denis

  • How to extract Weblogic Listen Address and port.

    Hi All,
    I want to extract Weblogic Admin server's Listen address and port via Java to perform some admin actions.
    Can someone please help on this.
    Thanks,
    GJ

    Hi,
    Try this code.
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.util.Hashtable;
    import javax.management.MBeanServerConnection;
    import javax.management.MalformedObjectNameException;
    import javax.management.ObjectName;
    import javax.management.remote.JMXConnector;
    import javax.management.remote.JMXConnectorFactory;
    import javax.management.remote.JMXServiceURL;
    import javax.naming.Context;
    import java.lang.*;
    public class ServerDetails
    private static MBeanServerConnection connection;
    private static JMXConnector connector;
    private static final ObjectName service;
    static
    try {
    service=new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
    catch (MalformedObjectNameException e)
    throw new AssertionError(e.getMessage());
    public static void initConnection(String hostname, String portString,String username, String password) throws IOException,MalformedURLException
    System.out.println("ServerDetails---Started in initConnection");
    String protocol="t3";
    Integer portInteger=Integer.valueOf(portString);
    int port=portInteger.intValue();
    String jndiroot="/jndi/";
    String mserver="weblogic.management.mbeanservers.domainruntime";
    JMXServiceURL serviceURL=new JMXServiceURL(protocol, hostname,port, jndiroot + mserver);
    Hashtable h=new Hashtable();
    h.put(Context.SECURITY_PRINCIPAL, username);
    h.put(Context.SECURITY_CREDENTIALS, password);
    h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,"weblogic.management.remote");
    connector=JMXConnectorFactory.connect(serviceURL, h);
    connection=connector.getMBeanServerConnection();
    public static ObjectName[] getServerRuntimes() throws Exception
    return (ObjectName[]) connection.getAttribute(service,"ServerRuntimes");
    public void printServerDetails() throws Exception
    ObjectName[] serverRT=getServerRuntimes();
    for (int i=0;i < serverRT.length;i++)
    String name=(String)connection.getAttribute(serverRT,"Name");
    String listenAddress=(String)connection.getAttribute(serverRT[i],"ListenAddress");
    Integer listenPort=(Integer)connection.getAttribute(serverRT[i],"ListenPort");
    System.out.println("Server Name : " + name +"\t Address: "+listenAddress+"\t Port: "+listenPort);
    public static void main(String[] args) throws Exception
    System.out.println("ServerDetails---Started");
    String hostname=args[0];
    String portString=args[1];
    String username=args[2];
    String password=args[3];
    System.out.println("Hostname : " + hostname);
    System.out.println("PortString : " + portString);
    System.out.println("Username : " + username);
    System.out.println("Password : " + password);
    ServerDetails sd=new ServerDetails();
    initConnection(hostname, portString, username, password);
    sd.printServerDetails();
    connector.close();
    Regards,
    Kal

  • API method to query multicast address and port of a cluster

    I am new to Tangosol and I'm looking to write a quick Java dashboard that will display current information on our cluster, such as the clustername and the multicast address and port that is being used. Looking at the API I've found the Cluster object and I'm able to get the memeberset and the clustername.But I have not been able to find a way to query the multicast address and port being used by the cluster.
         Any help or links would be appreciated.
         Thanks,
         Len

    Hi Len,
         All this information could be retrieved via JMX. Please see this Wiki page. Detailed documentation about the semantics of all exposed attributes and method could be found in the Javadoc for the <a href ="http://tinyurl.com/r75sy">Registry interface</a>.
         Regards,
         Gene

  • WLS9: address and port of a starting member?

    Hi
              I have a cluster running on different solaris 10 machines.
              Each machine has different virtual interfaces:
              myHostName1en1,myHostName1en2, myHostName2en1, etc... where myHostName#en0 is the standard network interface.
              Cluster's members are always binded on an interface different from the standard one.
              We restrict access to the admin server via connection filter so that only the addresses and ports of the members can access it. The problem is that a starting member (like every java process) makes its outgoing call from the standard interface(myHostName#en0).
              Is there a way to tell the members that they should open the outgoing connection on a specifical interface and port via system properties?
              Thank you in advance for your answer
              Best Regards

    Carlo de Rossi <> writes:
              This is supported in WLS 9. Once bootstrapped the default listen
              address should be used for outbound calls (or admin channel address if
              configured). In order to route bootstrap calls over this address you
              need to set the property -Dweblogic.admin.ListenAddress=<address> on
              the command line of the booting server, where <address> is the address
              you want to bind to outbound and should correspond to the regular
              listen address when booted. You may also need to enable the admin port
              / admin channel for this to work.
              andy
              > Hi
              > I have a cluster running on different solaris 10 machines.
              > Each machine has different virtual interfaces:
              > myHostName1en1,myHostName1en2, myHostName2en1, etc... where myHostName#en0 is the standard network interface.
              > Cluster's members are always binded on an interface different from the standard one.
              > We restrict access to the admin server via connection filter so that only the addresses and ports of the members can access it. The problem is that a starting member (like every java process) makes its outgoing call from the standard interface(myHostName#en0).
              > Is there a way to tell the members that they should open the outgoing connection on a specifical interface and port via system properties?
              > Thank you in advance for your answer
              > Best Regards

  • I am behind a Cisco PIX Firewall. What addresses and ports do I need to permit through to allow Firefox updates?

    I want to be able to upgrade my Firefox installations that are located behind a Cisco PIX Firewall. What are the TCP/IP addresses and ports required to be opened for updating to occur?

    This is less likely to be a firefox problem, as it appears something bad has happened to your network. Can you access the internet with other programs? Try email/ IRC/ Skype or even updating your computer.
    What operating system are you using?
    Ian.

  • Error while passing date parameters in procedure and commit issue

    Hi
    1) I am doing a archiveing records and pls find my code below and i have couple of issue,pls find my code and want to ensure the commit is happening every 100000 rows inserted but i am archeiving a huge table but when i checks the table frequently it shows 0 records and after it shows count the actual rows around 20 million records.How can i ensure it commiting on every 100000 records. pls find my code my db version is 10g on windows
    CREATE OR REPLACE PROCEDURE doins as
    cnt number:=0;
    FOR x IN (select * from Call_log
    where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY'))
    LOOP
    INSERT INTO call_arch
    select * from Call_log
    where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY');
    cnt := cnt + 1;
    IF( cnt = 10000 )
    THEN
    cnt := 0;
    commit;
    END IF;
    commit;
    END LOOP;
    2) Error while passing date as parameter i am getting following errors while passing date parameter pls find my code and errors
    CREATE OR REPLACE PROCEDURE doins(p_date date) as
    cnt number:=0;
    begin
    FOR x IN (select * from Call_log
    where trunc(c_date) = to_char(p_date,'DD-MON-YYYY'))
    LOOP
    INSERT INTO call_arch
    select * from Call_log
    where trunc(c_date) = to_char(p_date,'DD-MON-YYYY');
    cnt := cnt + 1;
    IF( cnt = 10000 )
    THEN
    cnt := 0;
    commit;
    END IF;
    commit;
    END LOOP;
    end;
    exec doins(11-Aug-2008) then gives
    SQL> exec doins(11-Aug-2008);
    BEGIN doins(11-Aug-2008); END;
    ERROR at line 1:
    ORA-06550: line 1, column 16:
    PLS-00201: identifier 'AUG' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    if i gave exec doins(11-08-2008) it gaves
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'DOINS'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    rgds
    rosh

    CREATE OR REPLACE PROCEDURE doins(p_date varchar2) as
    cnt number:=0;
    begin
    FOR x IN (select A.rowid,A.* from Call_log A
    where trunc(c_date) = to_date(p_date,'DD-MON-YYYY'))
    --hope that's c_date columne is   DATE datatype
    LOOP
    INSERT INTO call_arch
    select * from Call_log
    where rowid=x.rowid;
    cnt := cnt + 1;
    IF( cnt = 10000 )
    THEN
    cnt := 0;
    commit;
    END IF;
    commit;
    END LOOP;
    end;
    thats your correct procedure - but NOT CORRECT ISSUE.
    You should use bulk collect with limit clause and forall clause to do it faster!!! Or Merge clause.

  • Configuration for LDAP IP Address and Port for Exchange 2010

    Let's say Exchange 2010 is installed on a computer that is joined to a domain. However, I would like to redirect LDAP authentication to another IP address and another port like how sharepoint implement it below
    http://sharepoint.stackexchange.com/questions/33540/ldap-authentication-connection-string
    Is it possible to do the equivalent for Exchange 2010?
    Note: I would like to do this without installing any Edge Transport server or Microsoft Forefront TMG

    The question I would need to ask is "Why would you need to do this?"  I ask because Exchange requires an Active Directory account for authentication.  That account may have permissions from some other directory (as in a linked mailbox),
    but the account is used to find it.  For SharePoint, you can authenticate to other directories directly.

Maybe you are looking for