Creation OData Service Response Mapping

Hi Marvin Hoffmann
@jitendr_kansal
first of all thanks for sharing this blog.
Marvin Hoffmann's Blog
in this blog under the Heading of "Implement the OData Service"  at point number 6.
when i download the WSDL file and upload for response mapping i am getting the below in which left hand side is empty.
Kindly guide me how to do it?
Regard
Ali

If you are running behind proxy server:
you can set proxy settings  > windows>preferences>network connections>
Manual>HTTP
check How to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network

Similar Messages

  • SUP 2.1.3 MBO creation using ODATA service

    Hi All,
    I am using SUP 2.1.3 and trying to consume OData service created using SEGW transaction on gateway. following an older document i moved ahead by creating XSD files from the XML file.
    But,after uploading the XSD file , i chose the root element as 'feed' .
    After this , one XSLT file is generated automatically.
    But , when I click the XSLT file to edit , it shows error saying  'java.lang.NullPointerException' .
    I have to follow the methodology of creating MBO's using OData service and then deploying it on server.
    Please help me to move ahead with ODATA service in SUP 2.1.3 version. 
    Appreciate your quick help and assistance on this.
    Regards
    Rahul

    Hi
    If i ignore the Null exception error and move ahead with the XSLT format and preview the data source i receive the below error:
    Execution failed: HTTP status code is [401], expected [200]; response body is [<html><head><title>Logon Error Message</title><META http-equiv="Content-Type" content="text/html;charset=UTF-8"><style type="text/css">body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize { color:#333333;background-color:#C8E3FF;padding:5px;}.note { color:#CC6600; }a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited { color:#001166; }a:hover { text-decoration:none; }</style></head><body><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><h1>Anmeldung fehlgeschlagen</h1><br><h2>Was ist passiert ?</h2><p>Der Aufruf der URL http://10.5.1.150:8000/sap/opu/odata/sap/ZCM_TEST_V5_SRV/PayrqSet/ wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.</p></td></tr><tr><td> </td></tr><tr><td class="emphasize"><strong>Hinweis</strong><br>Die Anmeldung wurde im System GWD ausgeführt. Hierbei wurden keine Anmeldedaten bereitgestellt.</td></tr><tr><td> </td></tr><tr><td><p>  </p><h2>Was können Sie tun ?</h2><ul><li> Falls Sie noch über keine Benutzerkennung verfügen, so wenden Sie sich an Ihren Systemadministrator. </li></ul></br><p class="note">Fehlercode: ICF-LE-http-c:001-l:-T:-C:6-U:-P:-L:6-X:CBC8A013038D1EE486AE76E3D8B54E1D_CBC8A013038D1EE486AE76E3D3D34E1D_1-x:B77319E4C51EF1AFAE1DCBC8A013038D</p></br><p> HTTP 401 - Unauthorized</br><p> Ihr SAP Internet Communication Framework Team</p></td></tr></table></body></html>
    Please let me know if anyone has worked on ODATA+MBO+SUP2.1.3. I know this is not the recommended approach but i have to follow this scenario and i know it can be achieved through this approach. JUst need your assistance experts.
    Thanks & Regards
    Rahul

  • Issues with ODATA service creation

    Hi Gurus,
    I am facing some issues with ODATA service creation. I have an analytic view which I want to consume via SAP UI5.
    As per guides and blogs, I need to create 3 files, namely .xsaccess, .xsapp and .xsodata. I created these three files but at the same time .xsodata and .xsaccess got created at one more place. That place is my package which I checked out while creating the repository. Now when I try to activate my .xsaccess or .xsapp file, I get an error message - "The file name .xsaccess or .xsapp already exists and only 1 file is allowed per package"
    for more info please revert.
    Kindly help.
    Best regards,
    Chandan

    Chandan Sinha wrote:
    Can we add multiple analytic views in one ODATA service?
    Certainly.  You just have multiple entities then. You can even create associations between them. Here is an example that uses a combination of CDS Views, Attribute Views, and Analytic Views:
    service namespace "Wile.services" {
      "Wile.data.models::AN_EPISODES" as "Episodes"
      keys ("EPISODE_ID")
      navigates ("ToACMEItems" as "ACMEItems",
                "ToCoyoteNames" as "CoyoteNames",
                "ToRoadRunnerNames" as "RoadRunnerNames",
                "ToDirectors" as "Directors",
                "ToWriters" as "Writers");
      "Wile.data.models::AT_ACME_ITEMS" as "ACMEItems"
      keys ("EPISODE_ID","ITEM_ID");
      "Wile.data.models::AT_ACME_CATALOG" as "ACMECatalog"
      keys ("ITEM_ID")
      create using "Wile.services:ACMECatalogExits.xsjslib::itemsCreate"
      update using "Wile.services:ACMECatalogExits.xsjslib::itemsUpdate"
      delete using "Wile.services:ACMECatalogExits.xsjslib::itemsDelete";
      "Wile.data::WileECoyote.Episode.CoyoteNamesView" as "CoyoteNames"
      with ("EPISODE_ID","NAME_ID","NAME")
      keys ("EPISODE_ID","NAME_ID");
      "Wile.data::WileECoyote.Episode.RoadRunnerNamesView" as "RoadRunnerNames"
      with ("EPISODE_ID","NAME_ID","NAME")
      keys ("EPISODE_ID","NAME_ID");
      "Wile.data::WileECoyote.Episode.DirectorsView" as "Directors"
      with ("EPISODE_ID","NAME_ID","NAME","URL")
      keys ("EPISODE_ID","NAME_ID");
      "Wile.data::WileECoyote.Episode.WritersView" as "Writers"
      with ("EPISODE_ID","NAME_ID","NAME","URL")
      keys ("EPISODE_ID","NAME_ID");
      association "ToACMEItems" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "ACMEItems"("EPISODE_ID") multiplicity "*";
      association "ToCoyoteNames" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "CoyoteNames"("EPISODE_ID") multiplicity "*";
      association "ToRoadRunnerNames" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "RoadRunnerNames"("EPISODE_ID") multiplicity "*"; 
      association "ToDirectors" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "Directors"("EPISODE_ID") multiplicity "*";
      association "ToWriters" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "Writers"("EPISODE_ID") multiplicity "*";

  • FNDLOAD for Responsibility Mapping setup in Oracle Service

    Hi,
    Is there a FNDLOAD command for Responsibility Mapping setup in Oracle Service.
    Thanks
    Vishnu
    Edited by: user12063411 on Dec 2, 2009 4:01 PM

    Yes, SR Type- Responsibility mapping is done in JSP page.
    But Dataloader works in JSP page or almost any application like Microsoft excel, outlook etc..

  • Creation of Odata Service

    Hi Everyone,
    I have created an Odata service which is related to Products. But while calling it from eclipse using NetWeaver Gateway no data is coming to the output.
    Kindly help me in this matter that why no data is coming.
    Regards,
    Soumya

    CAn you please try checking the same URL again in the browser ,(install a RestClient / JSON view extrension in chrome/firefox)   to see if any data is being fetched
    on the application side - please try disabling web security in chrome as per below
    1)For Windows... create a Chrome shortcut on your desktop.
    Right-clic > properties > Shortcut
    Edit "target" path :
    "C:\Program Files\Google\Chrome\Application\chrome.exe" --args --disable-web-security
    or
    2) type below command in Windows RUN
    chrome.exe --user-data-dir="c:/temp/chromedev" --disable-web-security
    and try running the same application again.

  • Call mutiple tables data in single OData service call

    Hi,
    We have created a ZBAPI same as standard BAPI "ALM_PM_NOTIFICATION_GETDETAIL" for creating an ODATA service. But we are facing problem while calling the data from multiple tables in a single query/entity while creating that ODATA service using SEGW.
    Please guide me how can we do that or is this possible to do that.
    Thanks,
    Shrikant N.

    Hello Shrikant,
    You mean to say BAPI is returning multiple tables and you have to get all those table data in one call ??
    If this is the case you cannot get all the table data from that BAPI in one shot as you can map only 1 table as response table in GW.
    Assuming you are passing inputs A & B to your BAPI and it is returning 2 tables in the response,
    maintain a Parent entity ( dummy one ) and create association to those tables ( each table as different entity ).
    This way you get all the tables data in one go as GW calls your RFC 2 times.
    I mean to say you have 2 tables in the BAPI response , GW calls 2 times the same logic to get those 2 tables. i.e., Table 1 in 1st call and Table 2 in 2nd call.
    Your URL would be looking like this its just an example :
    http://<GW_Host>/sap/opu/odata/sap/<Service_Name>/<Parent>?$filter=A eq 'x' and B eq 'x'&$expand=Table1_Set,Table2_set
    where Table1_Set and Table2_Set are your navigation properties which you would have defined.
    Also note that here there is a performance trade-off here as GW calls 2 times the same logic and that is how GW calls BE on $expand.
    Suggestion is to have separate FM's to get those tables separately so that data retrieval is fasted and there is no overhead.
    Regards,
    Ashwin

  • Error while running an Odata service in Advanced Rest Client

    Hi Experts,
    We have created one simple OData model (using Integration gateway) with datasource as SOAP web service. We are able to test the SOAP Web service in STORM tool and getting desired response. But when we run the converted OData URL in Advanced REST Client we are getting the following exceptions/errors.
    Could not send message
    Also, while looking at SMP3 server log, we came across below error logs:
    +0530#ERROR#com.sap.gateway.core.ip.odata.ODataErrorCallbackImpl##anonymous#http-bio-8080-exec-1###handleError(): failed to serve request for URI http://<ip>:8080/gateway/odata/sap/REL2;v=1/GetUserDets(Applid='****',Applpwd='****',Fund='***',Userid='****.***@gmail.com',Password='***@1234'), message = Could not instantiate data provider based on class null |
    +0530#ERROR#com.sap.gateway.core.ip.runtime.PathInfoExtractor##anonymous#http-bio-8080-exec-1###null java.lang.IllegalArgumentException: null
    Any help?
    Regards,
    JK

    Jitendra Kansal
    After updating my DB and do the ODATA service after completion of that hit the server in chrome it shows error like
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code/> 
    <message xml:lang="en"> 
    Could not instantiate data provider based on class null
    </message>
    </error>
    expet that service i did another one it is working fine using the same server with out set the proxy

  • Exception on creation of service metadata for WSDL URL

    Hi expert,
    im consuming a wsdl file in my wdj dc , and on trying to execute im getting exception as follows .
    WsdlApp--com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'E:\***********\MIOS_*********_********.wsdl' and service factory configuration 'null'
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.*****.wsdlwdj.batch.****************Batch.<init>(******************Batch.java:51)
    at com.*****.wsdlwdj.comp.*************Component.test**********Auth(************Component.java:266)
    at com.*****.wsdlwdj.comp.wdp.Internal****Component.test****Auth(Internal********Component.java:331)
    at com.*****.wsdlwdj.comp.WsdlView.wdDoInit(WsdlView.java:97)
    at com.*****.wsdlwdj.comp.wdp.InternalWsdlView.wdDoInit(InternalWsdlView.java:129)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:182)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:177)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:158)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:56)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:92)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:114)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
    ... 55 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:155)
    ... 59 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:/usr/sap/*****/JC**/j2ee/cluster/server1/E:/****/FolderName/WSDLNAME.wsdl (No such file or directory) -> java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
    ... 60 more
    Caused by: java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
    at java.net.URL.openStream(URL.java:913)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
    at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:260)
    at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:271)
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
    at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1023)
    ... 62 more
    Regards
    Govardan

    im using 7.01 and here we have options to use No Logical Destinations , but now i created destinations at visual admin at Server>Services>Web Service Security>WebService Clients>Sap.com-->Dynamic WS Proxies., as WS_METADATA_DEST and WS_MODELDATA_DEST     and have filled in other details too like url  , user name , password etc
    now im getting another error like as shown below please help
    com.****.wsdlwdj.applicaiton.WsdlApp
    [EXCEPTION]
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'WS_METADATA_DEST' and WS interface '{http://****.com/****}MIOS_Matrix***********'. One possible reason is that the metadata destination 'WS_METADATA_DEST' has not been properly configured; check configuration.
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.****.wsdlwdj.model.test.TestModel.<init>(TestModel.java:51)
    at com.****.wsdlwdj.comp.VcWsdlComponent.matrixAuthExecut(VcWsdlComponent.java:448)
    at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.matrixAuthExecut(InternalVcWsdlComponent.java:280)
    at com.****.wsdlwdj.comp.VcWsdlComponent.wdDoInit(VcWsdlComponent.java:132)
    at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.wdDoInit(InternalVcWsdlComponent.java:225)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: http://devpid:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_****_PORTAL&Interface=http%3A%2F%2F****.com%2Fbank_report%5EMIOS_Authorizers_List_Portal&sap-user=xi_portal&sap-password=****1234. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Empty HTTP request received</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Empty HTTP query received; message processing not possible
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:246)
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:130)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
    at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:134)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)
    ... 49 more

  • Unable to parse the OData service in JSON

    Hi,
    Need to parse the OData Service in JSON format.Able to successfully get Service and MetaData documents. After that, when try to parse OData service returning response in JSON.
    Below  code is throwing exception.
    Server Used:SMP3.0
    ODATA SDK Used:SMP3.0 ODATA SDK
    Service Used: http://services.odata.org/v2/Odata/Odata.svc/Products?$format=json
    Code Snippet:
       @try {
          ODataCollection *collc = [[self.serviceDocument getSchema] getCollectionByName:_srvcInfo.serviceEntityName];
          ODataEntitySchema *schema = [collc getEntitySchema];
          //Instantiate parser for Carrier entity
         ODataDataParser *dataParser=[[ODataDataParser alloc] initWithEntitySchema:schemaandServiceDocument:self.serviceDocument];
          //Parses a feed or an entry xml or json
          [dataParser parse:entriesData];
          results = dataParser.entries;
      @catch(NSException *e) {
          NSLog(@"Exception:%@, %@", e.description, e.debugDescription);
    Exception:
    -[__NSCFArray objectForKey:]: unrecognized selector sent to instance
    However Service Used:http://services.odata.org/V3/Northwind/Northwind.svc/Products?$format=json. Not
    throwing any exception, but dataParser.entries is returning 0 objects
    Please let us know, is the same API is used for parsing JSON.
    What can be the reason of issue and what are possible resolution.
    Thanks,
    Parveen.

    My expert area is not IOS but you can check this IOS Odata development tutorial that might help you,Getting started with SMP3 Native OData iOS apps
    Midhun VP

  • Consume OData service in SUP 2.1.3

    Hello,
    How to consume of OData service in SUP 2.1.3 for creating MBO for HWC?
    Our OData service is having mandatory filters which needs to be passed.
    http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/Entity_Set_Name/?$filter=Filter1 eq 'value1'and Filter2 eq 'value2'
    So, while creating XSD from XML should we need to use the above URL or http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/?$format=xml
    If we are using http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/?$format=xml and convert it in XSD then we are not able to see FEED in the MBO creation.
    Also, if we are using http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/Entity_Set_Name/?$filter=Filter1 eq 'value1'and Filter2 eq 'value2' and convert it into XSD then we are able to see the FEED in MBO creation but while choosing the fields it is throwing us java.lang.nullpointer exception.
    Can anyone explain us the solution for the problem?
    Regards,
    Rahul

    Is there a particular reason why SUP 2.1.3 is used and not the latest 2.3.4?  It is recommended to move to the most recent version if possible/new project.
    For HWC consuming OData service, you can connect directly from your JavaScript without using MBOs.  Please take a look at this link:
    Develop OData-based Hybrid Apps
    Thanks,
    Andrew.

  • Web Service Response with Extra Data

    I am calling a vendor web service, using HTTP adapter, and get a "No data allowed here" error.  When looking at the payload coming back from my vendor (the service response), it looks like they are adding data before and after the xml portion of the response.
    HTTP/1.1 <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
    </LIST_COUNTINFO_002>
    </LIST_COUNTINFO_002>
    Date: Wed, 23 Apr 2008 20:36:43 GMT
    Server: libwww-perl-daemon/1.36
    Is there a way in config to ignore this extra data?  The vendor has been responding this way for years to our Business Connector client and it does not appear to be an issue there.
    Thanks,
    Keith

    hi,
      Try this...
      It may be solve your problem..
      [http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm]
      Other wise use XSLT mapping...It will solve your problem...
    Regards,
    Prakasu

  • Store value from request message to be processed in response mapping

    Hi,
    I have the following synchronous scenario:
    R/3 (ABAP Proxy) <>  XI/PI <> 3rd party Web Service
    I need to reference a value in the sender (request) message in the response mapping.
    For example:
    A request with a user ID is received from R/3 to XI/PI.  I want to store the user ID in the request message.  A response is received from the web service.  I then want to use the user ID in the response mapping.
    I believe XI/PI can meet this requirement with a BPM using container or possibly using a custom table to store Message GUID and the variable value in the request message mapping.
    Are there any other methods that can be used to meet this scenario?
    Thanks and regards,
    Duke

    Hi All,
    This is the first time I've encountered such a requirement.  Most of the time we create our own programs that call the sender proxy, so to interogate the results and call another proxy would be the ideal solution.  But, in this case the standard LSO process controls the execution of the proxy.  We may look into doing an enhancement to the standard code, but I was looking for a way we can do this in PI with minimal effort.
    As Stefan stated, I also noticed that the DynamicConfiguration is emptied in the response.
    We will explore the use of BPM, but from what I can see, utilizing a custom table with the runtime constant MESSAGE_ID may be the simplest solution in PI.
    Thanks and regards,
    Duke

  • REST and ODATA service

    Hi,
    I am using PI 7.4.
    I have few queries regarding REST and ODATA service -
    What is REST based services in PI?
    If there is an ODATA service in SAP, how can we use that in PI for mapping needs?
    Where we need to use BAPIs and where we can consume odata services that are being built for SAP UI5 project.

    Hi
    Kindly check the following links:
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.4 (Release Notes) - SAP Library
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.3 EHP1 (Release Notes) - SAP Library
    https://www.advantco.com/product/REST
    PI REST Adapter - Blog Overview
    Regards,
    Xineohpi

  • How to read and process oData service's ATOM XML output?

    Hi,
    I have a RFC created in system A which will call oData services of system B. I am calling this in a report using class methods,  cl_http_client. I will get the response in a ATOM XML format. Is there a standard way to read and process such ATOM XML in abap report without using further addons?
    Regards,
    Vinay

    You need to pass your filename String as a parameter to your functionality. It depends how you're currently set up though. We can't really see the top of your call so it's difficult to determine what you are calling and we don't really know from where you're calling either.
    If you're running standalone, then on launch of the application, you can feed in a file name as an argument that you can read in in String args[] in the main function and pass down to your XML splitter.
    If you're a method in a class that's part of a bigger pile, you can feed the file name as a String to the method from wherever you call from if it makes sense architecturally.
    You might also want to pass down a File object if that makes sense in your current code (i.e. if you're using your file for other purposes prior to the split, to avoid recreating closing/opening for no reason).
    Depends what you're trying to do. If I put together a piece like this, I would probably create an <yourcurrentrootpackage>.xml.splitter package.
    Also, on a side note, you're problem isn't really reading and writing XML in java, but seems more to be making your functionality generic so that any XML file can be split with your code.
    Regards
    JFM

  • UI5 Approval - Missing OData Service TASKPROCESSING

    Hi Experts!
    We are implementing SAPUI5 HR renewal Services with NW 7.4 and EHP7.
    When we execute the approval applicaton, we are facing the following error message:
    The error log shows that the TASKPROCESSING Service is missing:
    I've checked already the following help-document:
    http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/53/c46f8fc17a45088235db354b070a6e/frameset.htm
    We activated all the business functions. But indeed, the oData Service /IWPGW/TASKPROCESSING is missing (or at least not activated yet).
    When I try to add this Service via /IWFND/MAINT_SERVICE, there is no search result:
    How can we add / activate this service?
    Thanks in advance!

    Please advise if you are using this on portal or NWBC?
    Looks of it you are using the portal, did you assign the correct portal and backend UI5 role?
    did you check the ping to the BPM webservice ? does it work?
    * note 1859438 Launchpad service generates relative URLs
    * note 1864001 Resolving of system alias for launchpad service
                   (Help for error analysis)
    * note 1875366 resolution of sm59 destinations in UI2-RunTime
    Follow these steps:
    Run Transaction SPRO
    Run activity  Manage SAP System Aliases  under ODATA channel
    Change system alias software version to /IWPGW/BWF
    Now the service should run ,
    Check in transaction /iwfnd/gw_client
    Do GET on url -  /sap/opu/odata/IWPGW/TASKPROCESSING/TaskCollection
    The previous error should be gone
    then send me the response and error log if exist.
    If you see in this transaction a good response, then most likely the
    server is configured and you can continue with the rest of the
    Steps are
    To use the Tasks by Draft, Tasks by Priority, and Tasks by Time lanes, make the following settings:
    Maintain the settings in SAP NetWeaver -> -> Gateway Service Enablement  -> Content -> Workflow Settings -> Maintain Task Names and Decision Options.
    Activate the required OData services and configure the ICF nodes in your SAP NetWeaver Gateway system.
    Note
    For more information, see SAP Library for SAP ERP under SAP ERP Central Component -> Human Resources -> Personnel Management (PA) -> Personnel & Organization -> Landing Page -> Configuring the Landing Page -> Activating SAP Gateway OData Services, Configuring ICF Nodes, and Configuring the Task Gateway Service for Task Lanes.
    The information on the required OData services and ICF nodes is also available in the Administrator's Guide for HR renewal <applicable release> or in the SAP ERP Installation Guide <applicable release>.

Maybe you are looking for

  • Help with Acrobat 9 Forms

    Using XP and Acrobat 9 Standard: I have three questions about working with forms that I don't find answered anywhere. 1. Can I edit the info in the Document Message Bar? If so how? 2. Can I join form fields? I want to combine a short text field on on

  • How do I get my itunes songs to play from computer onto a playstation

    How do I get my itunes songs to play from my windows computer through the internet to my playstation PS3

  • Problem in startup 10g rac

    hi, all i have just poweroff the os just now. but after i restart the os, the 10g rac failed to start now.it output the following error message: [oracle@dev1 ocfsdoc]$ crs_start -all Attempting to start `ora.dev1.vip` on member `dev1` Attempting to s

  • Inserting image to table...ORA-22288: file or LOB operation FILEOPEN failed

    Good day! I'm just new with using databases, and i'm enjoying it. So I read that you can insert images to a table, and so i decided to try it... and here's where I'm at.. *I made a directory CREATE directory image_dir as 'D:\Images'; --Directory Crea

  • Songs from my CDs aren't really loaded on the phone

    Just upgraded from iPhone 4s to 6plus.  Synced new phone and all of my purchased music is fine on the phone, but much of my music that was ripped from CDs is not really there.  The phone shows 6000 songs, but when you try to play them, it just jumps