Connect to webservice via telnet

Hi,
this stuff is rather new to me, so I apologize beforehand for the cluelessness of this question.
I've got an Axis web service up and running on my test machine: When I access the service URL ("http://<myhost>/axis/services/<myservice-name>?wsdl") in my browser, Axis returns the correct service description.
One of the web service methods expects an XML file as input. Is it possible to call that method via telnet? And how can I pass along that XML file?
Many thanks in advance,
B.B.

Hi! It all depends on what is your system where the website is running on.
On the portal? Or another system ? Or??
I think the best way for you is to create remote function modules and create with these RFC's webservices on SOAP manner.
For information on the webservices you can look:
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
And with this SDN site:
Web Services Development in ABAP [original link is broken]
you can find the steps how to create the webservices in ABAP

Similar Messages

  • Connect to webservice via TCP/IP or RFC in ABAP ( SAP to WEB Connectivity)

    Hi All ,
        My requirement is  I want to fetch some data from a 'Web site'  into my abap program .
       How should i do ? what is the step by step process of doing these ? by RFC or TCP/IP .
      If go for TCP/IP connection or RFC then please tell me waht is the program id , where it is created at SAP side or Web side .
    Regards ,
    Nilesh K Jain .

    Hi! It all depends on what is your system where the website is running on.
    On the portal? Or another system ? Or??
    I think the best way for you is to create remote function modules and create with these RFC's webservices on SOAP manner.
    For information on the webservices you can look:
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
    And with this SDN site:
    Web Services Development in ABAP [original link is broken]
    you can find the steps how to create the webservices in ABAP

  • Manually connecting POP server via telnet command

    How do I manually telnet to my POP (Post Office Protocol) server to check
    if my mail server is accepting connections?
    <P>
    This method of manually connecting to the mail server is sometimes
    necessary in order to help better troubleshoot Messaging/Mail issues.
    By directly telneting to the POP server, you can determine if the problem is
    within the client software or the server. Following is a list of commands to be
    executed from the UNIX command line or DOS shell using the telnet utility:
    <P>
    Telnetting to port 110 (the POP port).
    telnet machine 110
    POP commands:
    USER uid Log in as "uid"
    PASS password Substitue "password" for your actual password
    STAT List number of messages, total mailbox size
    LIST List messages and sizes
    RETR n Show message n
    DELE n Mark message n for deletion
    RSET Undo any changes
    QUIT Logout (expunges messages if no RSET)
    More commands (and the entire spec) are available at
    http://www.imc.org/rfc1939.

    Hi Helmut,
    I am not sure about the command line client. However you can check-in the activities of other users using the process below:
    1. Login to this URL http://hots:port/dtr/system-tools/reports/ActivityQuery
    2. The user id should have administrator's right.
    3. On the selection screen enter the user who's activities you want to check-in.
    4. Select one of the activity that is listed by clicking on it.
    5. On the page towards the top right hand corner you will have the drop down with one option to check-in the activity. This is only available to admin user.
    Hope this helps.
    Regards
    Sidharth
    Message was edited by: Sidharth Deshpande

  • How to connect external webservice from ABAP

    Hi,
    Please see code pasted below and tell me what is wrong.
    We try to connect external webservice via https. Should I install certificate is SAP for this connection? (if YES, how can I do this?)
    Should I configure something else in SAP to connect external webservice via https?
      DATA: client type ref to if_http_client,
            lv_content type String,
            lv_xml_string type string,
            lv_length type I,
            lv_response type I,
            lv_node type ref to IF_IXML_NODE,
            lv_xml_doc type ref to cl_xml_document.
    ****Create the HTTP client
    call method cl_http_client=>create_by_url
       EXPORTING
         url    = 'http://services-demo.krd.pl/raina/1.0/KrdAPI.asmx'
       IMPORTING
         client = client
       EXCEPTIONS
         others = 1.
    CALL METHOD CL_HTTP_CLIENT=>CREATE
      EXPORTING
        HOST               = 'services-demo.krd.pl'
         SERVICE = '443'
        SCHEME  = '2'
       PROXY_HOST         =
       PROXY_SERVICE      =
       SCHEME             = SCHEMETYPE_HTTP
       SSL_ID             =
       SAP_USERNAME       =
       SAP_CLIENT         =
      IMPORTING
        CLIENT             = client.
    EXCEPTIONS
       ARGUMENT_NOT_FOUND = 1
       PLUGIN_NOT_ACTIVE  = 2
       INTERNAL_ERROR     = 3
       others             = 4
    CONCATENATE
    '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
    ' xmlns:xsd="http://www.w3.org/2001/XMLSchema" '
    'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rain="http://raina.krd.pl">'
    '<soapenv:Header/>'
    '<soapenv:Body>'
    '<rain:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'
    '<id xsi:type="xsd:string">B03EB34F02</id>'
    '<password xsi:type="xsd:string">Akquinet99</password>'
    '<appId xsi:type="xsd:string">test</appId>'
    '<appInstId xsi:type="xsd:string">test</appInstId>'
    '<custom xsi:type="xsd:string">test</custom>'
    '</rain:Login>'
    '</soapenv:Body>'
    '</soapenv:Envelope>'
    INTO lv_content.
    CALL METHOD client->request->set_header_field
        EXPORTING
          name  = '~request_method'
          value = 'POST'.
    CALL METHOD client->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = '~request_uri'
        VALUE = '/raina/1.0/KrdAPI.asmx?'.
      CALL METHOD client->request->set_header_field
        EXPORTING
          name  = 'Content-Type'
          value = 'text/xml; charset=utf-8'.
      call method client->request->set_header_field
        EXPORTING
          name  = 'SOAPAction'
          value = 'Login'.
      lv_length = STRLEN( lv_content ).
      call method client->request->set_cdata
        EXPORTING
          data   = lv_content
          offset = 0
          length = lv_length.
    ****Make the call
      client->send( ).
    ****Receive the Response Object
      call method client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3
          others                     = 4.
    *****Get the response content
      client->response->GET_STATUS( IMPORTING CODE = lv_response ).
      lv_xml_string = client->response->get_cdata( ).
    Regards,
    Michal

    HI ,
            Error in accessing External Web Service
    Calling a secured external web service from ABAP
    Edited by: A kumar on Aug 21, 2008 11:58 AM

  • How to connect via telnet with Java?

    I want to develop an application in a server with solaris 8. I want to access from this server to another server in a LAN via telnet and write down the information i am getting in a file. How i can do this in java? it's a good alternative? or i should try C++. Thanks in advance.!

    You can easily use java....just get a hold of the RFC for Telnet or if you look around, you can find code on the net already working.

  • Disable password for privileged Exec mode via Telnet

    I've looked around for an answer for this specific issue but haven't been able to find one yet.  Hoping this is easy and someone can point me in the right direction. 
    When logging into a 2950 switch via Telnet, I'm prompted for a password when attempting to "enable" privileged mode.  I want to disable the password requirement for now (home lab, not production).  When I initiate the "no enable password" or "no enable secret" command (via a console connection), and try to initiate the enable command, I receive the message "% No password set".  If I now attempt to enable privileged mode from the console, I'm not asked for a password.  How can I disable the password prompt for VTY mode?
    Thanks!

    Thanks for the suggestion;  I've tried it but am still asked for a password.  
    From global config, I entered:
    line vty 0 15
    privilege level 15
    exit
    Am I missing any steps there?
    Thanks!

  • How to create a java application & call it from a PDA via TELNET

    Dear All,
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?
    Thanks in advance for your support,
    Best regards,
    Lana

    user10827661 wrote:
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?Your server side Java application can use a Java library that
    creates a java.net.ServerSocket to listen for TCP connections from TELNET clients.
    You do not need any graphics (jCurses or AWT) on the server side, telnet is a simple ascii protocol.

  • RV016 firewall policies via telnet (rules, chains, etc.)

    Hello,
       I am having some troubles finding information about how to configure firewall policies (rules, chains, etc.) via telnet on a RV016.
       The reason for that is that i keep getting some log entries "connection refused - policy violation" and "blocked" even with my firewall wide open (only allow rules on all interfaces, SPI and block wan request disabled, multicast and https enabled, etc.... ). Also, with these exact same rules, i can only connect via PPTP with the firewall disabled. The minute i tick the enable option the tunnel never gets to authentication phase.
      I then started reading OpenRG manual and many things are quite similar, but some other entries are missing from that manual (maybe some changes made by cisco???).
      I am trying to figure out some service ids, chains (e.g. the rv016 has some rules redirecting to chains 10, 100, 200 but i can not find them anywhere), and so on.  I have only one rv016 and about 60 connections to it so i can not experiment that much without having the whole company on my neck with internet problems.
      Is there any manual that can be sent to me, publicly or privately ([email protected]), or config file via busybox shell that i can access to understand this better?
    Thanks in advance and hope some one from cisco can give me a hand on this.
    Luís Silva 

    Hi,
    I gave up trying to configure a secure firewall with this router. The Web Interface is no good and the telnet options are not documented anywhere (as we are not supposed to tamper with it).
    As I have everyone connected via that router I can not afford but a few hours to experiment with it so I found the answers to my problems and stopped there, and am now using other firewall.
    First, forget about the firewall rules in the web interface. Activate telnet access according to http://www.linksysinfo.org/index.php?threads/enabling-telnetd-on-the-rv042-rv082-and-rv016.16069/
    and access the router via telnet. I recommend you to read the firewall settings of this manual (http://wildcat.espix.org/doc/bbox2/various/openrg_configuration_guide.pdf) which is the OS cisco uses in this router (with some features left out).
    You will find two firewall settings areas via telnet: /nk/fw and /fw.
    I set the /fw/enabled option to 0 (disabled).
    I left the /nk/fw section activated but removed the default firewall rules (the ones which are greyed out in the webinterface; use the command  rg_conf_del nk/fw/rule/[0,1,2,3,....] for the respective rule)
    This way the firewall is wide open and I barely get connection refused, the internet speed is equal to other routers, vpn connections can get in. You can still use the web interface to configure website blocking (via url or keyword), but firewall rules themselves don't seem to work.
    The disabled section (/fw) has several policies for access,deny and jumps. I suspect that if you study it and experiment with it you will be able to understand what does what and configure the firewall correctly. I managed to lock the router by removing a rule and had to do a hard reset to get access to it again.
    If you find any new info, please post it here too, so we can do what cisco doesn't seem to care.

  • Querying Database Via Telnet

    Hi!!!
    We want to manage a database of remote location.
    We connect to that location via telnet (port 22), all other ports are blocked.
    Is it possible to query Oracle database which Listens to port 1521 via telnet.
    how???
    thanks in advance
    vicky.

    Telnet means you are on the machine, do what ever you want to do. Why do you need 1521.
    telnet...
    sqlplus uid/passwwd
    SQL>...manage your database..
    In fact we have a same setup here for our project...only 22.

  • IPhone no longer connects to iTunes via Wifi

    On July 1,12 my iTunes did an automatic update.  After the computer restarting and I entered iTunes and the following messages appeared:
    Message 1: Must reinstall itunes to connect to ipod or mobile devices.
    Message 2: CD/DVD folder must be located in itunes folder in order to use with itunes
    I have 2 iphones (both 4s, bought at same time, both running iOS 5.1.1)and one will briefly connect to itunes via Wifi (I will identify this one as iphone1) but the other one will not (I will identify this one as iphone2).  I have a PC with Windows 7.
    When iphone1 is connected to itunes via wifi is disconnects randomly.  Under: Summary > Version, it has the message: Connect this iphone using a USB cable in order to update or restore its software.  When I have it connected with the USB cable, there are no problems. The settings selected under: Summary > Options > are: Open iTunes when this iphone is connected, Sync with this iphone over Wi-Fi,  & Manually manage music and videos.  The Setting under Backup > Back up to this computer (where it backs up to; I do not know)
    iphone2 does not connect via Wifi but used to.  It connects without issues with the USB. The Settings in iTunes > Summary are the same as iphone2 except that iphone2 is set as Backup > Back up to iCloud.
    My iphone2 is my primary device.  I use it exclusively; for music, taking photos, syncing photos to my Photo Stream folder on my PC, etc.  The iphone1 is my spouse's secondary phone, so its not used as often (ie: only has 4 songs downloaded, used to take the odd picture, has a mirror image of apps from iphone2).
    I searched Apple Support and tried the following solutions that didn't solve this problem:
    How to restart the Apple Mobile Device Service (AMDS) on Windows (support.apple.com/kb/TS1567) &
    Set the Apple Mobile Device Service Startup type to Automatic
    I have not done this: Remove and reinstall iTunes and AMDS. I did goto the: iTunes for Windows: Device Connectivity Tests > iOS > iPhone - iTunes Troubleshooting Assistantand into iTunes > Help > Run Diagnostics.  The results were: All tests passed. (My iphone2 was plugged in with USB. The iphone1 was connected via WiFi.)
    What do I do now?  Do I need to remove and reinstall iTunes? and if so will I lose all my itunes info (videos, music, apps, settings) or will it just show up after I install iTunes?

    Hi Mitch,
    It sounds like you have already done many of the steps, but I would like you to look at this article -
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    and go over any that you may have missed.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Unable to connect to Internet via Airport Express - 'cannot contact server'

    I'm unable to connect to the internet via my Airport Express. I'm using OS 10.3.9, and had the same setup with no problems at a previous address, but with a different modem from the same ISP.
    My AE is connected - the light is green - and my mac is connected to the network in Internet Connect. But when I open Safari I get an 'unable to contact server' message.
    I've tried rebooting everything (modem, AE, Mac), and leaving modem/AE off for several minutes. Also reset the AE, but to no avail.
    The connection works fine via Ethernet cable.
    Any ideas?

    Thanks, I checked out that advice doc (106798), but could not connect to the address (http://17.149.160.49) which is given to test if it's a DNS issue. My ISP says I shouldn't need DNS settings.
    The service is PPPoE, and I went into Airport Admin Utility to check if the Airport was configured for this. Under Configure/Internet, I found it was set to 'Ethernet', so changed it to PPPoE. Then when I restarted I got connection status in the bar (and good Airport signal), but status flipped between 'looking for PPPoE host' and 'negotiating PPPoE host', sometimes sticking on one or the other each time I tried rebooting all gear.
    Any other ideas?

  • My macbook pro cannot connect to internet via wifi

    I have a Macbook Pro 2010 OS X 10.8.3.  I cannot connect to internet via wifi (Air por).  My Macbook Pro does not recognize my network and when I select it from the list of network it asks for my network password.  when I type in my password a dialog box gives me timeout error.  Please could anyone help me.  I am using ethernet for my connection at the moment.  Do I need to reset my macbookpro?  if yes, what will happen to my applications and operating system (mountain lion)?
    Monireh

    When you use the Airport utility what happens?
    What is in the System Preferences control panel for Network settings?
    http://www.apple.com/support/airport - there is a forum just for Airport Community
    Airport Express FAQ
    http://support.apple.com/kb/HT1515
    Wi-Fi Setup Considerations
    Things to consider before you begin
    Start with a plan for the physical layout. Depending on whether you have an existing Wi-Fi network, or if you are using your AirPort Express as a standalone Wi-Fi device, there are several options available for you to choose from.
    When using Ethernet, Cat6 cable is recommended.
    The layout you choose should take into account environmental factors such as physical access, location, range, radio frequency interference, etc.
    You will need to consider what AirPort Utility settings to adopt.
    You will need to know whether you are using an AirPort Express (802.11b/g) or an AirPort Express (802.11a/b/g/n).
    If you will be using more than one Wi-Fi base station, it may be helpful to read the article Extending the range of your wireless network by adding additional Wi-Fi base stations.
    AirPort Discussions
    Discuss your AirPort Base Station, Time Capsule and Wi-Fi questions with fellow community members.
    More
    Direct you to the proper forum for MacBook :
    MacBook Series Forumshttps://discussions.apple.com/community/notebooks?view=discussions
    Mac OS X Forums
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro

  • I cannot find the 'WPA passphrase' to connect my printer via wireless and cannot find it in Airport utility (MAC says it cannot find any open airports)

    MAC OS X 10.6.3 - desktop Mac
    I browsed similar questions and saw that someone recommended going to the Airport Utility and then selecting manual set up or something- anyways, it could not find any airports. I have brought my printer from my house as my BF's has died - this is the first time it's asked for a WPA passphrase. We tried a very long series of capital letters and numbers as well as the password for the internet and both times the printer said "invalid passphrase"..... ......

    Airport Utility is for administration of genuine Apple Base Stations. If you have a different Brand, Airport Utility can do nothing for you.
    I think they're using ethernet.
    To connect a Printer via Ethernet, no password is needed.
    We already tried the password for the internet and that did not work...
    If a password is required to connect to the Internet, then WiFi is likley being used, and that WiFi password is the one needed for the Printer connect wirelessly as well.
    What make&model Printer? Is it indeed a Wireless Printer? Most connect via USB, but that would force it to use a specific computer to assist in printing.

  • Hello Everyone, I just bought a HP Photosmart Premium All-in-One Printer - C309g but i find it very difficult to connect to it via BLUETOOTH and WIRELESS on my IPAD 3...i will be very greatfull if i'll get a solution as soon as possible. Thanks

    Hello Everyone, I just bought a HP Photosmart Premium All-in-One Printer - C309g but i find it very difficult to connect to it via BLUETOOTH and WIRELESS on my IPAD 3...i will be very greatfull if i'll get a solution as soon as possible. Thanks

    Hi Tomiwa,
    You cannot print from the iPad to that printer. AirPrint and Bluetooth are completely different.
    There may be apps you can buy that will enable using that printer, but that is not an ideal solution.
    That particular printer has had many bad reviews, and is unreasonably expensive for its features. Considering that you just bought the printer, as well as its lack of AirPrint, I suggest you return it and buy a printer that supports AirPrint.

  • Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong v

    Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong version of backup.

    Answer is no.
    If you want the iCloud backup you have to have n internet connection, thus WiFi.
    The not working WiFi has happened with quite a number of users.
    It is not exactly clear what is the cause but there are suggestions to clear it up:
    Some people have had success by removing an apostrophe from the iPhone name. If your iPhone is called something like “John’s iPhone” then this might work. Go to Settings > General > About > Name and change it to something with no apostrophe.
    Some people have reported success by putting the iPhone into Airplane mode and then going to Settings > General > Reset > Reset Network Settings, but the problem may return.
    You could also try going to Settings > Control Center and disable Access on Lock Screen then turn your iPhone off and on again.
    Make sure that your router firmware is up to date.
    Try backing up your iPhone and then restoring it. Check how to factory reset an iPhone for details.
    If nothing is working for you, try contacting Apple or take your iPhone into an Apple Store.
    Succes, Lex

Maybe you are looking for

  • EXIT ou BADI para automaticamente inserir código no FCI NFe-Item (J1BDYLIN-NFCI)

    Oi pessoal Peço desculpa pelo meu Português criado com Google translator. Eu estou trabalhando no problema e já estendido a FCI, a tabela MBEW para armazenar o campo NFCI para cada material. Já implementaram a BADI CL_NFE_PRINT para gravar o arquivo

  • Itunes cannot read id3 tags

    Ok, so my itunes library file got corrupt and i lost over 5000 songs. So, i transferred all of them from my ipod to my computer and i got all of them. But 1% of the tags didnt get decoded. So i did the convert id tag thing but it didnt work. Is there

  • Can't download iCloud to my new PC

    When I try to download the iCloud control panel on PC it tells me that there was an interuption in the process & to try again.

  • Failure to launch Lightoom 6 missing .exe file

    I've downloaded Lightroom 6 twice now because it does not launch from the shortcut.  I cannot find an exe file in the Program Files to launch directly.  Anyone else having this problem and/or have a solution?

  • Over 2 Hours To Export a 10 Minute Video Even With Other Editing Software

    Hi, I am having a problem with EVERY edititing software I have used. Recently that is. Anyway heres the deal. I got a new computer and it has been an amazing PC. It has a sticker on the front that says HD video editing as in it supports it. Which it