Down-/Upload files via Web Services using a NON-SAP system!?

Hello,
is it possible to down-/upload files via web services using a NON-SAP system!?
Regards,
Jens

Hi Jens,
I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
Hope this helps.
Regards,
Prasanna

Similar Messages

  • How to download a file via web service in Windows Phone 8.1?

    My project just got 2 part.
    1.Pivot app
    2.Webclient server (provide data for pivot app the view the data)
    My concert that how do i do a download button to download a file via web services in to isolated storage.
    urgent!

    something like this:
    public async System.Threading.Tasks.Task DownloadFile()
    using (var client = new Windows.Web.Http.HttpClient())
    var stream = await client.GetInputStreamAsync(new System.Uri("http://urltomyfile"));
    var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myfile.txt", CreationCollisionOption.GenerateUniqueName);
    using (var fileStream = await file.OpenAsync(FileAccessMode.ReadWrite))
    IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
    while ((buffer = await stream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None)).Length > 0)
    await fileStream.WriteAsync(buffer);
    await fileStream.FlushAsync();
    how is your webservices offering the file?
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • Executing a Job via Web Services using a Server Group?

    When executing a job from Designer or from the Management Console you have the option to select a specific job server or a server group.
    But when executing a job via Web Services it uses the first job server with which the repository was associated (i.e. the first job server listed in AL_MACHINE_INFO).
    Is there a way to get the job to execute using a server group instead simply choosing the first job server in the list?
    Note: We are using FIM to execute the jobs via web services and don't have access to additional parameters.

    Joe
    Here is the where you can change the server group/job server.
    - After you add the Batch/real Time job as a webservice.
    - Go to the Webservice Batch Job Attribute and from the drop down choose the "Enable job Attributes" and hit apply.
    - After this if you use the WSDL URL http://<Data Services Web Server>:<Web server Port>/DataServices/servlet/webservices?ver=2.0&wsdlxml
    - You will see the job attributes that you can change based on the allowed parameters mentioned in the documentation.
    The batch job or real time job is published without the job parameters by default. Once you enable the job attributes, remove and re publish the batch job as a web service. The application making the call to this webservice should be able to read the WSDL generated by Data services and pickup all the input and output parameters of the method.
    Refer to the Data Services Integrator guide (Chapter 3 : pages 25 - 33 ) to get the exact parameter values permitted via Data Services jobs called via web services.
    Hope this helps!
    Thanks & Regards
    Tiji

  • Download a XML file from Web Services Using Flex

    Hi All...
    I am new for flex, im developing a windows application using Flex/Air, i have connected the web services with user authentication, now I want to download a xml file using web services in flex,
    how can i do this?? please reply...
    Thanks in advance
    Vasanth

    Hi All....
    I have done this myself using sample tutorials...
    here is the code for your reference guys
              plyLoginName = txtEmailIdDownload.text;                
                     var urlpath:String = new String("your url p?LoginName=");
                    urlpath = new String(urlpath.concat(plyLoginName));
                    urlpath = new String(urlpath.concat("&PlayerType="));
                    urlpath = new String(urlpath.concat(chkseasonvalue));
                    Alert.show(urlpath);
                var request:URLRequest = new URLRequest(urlpath)
                var fileRef:FileReference = new FileReference();           
                fileRef.download(request,"yourfilename.xml");
                Alert.show('File downloaded Successfully');   
                 txtEmailIdDownload.text = "";
                txtPWDownload.text = "";
    thanks
    Vasanth

  • I am unable to upload files via web browser

    Good morning
    I have just upgraded to Mavericks (10.9.5), and I am running into a weird issue. I am unable to upload any files via the web browser. If I go to a website, and select an Upload File option, I am taken to Finder, where I am able to select the file, and press attach. The issue comes when I press upload on the website. It always either times out, or gives me an error that I was disconnected from the server. This happens on Safari, Firefox, and Chrome. I'm not sure what to do... I've repaired disk permissions and tried a lot of different security settings, but I am stumped.
    Thank you

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Generating file via web service and store it on client's hard disc

    Hello!
    First of all I want to see that i am a beginner concerning Web Dynpro.
    In the last weeks I made a lot of steps but now i am stuck with a problem, i didn't find a helpful solution for.
    I want to create a  textfile dynamically via web serivce. That works fine.
    Now I am looking for a solution  to write this file on client hd.
    Is there a possibility to use simply the Java "File" class and give the path name or do I have to use the wd download ui?
    For the downloadUI I only found examples concerning Files in MIME but i don't know what to do if my file is dynamically created during runtime and not stored on any hard disc.
    I would be grateful if you could get me some hints to find the right way.

    Hi
    FileDownload UI is what you should be using!
    Bind the 'resource' property of the FileDownload UI element to a context attribute (say with name SomeFile) of type
    com.sap.ide.webdynpro.uielementdefinitions.Resource
    in local dictionary. Insert the following piece of code where the file content is dynamically being generated.
    Byte[] dynamicFileConent = yourFileContentGenerateMethod(); // your logic
    IWDResource resource =
             WDResourceFactory.createResource(dynamicFileConent ,"FILE_NAME.TXT",WDWebResourceType.UNKNOWN);
    wdContext.currentContextElement().setSomeFile(resource); // SomeFile is the name of the Context Attribute
    Regards
    kk
    Edited by: kaushal kishore on Mar 16, 2010 6:45 PM

  • Uploading files via web page

    Hi,
    I want to use a file form field to upload files to my Web server for manipulation. But I am at a loss as to how to start. Can anyone point me to examples codes, class or anything that I can use as a staring point? Thanks.

    http://jakarta.apache.org/commons/fileupload

  • Call to Web Sevice in External (non SAP) system from SAP CRM

    Hi,
    I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
    Can you please tell me:
    1. What settings/object needs to be maintained in SAP in order to make this call.
    2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
    Please explain in detail
    Thanks,
    Mike

    Hi Oliver,
    I have gone through the documentation and had been able to create a proxy object, uploaded the WSDL file (from local directory) and created logical port,
    However, when testing the service, I didn't received a sucess message but
    <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
      <ERRORTEXT>Error when instantiating the Web service runtime (Error when initializing SOAP client application: ' error_text' )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    What might be the Problem ?

  • Shift of Customer service department from Non SAP system

    Hi All
    I have two companies one in SAP and other Non SAP .Now the Client has planned to move/MERGE  the Customer service department  (ONLY ) of the non SAP legacy to the existing SAP company code ,though there is no physical movement of Goods from the  new merged SAP plant since all sales process involve 100% drop shipment.So for this what should be the ideal approach ?
    My gues would be to create New Sales area/Sales office/ sales group assigned to the SAP company code,data upload of material master/customer master/vendor/open order/open billing etc..
    Pls advise if this the apt one ?
    thanks
    Viswa

    Hi Will,
    Please check configuration "Reset Time Series for Incoming ProductActivityNotifications". This should help you reset old values with new values.
    IMG - Supply Network Collaboration -> Basic Settings -> Processing Inbound and Outbound Messages -> Display of External Exceptions and Logs -> Reset Time Series for Incoming ProductActivityNotifications
    Hope this helps you.
    Thanks,
    Sunil

  • Uploading a File via Web Services

    We can't seem to find a way to upload a file without needing
    to POST it to a specific page on the web server. On top of that, it
    apparently also creates a new session in Asp.NET when we do the
    post. How do you guys work around this issue?

    I have solved the problem - for future references or for anybody else having the same problem read below:
    The JavaDoc for HttpOutputStream states the following:
    "There are two constructors for this class, one taking a length parameter, and one without any parameters. If the stream is created with a length then the request will be sent with the corresponding Content-length header and anything written to the stream will be written on the socket immediately. This is the preferred way. If the stream is created without a length then one of two things will happen: if, at the time of the request, the server is known to understand HTTP/1.1 then each write() will send the data immediately using the chunked encoding. If, however, either the server version is unknown (because this is first request to that server) or the server only understands HTTP/1.0 then all data will be written to a buffer first, and only when the stream is closed will the request be sent."
    Constructing the HttpOutputStream with the size of the content to upload solved the problem. I guess the HTTP version was unknown or Oracle only understands HTTP/1.0 (anybody that can clear this up?), causing everything to be buffered (in memory) only to be send when the streams was closed, which in the case of a big file caused OutOfMemeryError.

  • Enable WSRM (Web Service Reliable Messaging) in sap system

    Hi All,
    Can any one provide document to enable wsrm in sap pi system.
    your help is much appreciated
    Thanks,
    Narendar.

    Hi,
    Please check below link it will help you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/107256c4-d4c4-2d10-fca1-d1676081892b?QuickLink=index&…
    Best Regards,
    Atul

  • Can PMI be used with non-SAP systems?

    For example we have an interface that travels through several systems and servers before being fed into XI (and back).
    So far as I know PMI only starts when XI picks up the message. Are there any agents, API's or any method to PMI enable other applications to send data to the central PMI collector system so we can see a complete view of the process? Or is that just wishful thinking? Thanks folks,
    David

    Hi David,
    The solution seems to be difficult as per below link.
    Please let me know if you find any solution.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/a8/a81b0b6473cb49bc34effad6eab13b/frameset.htm

  • Consuming ABAP Web Service in Non SAP system

    Hi
    I have created an ABAP web service form the RFC and configured it in the SOAMANAGER. I have tested it in Web Service Navigator using the URL and it is working fine.
    Now I am trying to access it from the Non SAP system using Java Code. I am able to access the WSDL using the URL from the step 1 but not able to receive any output when providing inputs.
    So I am not sure if I am missing any configuration on the Provider System (SAP) or on the Consumer system (Non SAP) to access the web service. As far I have not configured anything on the consumer system. Please let me know how to consume the web service in the Non SAP system.
    Thank you,
    Rohit

    not necessarily an answer to your question, but i find that when creating SAP web services, before we create the code for consuming them, I always test them with the SOAPUI package. with this test suite you can import the WSDL, and run individual tests, seeing the input, output, exceptions, etc. This is a good way to check the connection, the flow and the service logic, before writing any code. This will also let you know whether it is a WS issue, or an issue with your code.
    just a thought, from someone who has been there...
    http://www.soapui.org is where you can find the SOAPUI. It helped me out a lot.
    Dave

  • Initiate web dynpro from non-SAP system

    Hi all,
    My costumers are using a non-SAP system, and I need to open a SAP purchase order from this system (based on the order number). Is it possible to put in a link on the non-SAP system, that initiates a web dynpro pop up filed with a SAP purchase order?
    Please advise.
    Thanks

    Hi Thomas,
    WebDynpro is technology native to SAP. WebDynpro Application is developed, utilizing the runtime , libraries & underlining platform in the SAP system. However when webDynpro component is to be used, its consumed as a simple Web Application( i.e you have a URL to invoke it ), thus if you have a WEBDYNPRO application, with fair amount of knowledge of HTML & JAVAScript you can call the URL, which is going to display you the webdynpro application.
    so in effect a webdynpro application would appear as good as a webapplication that CAN be called on Browser from any where, but to build & change it you need SAP Netweaver.
    Greetings
    Prashant

  • Timeout to Web Services using via Proxy Server

    Hello,
    I'm wondering if anybody can help.
    I have a couple of preset web services on the coldfusion web server. As far as I know these have never worked since it's original installation back in June 2011.
    Whenever I attempt to refresh one of the web services using CF administrator I am seeing the following error message:
    Unable to refresh webservice.
    Unable to read WSDL from URL: https://www.****.cfc?wsdl.
    Error: java.net.ConnectException: Connection timed out: connect.
    The server does not have a direct connection to the internet as it is connected to the internal company network which uses a proxy server for internet connectivity.
    I am suspecting that CF is attempting to connect to the internet without the knowledge of the proxy server.
    I have looked high and low but unable to locate anything in CF admin to add a proxy server.
    I'm hoping somebody can reply with a simple solution to fix the above.
    Many Thanks,
    Andy

    Andy, two things.
    First, the problem could be proxy-related, but I notice also that the URL has https. And in that you’re getting a connection timeout, it could be that the destination server (at that URL in the web service call) is set to only allow SSL calls (or perhaps even calls to that specific site, directory, or file) from a specific IP address. Try visiting that URL from a browser running ON THAT SERVER (where CF is installed). It does not good to test the URL from your local development workstation. That would not be the same IP address from which the request would come when run via CF.
    Second, as for specification of proxy info, here’s something to consider: the CF Admin interface showing web services is populated by a call from within CFML code (using CFINVOKE/cfobject/createobject) invoking that web service. If you can find the code that is really calling the web service, you should find that you can specify the proxy info there. See:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_i_10.html (cfinvoke)
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_m-o_14.html (cfobject)
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions-pt0_23.html (createobject)
    Note that with createobject, you do it using a new (for CF8) argstruct. See the docs there for more, or my blog entry:
    http://www.carehart.org/blog/client/index.cfm/2007/9/5/cf8_hiddengem_createobject_argstruc t
    Let us know if any of this helps.
    /charlie

Maybe you are looking for

  • Where's the Daily Show

    It's now one week behind schedule... anyone know what's up? _Nik

  • I have several albums I downloaded and Itunes it shows up in several albums with several songs in one folder and several in others

    I have downloaded several albums that show up in several folders with the same name but only a few songs in each folder.  How do I get them all in one folder?  It would be nice if you could just click,drag and drop in one folder.  I am so frustrated

  • Replication Tab for DFS Namespace is Blank

    Good afternoon.  We have several folders in our single DFS namespace.  Typically, there would be 2-4 folder targets within a folder, with only one enabled.  Until recently, when I would select a folder target and click on its Replication tab, I would

  • Evdev won't work?

    I have tried to get evdev to work, but it isn't working? /etc/X11/xorg.conf Identifier "EvdevMouse" Driver "mouse" Option "Protocol" "evdev" Option "Device" "/dev/input/event1" Option "Dev Name" "Logitech MX1000" Option "ZAxisMapping" "4 5" Option "B

  • Reversal of release of purchase requistion in 4.7

    hi, How can i reverse the release of purchase requisition in 4.7 with ME54 . suppose I have 4 release codes and the middle one wants reverse the release. what should i do? as i can not see any options to reverse.. thanks in advance. srini