Connecting external middleware using xml-rpc

Hello together,
I'm not a SAP specialist. But I have to integrate an external middelware in the eh&s module. The middleware is offering a xml-rpc interface only.
Can anybody tell me best practices to connect an external middleware using xml-rpc?
My ideas are to develop a JCo for the R3 based systems an to use JCA for the NetWeaver systems.
Is that best practice?
Thanks and regards,
Matthias

Hi,
I am trying to implement and run the sample application given under {Forte_Root}/install/examples/xmlsvr.
I have done all the required steps, but I am getting this error given below.
I am using soap-2_3 for SOAP and xerces-2_2_1 for XML parser, my server (Forte UDS)is on windows NT.
Please Note:- While connecting to the External web sites from my office, I need to connect through the firewalls and I need to give the user name and password to access the external web sites.
so my question is,
1. while connection to the server (Forte UDS SO) does it make connection to external website such as
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsd1="http://localhost/bankservices.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
and since i have to connect through the firefall and use the passwords, Am I not able to make connection?
2. Does any body of you had similar problem and how you are able to resolve this.
3. If I need to give user name and password, while making connection to external website, can you please tell, where I need to specify that. (Will it be in WSDL file etc)?
Your help is appreciated
Thank You,
Srikanth
-------------------ERROR---------------------------------
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused: connect; targetException=java.lang.Il
legalArgumentException: Error opening socket: java.net.ConnectException: Connection refused: connect]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
at com.forte.xmlsvr.bankservices.BankSOProxy.GetAccountData(BankSOProxy.java:105)
at com.forte.xmlsvr.examples.BankClient.main(BankClient.java:12)
------------------------ERROR-------------------------------------------------

