RFC to send an idoc PEXR2002 using HTTP connection to an external server

Hi,
  Iam working on RFC to send an idoc PEXR2002 using HTTP connection to an external server. first time iam working on this particular scenario on http connections. please clarify on this and explai me in detail about this.
Points will be rewarded **
Thanks & Regards,
Ravi

HI Jagruthi,
Have you loaded the metadata into the XI system by using IDX2?
If it is done then try to delete once and do once again.
And also delete the IDoc from IR and reimport the IDoc and activate it once again.
Regards
Goli Sridhar

Similar Messages

  • Timeout problem using HTTP connection in MIDP

    Hi,
    I have one thread that does a HTTP connection (StreamConnection)with the server. In some cases, the connection is established to the server and request is sent to server, then connection hangs. I cannot check the response code since the response doesn't return back. In this case, my app also hangs on the progress bar screen. Is there any way to handle timeouts in these circumstances? How do I know if the response object doesn't return back?
    Has anyone faced this problem before? Any help is appreciated.
    Thanks in advance.

    Hi,
    i am getting the same problem. my application hangs when i close the connection when the request has been sent to the server and before the data starts downloading on the client. i mean if i cancel the connection with in that time span it hangs otherwise if i close the connection while the data is being downloaded from the sever then it works fine.
    if you have sloved this problem before please explain how to slove it.
    thanks,
    Omar Rehman

  • Can't open HTTP connection to a proxied server

    Greetings,
    Trying to open an HTTP connection to a web server. The connection is rejected
    by the proxy. In order to bypass the proxy, I used to code something like:
    System.setProperty("http.proxyHost", hostname) ;
    System.setProperty(“http.proxyPort”, port);
    Doing that, works properly in a standalone Java application. As soon as the same
    code is implemented in a WebLogic 8.1 deployed EJB, it fails with the following
    stack dump:
    <May 10, 2004 7:12:07 PM CEST> <Info> <net> <000903> <Could not open connection
    with host: www.rect.cofacescrl.com and port: 80.>
    04-05-10 19:12:07,788 FATAL SearchCompanyBean - Error while attempting to connect
    to Source
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: 'www.rect.cofacescrl.com', port: '80'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:255)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:307)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:126)
    at weblogic.net.http.HttpClient.New(HttpClient.java:192)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:115)
    at com.coface.STR.scrl.ScrlSearchAdapter.search(Unknown Source)
    at com.coface.STR.tuxedo.SearchCompanyBean.service(Unknown Source)
    at com.coface.STR.tuxedo.SearchCompanyBean_fbx9fb_EOImpl.service(SearchCompanyBean_fbx9fb_EOImpl.java:46)
    at com.coface.STR.tuxedo.SearchCompanyBean_fbx9fb_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
    at com.coface.STR.tuxedo.SearchCompanyBean_fbx9fb_EOImpl_WLStub.service(Unknown
    Source)
    at weblogic.wtc.gwt.InboundEJBRequest.execute(InboundEJBRequest.java:419)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210
    Suggestions anybody before my boss gets nervous about that ?
    Many thanks in advance,
    Alexandre CUENCA

    I think the data you are seeing is part of the telnet negotiation sequence. http://www.faqs.org/rfcs/rfc854.html
    A telnet session is more complex than opening a TCP socket.
    I would suggest using the LabVIEW Internet Toolkit for telnet communications.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • HTTP Connections to Ext. Server - SM59 - Application Server

    Hi Experts,
    first of all its my first post, I hope I can provide any infos you need to give me some advice.
    Well, I've setup in SM59 a new connection-type "HTTP Connections to Ext. Server" (Type G). It is a stupid webserver in our LAN that returns a simple "hello world" (i've setup this webserver as first step to test the functionality of this connection type). No authentication or any other specialities like proxies or SSL.
    Now, if i test the connection out of the central instance, everything runs fine, I receive an answer.
    BUT: if i make this test from one of our application servers i get nothing at all. No output, no failure, simply nothing which means in my opinion that its not working.
    What do you think about this?
    Thanks in advance
    Edited by: Stefan Gruber on Feb 4, 2009 1:25 PM

    >ah, I see! There has to be running a service "icm/server_port_xxx = PROT=HTTP, PORT=NNNN".
    Exactly !
    I usually put this parameter in the DEFAULT profile because I want all my application servers to listen to the same HTTP port.
    >Merci beaucoup!
    You are welcome !
    Olivier

  • Please Help.  How can you monitor a directory using jndi connection to a ldap server?

    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

    Hi,
    Why do you want to use LDAP for Hard disk monitoring..???
    U can do this by creating a MD5 checksum for all the files existing in some
    perticular
    directory and every hour or any configurable period u can recalculate the
    checksum
    to find out the change in the content.
    I guess all u need is to get the code for "updatedb" utility of Linux and
    instrument it for ur needs..
    Hope it helps...
    -aseem
    mr wrote:
    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

  • Java.nio.BufferUnderflowException when send a idoc xml using sapjco3.jar

    When I use sapjco3.jar to send a idoc
    I have 2 IDOC ,one size is 200kb ,another is 336kb
    the first one can send to sap correct, but the bigger one got Exception (java.nio.BufferUnderflowException)
    If any thing I have to note when writing java code ? thanks ....
    Exception:
    send TXLOG-12918467-ToIDOC_20110513161427170_1125436.xml
    send idoc D:\TXLOG-12918467-ToIDOC_20110513161427170_1125436.xml to SAP GateWay finished ,IDoc Tid is AC1140540B534DD1EAE61781
    send TXLOG-12964100.xml
    java.nio.BufferUnderflowException
         at java.nio.Buffer.nextGetIndex(Buffer.java:486)
         at java.nio.HeapCharBuffer.get(HeapCharBuffer.java:129)
         at com.sap.conn.idoc.rt.xml.DefaultIDocXMLParser.parse(DefaultIDocXMLParser.java:365)
         at com.sap.conn.idoc.rt.xml.DefaultIDocXMLProcessor.parse(DefaultIDocXMLProcessor.java:87)
         at com.sap.conn.idoc.rt.xml.DefaultIDocXMLProcessor.parse(DefaultIDocXMLProcessor.java:68)
         at com.testrite.msg.dex.sender.SAPSender.sendMessage(SAPSender.java:61)
         at com.testrite.msg.dex.sender.SAPSender.main(SAPSender.java:37)
    My Code :
    JCoDestination destination;
    String dest = "BCE";
    destination = JCoDestinationManager.getDestination(dest);
    IDocRepository iDocRepository = JCoIDoc.getIDocRepository(destination);
    String tid = destination.createTID();
    IDocFactory iDocFactory = JCoIDoc.getIDocFactory();
    IDocXMLProcessor processor = iDocFactory.getIDocXMLProcessor();
    IDocDocumentList iDocList = processor.parse(iDocRepository, new BufferedInputStream(new FileInputStream("D:
    TXLOG-12964100.xml"));
    JCoIDoc.send(iDocList, IDocFactory.IDOC_VERSION_DEFAULT, destination, tid);

    hi,
    it only works with idoc to idoc scenarios I think
    when you send from SAP to SAP through XI
    have a look at my weblog:
    /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
    Regards,
    michal

  • Failed to use HTTPS connecting to a remote machine (SP3 WLS6.1 )

    we are currently having problem with one of our environment. When we
    try to use SSL to connect to a remote system, it seems that wls
    implementation try to do a dns lookup first before even going out
    through the proxy. The problem is that from that system wls will not
    be able to do the lookup needed. The dns is available at the proxy
    level. Thus when we use ssl in our application we always received
    UnknownHostException.
    However, the problem does not happen in the other environment running
    SP2 (NT 4.0 SP6a). For HTTP either SP2/3 works fine also.
    Have anyone experience the same problem? or can this confirm to be a
    'bug' from SP3?
    FYI: Our application (servlet) perform a request using https to a
    remote server to query some information needed (i.e. wls acting as a
    client instead of a server). To connect to the remote system, it
    needs to go through a proxy first.
    Thanks.
    Iwan.

    Chukii,
    take care that you are using the same jdk version on server and client (1.3 or 1.3.1).
    prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    prop.put(Context.PROVIDER_URL, "iiop://servername:1051"); works nice. I tested it - but on Windows machines.
    Your questions:
    1. yes, that's an interesting question. Next one...
    2. localhost is a good choice. I didn't change this setting
    3. JNDI is a directory service like DNS. The EJBs are registered there and can be found with the lookup(...). If you try to find something like '/home/usr...' you'll get an error message '... not bound' (or something like that). You can find your EJB with the JNDI name you entered in the Deployment Tool.
    4. Add your remote servers with 'File|Add Server...' and you'll get deploy your application on any server of your choice.
    5. iiop. ldap is for looking up something in a directory service like NIS, ActiveDirectory, etc. rmi looks quite nice, but the communication is defined as RMI over IIOP.
    hope it helps
    -chris

  • Use HTTP connection over SAPROUTER?

    hallo
    i have 2 saprouters connected so i can access sap with sapgui by using saprouter string
    /H/212.xx.xx.xxx/S/sapdp99/H/212.yy.yy.yyy/S/sapdp99/H/
    so far no problem
    i added entries in saprouttab for port 8000 as well (same es for oss service required)
    how can i now access to bsp application by using this saprouter-tunnel?
    i find a lot of documentation how to setup the saprouttab for http connection but not how to use it
    regards
    joerg

    > I bet the same applies for http.
    yes.
    If the SAP support clicks on an HTTP connection some local scripts on their PCs will act as a proxy, so basically the connect "locally" and internal programs/proxies forward that through the saprouter connections.
    To make an HTTP access from outside the network possible you can install an apache webserver and configure it as a reverse proxy.
    Markus

  • Issues using HTTP Connection Manager to run SSRS reports from SSIS

    In my package, I have a HTTP Connection Manager called "ReportServer". And I have two variables called "ReportURL" and "ReportFile". "ReportURL" is the URL for the report. I won't get into the details of this
    URL because I don't think this is the issue. "ReportFile" is the complete path and name of the output file I want to generate from "ReportURL".
    With these things in place, I have a script component that that looks like this.
    Public Sub Main()
    'Connect to http conn mgr
    Dim httpConn As ConnectionManager = Dts.Connections("ReportServer")
    Dim clientConn As HttpClientConnection = New HttpClientConnection(httpConn.AcquireConnection(Nothing))
    'file name with path
    Dim ReportFile As String = Dts.Variables("ReportFile").Value.ToString
    'report url
    Dim ReportURL As String = Dts.Variables("ReportURL").Value.ToString
    clientConn.ServerURL = ReportURL
    'Download PDFReport
    clientConn.DownloadFile(ReportFile, True)
    Dts.TaskResult = ScriptResults.Success
    End Sub
    I don't know too much about the inner workings of the above script. It's from a template I copied from somewhere and it's been working fine.
    But, today all of a sudden, it started a mysterious behavior. Let me see if I can describe it to see if this sounds familiar to anyone.
    For some reason, a run of this package failed at time T1, running with a certain value of "ReportURL" and "ReportFile". Now everytime I try to fun the package with the same "ReportURL" and "ReportFile", it fails because
    it tries to write out two files with the same name, "ReportFile", one from the current one and another from the failed one at time T1. It looks like somehow, the connection is still open from the failed one in time T1 and it won't go away.... does
    this sound like anything? Can you understand the problem I am describing?

    May it be that this post is NOT SSIS related?
    Arthur My Blog

  • New Mac Pro: What are You using to connect your eSATA external drives to you nMacPro?

    Hi,
    I have some eSATA external HDs that I would like to use with my 2013 New Mac Pro.
    I was just wondering what other  have been using to connect their nMPs to eSATA devices and how well it has worked.  I have seen a USB3 to eSATA cable from NewEgg.... which seems like a good idea ... if it will work.
    Thanks!

    LaCie TB HUB has two TB ports which is good for daisy chain. Has two esata ports also. I connect a Voyager bought from OWC to one sata port and that's where my bare 2.5 and 3.5 hard drives reside when I need them. The other sta port has a Pioneer 207 blu ray drive. When I sleep my 2013 Mac Pro I turn off the power to the Voyager and the Pioneer. All work flawlessly.

  • Difference in use of connection pools from one server to another

    Hi all
    we are running wl5.1 with sp9 against SQLServer 2000
    On our performance test server (2 CPU) which has weblogic & sqlserver runnig
    on it we run out out of connection pools when running a specific method,
    having looked at it we noticed that it contained nested sql, so that each
    client would actually hang onto multiple connections until finished. The
    total number of connections used seemed approximately the same as the number
    of SQL statements.
    However we then ran the weblogic server on a different machine against the
    same database, so it was now running over a network and everything worked ok
    and the total number of client connections was just 1.
    Can anyone shed any light onto this, I have a few ideas but nothing to back
    them up as follows:
    Multi CPU versus single CPU
    Local connection rather than network connection between WLServer and
    DBServer
    WL Configuration
    DBServer configuration
    Is nested SQL valid ?
    Any help much appreciated Paul Taylor
    (An example of what I mean by nested sql is shown below, method1() creates
    instances of class2 and calls c2.method which contains sql before releasing
    its connection.)
    class c1
    public void method1()
    try
    rs=executesql(sqlString)
    while rs.next()
    new c2();
    c2.method2()
    finally
    closeConnection()
    class c2
    public void method2()
    try
    rs=executesql(sqlString)
    finally
    closeConnection()

    because when you are dealing with a remote server, your calls will be
    serialized over one socket. and the connection is assigned to that socket
    probably...or something like that...or not...shouldn't be important :)
    Filip
    ~
    Namaste - I bow to the divine in you
    ~
    Filip Hanik
    Software Architect
    [email protected]
    www.filip.net
    "Paul taylor" <[email protected]> wrote in message
    news:[email protected]...
    The code has now been changed, but the real point was why are two server
    dealing with the same code in a different way
    "Filip Hanik" <[email protected]> wrote in message
    news:[email protected]...
    Any help much appreciated Paul Taylor
    (An example of what I mean by nested sql is shown below, method1()creates
    instances of class2 and calls c2.method which contains sql beforereleasing
    its connection.)well this is obviously not a good way of doing it. you know that you are
    obtaining multiple connections so why not code your software in a
    smarter
    way.
    pass the connection object into c1 and c2 that way they both use thesame
    connection. Or release in between.
    Filip
    ~
    Namaste - I bow to the divine in you
    ~
    Filip Hanik
    Software Architect
    [email protected]
    www.filip.net
    <l> wrote in message news:[email protected]...
    Hi all
    we are running wl5.1 with sp9 against SQLServer 2000
    On our performance test server (2 CPU) which has weblogic & sqlserverrunnig
    on it we run out out of connection pools when running a specific
    method,
    having looked at it we noticed that it contained nested sql, so thateach
    client would actually hang onto multiple connections until finished.
    The
    total number of connections used seemed approximately the same as thenumber
    of SQL statements.
    However we then ran the weblogic server on a different machine against
    the
    same database, so it was now running over a network and everythingworked
    ok
    and the total number of client connections was just 1.
    Can anyone shed any light onto this, I have a few ideas but nothing
    to
    back
    them up as follows:
    Multi CPU versus single CPU
    Local connection rather than network connection between WLServer and
    DBServer
    WL Configuration
    DBServer configuration
    Is nested SQL valid ?
    Any help much appreciated Paul Taylor
    (An example of what I mean by nested sql is shown below, method1()
    creates
    instances of class2 and calls c2.method which contains sql beforereleasing
    its connection.)
    class c1
    public void method1()
    try
    rs=executesql(sqlString)
    while rs.next()
    new c2();
    c2.method2()
    finally
    closeConnection()
    class c2
    public void method2()
    try
    rs=executesql(sqlString)
    finally
    closeConnection()

  • Sending MATMAS05 IDOC via XML-HTTP Interface (without XI)

    Dear all,
    I have to send the MATMAS05 IDOC via XML-SOAP-HTTP Interface to a subsystem. Sending works (the sub-system receives the SOAP-Request with the MATMAS05 as Body). So far so good. Now the SAP System is waiting for an answer (synchronous communication). How should this answer look like?
    We receive the Error EA390 "Problem with SOAP Class" - execute_processing: entry result table
    Can anybody give me a hint how the response should look like.
    Many thanks and best regards
    Roman

    Hello Sven,
    we find a solution. As far as I remember, there is a flag to send without waiting for answer (or technical better to not rely on SOAP standard).
    Look in WE21 and the XML_HTTP Port you use. Uncheck the "SOAP Protocol" flag. Then it should work.
    HTH and Best regards
    Roman

  • How to send te XML data using HTTPS post call & receiving response in ML

    ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
    we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
    how i can do this plz give some solution

    If you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....

  • Retrieve and send data to website using http protocol

    Hi, I wonder if anyone knows how to use java language to retrieve and send data to internet website using the http protocol.

    Take a look at this thread:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=310300

  • Using iWeb '08 with an external server

    I'm having some problems getting my website to function correctly when uploading it to a server other than .Mac.
    I have exported the whole site to a folder, although the server I am trying to upload to requires a different port number so I have to use a : in the web address.
    For some reason iWeb doesn't recognise this character. Is there anything I can do about this?
    Many thanks,
    Phil

    I thought it was iWeb that was altering some of the code somewhere along the way,
    I think that is correct. For some reason, the : gets translated into its escape code %3a when certain javascript files are created, e.g.
    http://media.beauchamp.leics.sch.uk:83/MediaGallery/Music_Videos/Music_Videos_files/MusicVideos.js
    I suppose you might be able to fix the problem by just doing a search/replace on those files (but you have to do it again every time you republish the site).

Maybe you are looking for