Web service response error

Hi All,
I have created a web service using function module. When I am testing that web service and when I pass the input parameter the response in null and it gives the message as stated below:
HTTP/1.1 200 OK
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 268
sap-srt_id: 20080102/112210/v1.00_final_6.40/47792E0F766D009E000000000A64961E
server: SAP Web Application Server (1.0;700)
Can anyone explain/suggest me Am I missing somethin or I have to do some settings in SAP as I am using RFC enabled Function module for Web service.
Regards..

HTTP 200 with  empty response is the default behaviour when the webservice is running properly. U may go ahead with ur scenario. Are u facing any other problem?
Regards,
Prateek

Similar Messages

  • Retrieve error message of SAP provided web service in web service response

    Hi All,
    We have a SAP provided web service that sometimes fails to process data it is called with. This is not a problem as the data sometimes is just plain wrong (i.e. date field contains text). However, the error is only logged in SAP and can only be queried using SRT_UTIL.
    The problem is that the error is not reported back via the response. How can we set up the web service so that the error could be displayed by the calling party without logging into SAP?
    Thanks for the help in advance.
    Best Regards,
    Daniel

    Hi Calvin,
    The WS is indeed synchronous. The problem is not whether the error is captured or not. It is captured indeed but it is logged inside SAP only and not returned via the Web Service response mechanism. The error message says that error message can be retrieved using SRT_UTIL.
    This is a major problem as the users of the outside system calling SAP have no right to use SRT_UTIL to track down the error. They need to contact SAP basis in order to get to the end of it.
    What we need to achieve is to get back the same error message that can be seen with SRT_UTIL via the web service.
    Thanks.

  • How to use a Web Service Response

    In the snps_users documentation it seems to be really easy but in fact...
    After invoking my web service I retrieve a XML file which is my response then we would like to use it.
    As written in the documentation I Export Response in XSD file, I create my XML Model but How to reverse the XSD ???
    There's 4 references to XSD into all the snps_users documentation but no one talking about.
    Moreover it's written See Creating and Reverse-Engineering a
    Model for an XML file for more information and that's what I'm doing but no way...
    So without the XSD I m trying to use the Response file like an XML file but I always have an error which looks like :
    java.sql.SQLException: No root found in the DTD file
    The Web Service Response XML File use NameSpace could the problem come from here ???
    If someone ever use it ...
    Thanks in advance.
    BM

    When I specify the XSD It raises another error,
    my URL is :
    jdbc:snps:xml?f=C:/Temp/File.xml&d=C:/Temp/File.xsd&s=REPON&nspg=xml
    Error message:
    java.sql.SQLException: A SAXException was caught while reading the model saying [Element value has no type]
    The XSD and the XML are generated by ODI after invoking a Web Service...
    Any idea ???

  • Web service task: Error when returning an empty array

    Hi,
    I've encountered an annoying error when using a Web Service Task from an SSIS package in SQL Server Data Tools.
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Index was outside the bounds of the array..
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    It seems that the Web Service Task generates this error when returning an empty response from the WSDL. I've seen several topics about this here on MSDN but they are all from 2008-2009 and seem to suggest that
    this is a bug.  The workaround suggested is using a script task but I would really love to avoid that since my programming skills are lacking.
    I'm using Visual studio 2010 with SP1.

    Hello,
    From my own experience: in all the cases where I had to use SSIS 2008 to retrieve data or send data to Webservices, I had to revert to using Script Tasks or Script components. Whenever I tried with a Web service task, because the job looked simple, I had
    to abandon it in favour of Scripts. Keep in mind that I try to make use of the SSIS components as often as possible, before reverting to Scripting. But handling web services is the one exception, where I always use scripts. In SSIS 2012 I did not find
    any significant improvement of the Web service task and hence no compelling reason to use it.
    Jan D'Hondt - SQL server BI development

  • Web service response processing inside a BPM

    Hi Experts,
    Please can you let me know if it is possible to achieve the following inside a BPM:
    u2022     Once you getting the web service  SOAP response, determine if itu2019s a SOAP fault or a normal web service response.
    u2022     If itu2019s a SOAP fault, create a retry loop with a wait step inside the BPM to try and retry the process (perhaps 5 times in 1 minute intervals).
    u2022     After the retry intervals, if the message is still in a failed step, force the BPM to go into an error state
    u2022     If the Web Service returns a normal response, log the response inside a database table and end the BPM
    If it is possible, please can you provide an example?
    Thank you,
    Brendon

    Hi
    Have you found the workaround?
    Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
    BR

  • Web service response contains SOAP Headers with "mustUnderstand" true

    Hi
    I have a requirement where in I have to consume a web service as adaptive web service model, and while executing the service pass a mandatory parameter to the soap header. We are able to set the mandatory parameter to the soad header. We got the code snippet to do this from a wiki link
    http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService#FAQ-Models-AdaptiveWebService-WhatarethefunctionalgapsofthecurrentAdpativeWSModelImporter%3F
    On executing the service now through web dynpro we are getting the below error
    "Web service response contains SOAP Headers with "mustUnderstand" true which are not handled by the client runtime"
    Any thoughts on how to handle this mustUnderstand attribute with some code snippet? Appreciate all help.
    Thanks,
    KN.

    Hi
    Have you found the workaround?
    Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
    BR

  • Web Service deploy error

    Hello everyone!
    I've created a Web Service from a VI. This VI has two inputs values: a String and and Int8 and one single output: an array of DBL values (array of 1x3). Both inputs and outputs are well connected through the Connector Pane.
    So, in the Project>> Build Spedifications I've created WS, builded with the Advanced>> Use LabVIEW 8.x file layout option checked, in the WebService(RESTful) settings dialog. The problem appear when I try to deploy this WS. The next error is shown:
    Error LabVIEW: (Hex 0xFFFEF84D) LabVIEW Web Services: An error occurred when extracting the deployed Web service. Rebuild the Web service by selecting the "Use LabVIEW 8.x file layout" option in the Advanced tab of the web Service properties dialog.
    How can I solve this problem?
    Thank you!
    Francisco José Gómez López
    Software Engineer
    Solved!
    Go to Solution.

    This is exactly what I've done! I build my web services with this option checked. I don't know the reason why the error still persist.
    I attach a zip file containing the Web Services VI and other VI needed. If you coult try to build the WS and deploy it...
    Francisco José Gómez López
    Software Engineer
    Attachments:
    VIasWS.zip ‏138 KB

  • Web services build error

    Hi All,
    I have created and deployed a Java web service banking project now i want use this web services methods into .net clint. For that in .net peoples able to see the list of web services mathods when they are use those methods they face the problem like "Web services build error...". But when the java clint call the same web services methods it works fine.
    Im tired to resolved this problem please any one tel me how to resolve this problem.
    Thanks,
    kalyan N

    Both. I deployed the application under the IAS (902) and a standalone (903)environment. The IAS (port 7777) an the standalone oc4j (port 8888) is running with the same error.
    P.S. The server is down today for hardware technical reasons

  • Web Service Task Error

    Hi, After successfully testing connection to my source web service, while executing my web service task, I face the following error. Can anyone help me????
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not load the proxy for the specified Web service. The error is: Could not load file or assembly
    'iiglotg3.dll' or one of its dependencies. Access is denied..
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.loadProxyInAppDomain()
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    Regards,
    Njdeh Tahmasian

    Could not load file or assembly 'iiglotg3.dll' or one of its dependencies.
    Access is denied..
    Looks like a permission issue or maybe the assembly don't exists on the server where the package is running; you should check that first.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SSIS Web Service Task Error with WCF Service

    I have read all the other posts on this site and have not been able to resolve my issue.
    For testing purposes i created a very simple WCF service that takes no arguments and returns true.  That is all it does.
    When i create a winform client and instantiate the service i can run my service method and get true back so i know the service works.
    I then create a test SSIS package with 1 task, a web service task. 
    I set the web service tasks properties as follows:
    http connection: http://localhost/WCF_SSIS_Prototype/Service1.svc
    wsdl file: C:\...\SSIS_WCF_Prototype\Service1.wsdl  (I know this is not a valid path, i changed it for posting to forum)
    Service: Service1
    Method: GetData
    Variable: User::BResult
    When i run the package i get the following error:
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Method 'ProxyNamespace.Service1.GetData' not found..    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I'm not sure why it is saying "Method 'ProxyNamespace.Service1.GetData' not found.  It the web service task trying to create a proxy class and naming the proxy class namespace ProxyNamespace? 
    Any help is greatly appreciated.

    Hi,
    How  do you get around the same issue if your string type is based on a client token ?  I downloaded the .wsdl file, was able to see the service name, method and when selecting a method type, I am required to provide a client token which was given
    to me.  (Name column = clienttoken, Type = string, Value = 2227656 - ec8922 (client token numbers goes there)?  I am new to use ssis and need your help please
    error message:  Web Service Task] Error: An error occurred with the following error message:
    "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The web serrvice threw an error during method execution. The error is: An error occurred
    when verifying security fro the message..   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection) 
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"
    Thank you and regards,
    Bili

  • Set listbox items from web service response

    Hi All
    I am trying to set list box items from a web service response. Couple of issues over here:
    1. The user should be able to select multiple items from the list. Hence if I set "Allow multiple values" and set Commit on "exit", then after the web service returns the output, no data is displayed in the listbox. I need to click inside the list box to see the data returned by the web service. How to overcome this..??  ( However this problem (clicking inside the listbox to see the items) does not exist if "Allow multiple values" is unchecked and Commit is set on "Select". )
    2. After the list box is filled up, certain default values should be selected. This selection is based on one of the response field (which is actually a table with multiple values... ). Hence, how to capture this response field and set the default values in the above list..??
    3. The same case for a dropdown. The values are visible in dropdown. However, a default value should be selected and displayed after returning a response from web service. Again, this default value is dependant on another field in the response as in point no.2
    I am trying to use postExecute event as described in [this|http://forms.stefcameron.com/2009/03/23/pre-process-web-service-responses/] link...however not able to achieve the functionality. Please provide suggestions / inputs.
    Thanks
    Deepak

    Hello,
    first: I don´t know anything about the right solution. I am unaware of the existence of the solution, because there were quite many of question about this multiple selection problem and I don´t remember a single "answer".
    I can recommend you to simplify everything and create the functionality yourself. I have done that before to avoid these "Adobe-standard" problems. If you have a problem with autofill of the object, ask your WS to send you a single string and pass it yourself using scripting (JS).
    And if you have problems with multiple selection, create your own field/ object. Get the string of values, parse it, create multiple lines of the dynamic table with some suitable tool to check/ select the rows you need (use checkbox for example, and your text as a table row). This way you can selected anything you want with no problems at all. It wil only cost you some extra work.
    Regards, Otto

  • An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:null

    Hi I m getting the below wxpection when i run test browser from workshop. please help me.
    An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:null

    Thamarai,
    Can you provide more information on your jws ? Also can you start the server
    from the command line with verbose option. This will cause
    weblogic_debug.log to be generated in the domain folder.
    Raj Alagumalai
    Backline Workshop Support
    "Thamarai Selvan" <[email protected]> wrote in message
    news:[email protected]..
    Hi I m getting the below wxpection when i run test browser from workshop.please help me.
    >
    An unexpected exception occurred while attempting to locate the run-timeinformation for this Web Service. Error:
    java.lang.reflect.InvocationTargetException:null

  • Invalid Web Service URL Error

    I am trying to access define a new webservice system using the WSDL for my local queryview web service.  When I put in the WSDL URL it comes back with a "Invalid Web Service URL" error.  If I put the URL in the Browser address, it successfully brings back the web service information.  Any ideas why I can't define this web service system?
    http://<server>:8001/sap/bw/xml/soap/queryview?sap-client=040&wsdl=1.1
    <server> is a token for posting concerns...
    Thanks!

    I am imagining that the BW QUERY_VIEW_DATA web service complies to the Basic Profile 1.0. 
    And I don't quite understand this part?
    <i>In addition, connections to Web services for SAP backend systems must be performed via logical destinations (configured in the SAP J2EE engine with the Visual Administrator) and not via portal systems</i>
    Since the QUERY_VIEW_DATA Web Service resides on my BW system is the BW system considered a SAP backend system?  Any guidance is greatly appreciated.

  • "invalid web service URL" error for create web service system

    Hi.
    I want to call web service in visual composer and try to create Web Service definition.
    When I push create button in visual composer, I got "invalid web service URL" error.
    My web service is located in SAP ABAP System and I can check WSDL URL in web service homepage.
    (http://mycompany.com:8000/sap/bc/srt/rfc/sap/ZTEST?sap-client=500&wsdl=1.1)
    Any ideas for this error ?
    Regards, Arnold.

    Hi
    Please can you create the web service in the portal as a portal system, this will work and you will be able to see the service in Visual Composer.
    Jarrod Williams

  • Cannot enable HP Web Services: "Connection error. Check Internet connection."

    Hello,
    I have a problem with LaserJet setup using Wi-Fi network from windows 7 and 8. The problem as far as I understand is due to inaccessible HP Web Services.
    Details:
    1, The printer works good by USB.
    2. The printer is correctly configured to use Wi-Fi router with right password.
    3. It can be successfully ping'ed from Windows
    4. In Web browser I can enter on printer's IP
    (Serial Numbers are hidden as you recommend, firmware updated)
    4. But when I try to Enable HP Web Services, an error message appears:
    which is strange, because the printer is connected to the same router as the computers and other devices  with automatic configuration (and internet is available without any proxy when I am typing this message):
    Please help to resolve this issue.
    Thanks,
    Fedor

    Thanks for clarifying Fedor,
    HP Web Services are not related to the pritner installation over the local network, those are two different features.
    However that may indicate a nework issue.
    First try running the HP Print & Scan Doctor below on one of your PCs:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=us&lc=en&jumpid=ex_r4155/hho/ipg/ccdoc/p...
    Does the tool can see your printer throught eh local network?
    By clicking the top Network menu and Troubleshoot Firewall, what Firewall software is detected on your system?
    Try disabling it and check if that may help.
    From teh top Network menu select Show Advanced Information.
    What is the IP address of your PC?
    I also suggest rebooting the router by unplugging its power for a moment, then reboot the printer and try installing it again.
    If the issue persists, what is your router model?
    May you see any difference by connecting the printer to your router with an Ethernet cable?
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • Applet very slow and shows no activity, but its running

    I have a new applet for the users, but I am reluctant to implement until I get some others opinions. It is very slow (30 - 40 seconds) Before it outputs a screen with about 20 lines, it reads 90 different html files. It looks at the forth rec of each

  • UWL Configuration - View configuration of NavigationNode

    Dear Experts, I want to configure the UWL to create a custom data table for my own item types. This UWL table will be shown in the portal as a delta link that has an own configuration, not affecting the standard UWL. To achieve this, I write a custom

  • Problems with pentium 4

    is there any known problems using older versions of JDK 1.2.2 with pentium 4 chips?

  • Update huge table(30 Millions) using huge table (30 Millions) on daily basis

    Hi, We are building a datamart for one of the financial systems. For the same we have 2 tables: 1. Temp table which will hold the summary of balances at customer level. 2. The actual fact table where the summaries will be updates. Fact table will hav

  • Where to find old emails?

    Hello everyone. I was wondering if anyone can help me out. I have a Storm, and I can not find any old emails on my phone. I'm trying to find an email from Febuary, but it only goes back a couple of weeks. Is there a place online that I can go to to r