Similar Messages

  • How to connect mysql database using xml

    welcome to all,
    here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
    regards

    Short answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.

  • Not well defined classpath when using XML-RPC

    Hello,
    im trying to setup a webservice using XML-RPC
    I get real time ClassNotDefined exceptions, and all i can suppose, i haven't set up the classpath correctly.
    I must inform you, that i've allready put the xerces.jar, xmlrpc-1.2-b1.jar (and so on...) at my (JAVA_HOME)\jre\lib and (JAVA_HOME)\jre\lib\ext folders. I use the following statements :
    import java.io.IOException;
    import org.apache.xmlrpc.*;
    import org.apache.xerces.parsers.*; //for the server-side
    import java.io.IOException;
    import java.util.Vector;
    import org.apache.xmlrpc.*;
    import org.apache.xerces.parsers.*; //for the client-side
    I've allready worked with SAXParsers and jdom, but i think that the classes i used there are distributed with the standard jdk-1.4 version i use.
    So, any suggestions? How can i setup my classpath for the XML-RPC programms, if that's the problem?
    Any help would be very very appreciate
    Thank you

    Thanks, I'll have the dev team take a look and put in a fix.

  • Accessing Oracle 7.3 database using XML-RPC

    Hi All
    I am a beginner to XML. I am looking for a solution to access my database oracle 7.3 using XML-RPC. Has anybody already tried to do this. Please! Could anybody help me by giving a tip?
    Thanks.
    Marcelo R. Braga.
    Sao Jose dos Campos - Brazil.

    You should check in 9iAS XML-RPC support in mid-tier

  • Connecting External Disc using Thunderbolt Adapter

    Hi,
    I have two WD external drives that are connected to a 27-inch (Mid 2010) 2.93 GHz Intel Core i7Apple iMac
    as follows:
    1TB WD My Book Connected to the USB Port
    3TB My Book Studio Connected to the Firewire 800 Port
    Question 1. Is it possible to daisy chain these WD drives by Firewire?
    Alternatively, is it possible to connect one drive by Firewire and one drive connected to the iMacs Mini Display Port using a Thunderbolt Adapter Cable?

    Problem solved

  • Trouble connecting external speakers

    I'm connecting external speakers using RCA cables from the speakers to the headphone jack on my iMac. When I do so, under Preferences--->Sound--->Output, the "Internal Speakers" changes to "Digital Out" as I believe it should. However, I am getting no sound from the speakers (which work fine with other devices). The "Mute" button is not checked and I can't figure out what the problem is.
    I'm running 10.6.5 and the speakers are M-Audio Studiophile AV40.
    Any thoughts?

    The jack on the iMac is 1/8" mini stereo, I assume your "RCA cable" has that kind of plug on the end you plugged into your Mac's headphone out?
    Your AV40's are analog speakers, not digital. In +Preferences > Sound > Output+ it should say +Headphones > Built-In Output.+
    Sorry to ask a couple of simple questions, but
    1- did you plug into the headphone output or the line-in jack on your iMac?
    2- when you remove the plug, do the iMac internal speakers work?

  • Client call using   XML over Http using HttpClient

    Using HTTPClient while calling HTTPPost method to generate request for external system using XML over http using below code
    client.getState().setCredentials(new AuthScope(ipAddress,portNumber),new UsernamePasswordCredentials(username, password));
         PostMethod method = new PostMethod(url);
         String str = accDoc.toString();
    method.setRequestEntity(new InputStreamRequestEntity(new ByteArrayInputStream(str.getBytes())));
    method.setDoAuthentication( true );                
    int result = client.executeMethod(method);
    server system getting 2 request. first request without basic authentcation details and second request with full auhentication details.
    So unnecessary eatra call without authentication details is going during calling the client program using above code.
    Please let me know which part of the above code is generationg extra call.
    Thanks in advance for your help

    I don't see nothing wrong with your code, there must be something else happening.
    You sure you are not being some proxy server?? but even then you are making a post request so it shouldn't be happening.
    MeTitus

  • XML-RPC

    Hi all
    Can PI constructs a XML-RPC request message?
    How to do that? Please guide me.
    Thanks

    Hi,
    do chk this links
    Using XML-RPC in NetWeaver
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c36ef6-dab9-2910-6ca9-a96b820de582
    Regards
    Sampath

  • XML-RPC with Servlet Example

    Hi,
    I was wondering if someone could point me to a good, simple example of using XML-RPC with a servlet. I have tried Apache's site where they write: "A full example servlet is included in the package" but I've downloaded it twice from two different mirrors and it is not there. Neither is the entire "examples" directory listed in the README. Hence, my request here. Thanks for any help you can provide.

    Push...

  • SUN 7410 - CLI - RAW XML-RPC DOCUMENTATION / HELP / API USAGE GUIDE

    hi,
    I saw the RAW section in the CLI of Sun Storage 7410 console. There a lot of parameters/functions are available.
    But was not able to find any kind of documentation , as to how can i use them either from within the CLI or from outside using XML-RPC.
    If anyone has the documentation or any knowledge for the above , then please inform me.

    Do you have any XML-RPC server side API for Sun 7410 which has to be invoked from the client side.
    I used the apache provided xml-rpc client jar in java but did not get the server side api to invoke.
    Could please provide the link or doc location. I appriciate your help.
    Thanks & Regds,
    Taranisen

  • Using the fireworks XML RPC server

    Hi, I am trying to use the XML RPC server in fireworks to export pages of a PNG.
    The relevant help url: http://help.adobe.com/en_US/fireworks/cs/extend/WS5b3ccc516d4fbf351e63e3d1183c949219-7ffe. html
    And the pdf version: http://help.adobe.com/en_US/fireworks/cs/extend/fireworks_cs5_extending.pdf (chapter 7)
    All I want to do is open a file, call exportPages(), and close it. So far this has been a very painful experience. I have CS5 Design Premium on a mac (os 10.5) if it matters. But I have the same problem 1 with my copy of CS3.
    Problem 1
    Fireworks never ever returns a document id. It also does not return an error number. The value attribute of the returned obj element and any error attributes are empty. Here are some example calls and responses:
    request: <func name="createDocument" obj="fw"></func>
    response: <return><obj value="" class="DocumentClass"></obj></return>'
    request: <func name="closeDocument" obj="fw"><string order="0" value="0" /><bool order="1" value="false" /></func>
    response: <return error=""></return>
    Note the value of the response is empty. This is always the case, unless I get something back that is not an integer. For instance. I am able to get the path url of the open doc:
    request: <func name="getDocumentPath" obj="fw"></func>
    response: <return><string value="file:///Macintosh%20HD/Users/me/work/somefile.png"></string></return>
    Is anyone else using this with any success? Will a FW dev some here and set me straight? I am opening a socket with python like this:
    import socket
    self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    self._sock.connect(('localhost', 12124))
    It seems like anything that is an int on FW end doesn't come through the response?
    Problem 2
    When I open a file that was created in CS3 with the API, a blocking dialog pops up asking about converting the fonts. FW will not return my request until this dialog is dismissed. Is there any way around this? This pretty much nullifies any automation with fireworks on files create by an older version.
    Any help or insight into either of these would be extraordinarily helpful. Or if you have a way to export pages from a FW PNG without running fireworks, I would love love love to hear it. Judging by the RPC documentation, the availability of info online (virtually none!) and my experience with it, it seems adobe doesn't care about it all that much.

    Hi Priyanka. It seems you are using the JS api? Flash? I am trying to use this via the XML RPC server in fireworks. Those are precisely the calls I am making to the RPC server with no avail: they do not return document ids. If you get a chance, can you (or anyone) run the following python code? Just open fireworks CS5, open a file and run this python code. It should return (print) the document id of the current document in a value="" attribute.
    import socket
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect(("localhost", 12124))
    dom = '<func name="getDocumentDOM" obj="fw"><string order="0" value="document" /></func>\0'
    s.send(dom)
    res = []
    r = s.recv(1)
    while ord(r):
        res.append(r)
        r = s.recv(1)
    print ''.join(res)
    Like I said earlier, this code works for me with CS3, but does not work with CS5; value="" is empty.
    I am not running this on a server. I am just trying to do some batch processing.
    Ben

  • HDTV as external monitor using ethernet connection

    Hello,
    I want to connect my HDTV to my iMac and use it as an external monitor.
    My HDTV is about 25 ft away from my iMac.
    A HDMI cable of that length cost over 200 $.
    So, its not an option to me.
    I just bought a smart rooter but my HDTV Panasonic Viera P50GT30 is not a smart TV.
    It needs a DLNA server and I can't find one.
    Question : Is there a way to use my HDTV as an external monitor using the Ethernet or Wifi connection?
    Thank's,
    Pierre.

    This look's good.
    http://www.startech.com/AV/Extenders/HDMI/HDMI-over-IP-Extender-with-Audio~IPUSB 2HD2
    But its not.
    OS Compatibility                                                                                                                                                                  Windows® XP(32bit)/ Vista(32/64bit)/ 7(32/64bit) Aero themes supported

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

  • Creation of External table by using XML files.

    I am in the process of loading of XML file data into the database table. I want to use the External Table feature for this loading. Though we have the external table feature with Plain/text file, is there any process of XML file data loading into the Database table by using External table?
    I am using Oracle 9i.
    Appreciate your responses.
    Regards
    Edited by: user652422 on Dec 16, 2008 11:00 PM

    Hi,
    The XML file which U posted is working fine and that proved that external table can be created by using xml files.
    Now My problem is that I have xml files which is not as the book.xml, my xml file is having some diff format. below is the extracts of the file ...
    <?xml version="1.0" encoding="UTF-8" ?>
    - <PM-History deviceIP="172.20.7.50">
    <Error Reason="" />
    - <Interface IntfName="otu2-1-10B-3">
    - <TS Type="15-MIN">
    <Error Reason="" />
    - <PM-counters TimeStamp="02/13/2008:12:15">
    <Item Name="BBE-S" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="BBE-SFE" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="ES-S" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="ES-SFE" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="SES-S" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="SES-SFE" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="CSES-S" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="CSES-SFE" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="UAS-S" Direction="Received" Validity="ADJ" Value="135" />
    <Item Name="UAS-SFE" Direction="Received" Validity="ADJ" Value="0" />
    <Item Name="SEF-S" Direction="Received" Validity="ADJ" Value="135" />
    </PM-counters>
    <PM-counters TimeStamp="03/26/2008:12:30">
    <Item Name="BBE" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="BBE-FE" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="ES" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="ES-FE" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="SES" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="SES-FE" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="CSES" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="CSES-FE" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="UAS" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="UAS-FE" Direction="Received" Validity="OFF" Value="0" />
    <Item Name="PSC" Direction="Received" Validity="OFF" Value="0" />
    </PM-counters>
    </TS>
    </Interface>
    </PM-History>
    My problem is the Item Name and Direction the value of both(ex PSCReceived or UASReceived) will be treated as the coulmn name of the table and '0' would be the value of that column. I am confused how to create the external table creation program for that.
    I would really appreciate your responses.
    Regards

  • Can i connect 2 external hdd using the thunderbolt to ethernet adapter

    can i connect 2 external hdd using the thunderbolt to ethernet adapter

    thanks its a wd my book world i just want to directly connect to it i dont want to use it as a network hdd anymote and if i do it will i still be able to use wifi to connect to the internet.
    it shows up the the bonjour bookmarks when its connected through my router does that mean it will work?

Maybe you are looking for

  • Special characters in utl._url.escape

    Hi I am using httpuri for google translator to convert into different languages. While passing the string, to escape the white spaces, I am using utl_url.escape . But many of my words contain special characters like '+ , @ , $ , ) ,. ,; [, ] etc. Not

  • Export to Quicktime movie continued crashes. HELP

    I have sequence, it renders no problem. Whenever I go to export to Quicktime movie it crashes. I have gone and deleted all files associated with it and redone the sequence from scratch, and I keep getting the same results. Crash while exporting. I am

  • Recent excise rate change

    Hi, Please advise as to what are the changes we have to make in our tax code due to recent excise changes. Do we have create new tax code and assign it to conditions.What are the effect if we modify the exciting tax codes?Will it create a problem for

  • Itunes 7 freezes after i transfer songs to ipod

    I have a very old ipod. I've had no trouble transferring songs before itunes 7 came out. After I transfer one song or multiple songs itunes locks up and ctl alt del to shut down itunes. Anyone else with this problem ? Any ideas on how to fix it ? Tha

  • WebLogic to Websphere migration issues

    Hi, We are migrating Java applications from BEA WebLogic 8.1 to WebSphere 6.1 as part of which we have come across few BEA WebLogice workshop specific files/features. It will be great if you could share your thoughts on possible solution/easy way of