Calling a web service from BusinessObjects Data Services

Hi all,
We are trying to generate a several levels deep structure to prepare the request for a web service call from Data Services. We tried using the Query transformation to map constant values to fields, but as there are nested complex structures, those don't get populated and at runtime we just get an empty request body. We also tried changing the 'optional' and 'occurrence' settings for the structures at every level, but did not help either. Is there any way to create a deep structure manually without getting the input from an XML file or having to create a persistant table, and if we should be using other functions rather than Query step to do so?
Thanks,
S. Gokhan Topcu

Hi
It is possible to map a heavily nested structure.  The minimum required to this is a row generation and a query transform.  The most important technique is the "make current" option for each level of nesting.
It is one area that be confusing.  I have written a couple of white papers that walk through the techniques, they are on the SDN here
Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/101c974c-11f9-2b10-4da5-cd350b7eeda0]
Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08]
Good luck!
Michael

Similar Messages

  • Is it possible to call a Web Application from OSB Business Service

    Hi,
    Is it possible to call a Web Application that has URL - http://host:port/parse.php using a business service in OSB?
    What I have seen is it is able to call the service but the data we are sending that is the string in the form of the URL encoded data is not going there. Any help would be appreciated.
    Regards,
    Anuj

    What I have seen is it is able to call the service but the data we are sending that is the string in the form of the URL encoded data is not going there. Any help would be appreciated.How did you configure your BS. My guess is some thing to do with what your BS is configured and what the Back-end is expecting? HTTP Get Vs HTTP Post
    Manoj

  • Problem while calling a web service in BOBJ Data services

    Hello Experts,
    I am trying to call a web service in bobj data services. A real time job has been scheduled and published as a web service. I want to consume this service in web dynpro java.
    I tried both the methods the adaptive web services and depricated version. I also tried calling the url directly and with the metadata and execution destinations.
    No matter what I do, I keep getting the following error.
    Exception on execution of web service with WSDL URL 'http://XXXXX:28080/DataServices/servlet/webservices?ver=2.0&wsdl' with operation 'SERVICE_<NAME>' in interface 'Real-time_Services'
    The call never reaches data services system.  If I try to call the service from soapUI (web service testing tool) it works fine.
    I am using SAP NW 7.0 SP22 .
    Here is my code in dynpro to call the service.
         AdaptiveModel mod = new AdaptiveModel();
         Request_SERVICE_MDM_LOOKUP request = new Request_SERVICE_MDM_LOOKUP(mod);
         Query1 query1 = new Query1(mod);
         Response_SERVICE_MDM_LOOKUP response = new Response_SERVICE_MDM_LOOKUP(mod);
         request.setQuery(query1);
         request.setResponse(response);
         List list = new ArrayList();
         DefinitionsTypes_XsdSchema_1__XsdElement_1__XsdComplexType_Sequence1 element = new DefinitionsTypes_XsdSchema_1__XsdElement_1__XsdComplexType_Sequence1(mod);
         element.setCustomer_Name(wdContext.currentContextElement().getCustomerName());
         element.setZip_Code(wdContext.currentContextElement().getZipcode());
         element.setAddr1("");
         element.setAddr2("");
         element.setCity("");
         element.setCountry("");
         element.setState("");
         list.add(element);
         query1.set$002fDefinitions$002fTypes$002fXsdSchema$005b1$005d$002fXsdElement$005b1$005d$002fXsdComplexType$0023Sequence1(list);
         wdContext.nodeRequest_SERVICE_MDM_LOOKUP().bind(request);
          wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeQueryResponse().invalidate();
          wdContext.nodeSequenceResponse().invalidate();
    Please let me know if you have any pointers on how to solve this.
    Thanks in advance
    Praveen.

    have you create the destination?
    do  you use the wizard to generate code?
    usually there is catch clause for this line of code
    wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
    Edited by: John Wu on Dec 16, 2010 11:51 PM

  • Is there a way other than redeployment to migrate existing Cloud Services from one data center to another?

    We have a need to correct affinity of Cloud Service, Azure DB, Storage and Mobile Services such that they are on a singl datacenter and do not get impacted by network latency when these components communicate with each other. Also to distribute various environments
    across different data centers we need to realign some environments to mitigate all environments getting impacted if there is outage.
    Existing Cloud Services and related Service Bus queues and topics need to be moved to a different datacenter. Is there a way to do this without having to redeploy cloud services (web and worker roles) or recreate the service bus entities (queues and topics)?
    Also, the existing Cloud Service URL need to be retained without with user authentication won't be possible and hence when completed, the new cloud service should have the same URL.
    Please provide best available options for achieving this or ask question if more information is needed.

    Hi sumeetd,
    As far as I know, currently there is no directly way to move services from one data center to another unless redeployment. You could submit a feature suggestion via this page (http://feedback.azure.com/forums/34192--general-feedback
    ). And at the same time,you could contact with azure support team via the channel below:
    http://www.windowsazure.com/en-us/support/contact/
    Any questions, please feel free to let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Essbase cubes access from Informatica data services

    Can anyone please let me know how do I connect to Essbase from informatica data services.
    thanks,
    Bindu

    I am have big headness if some people want to use ETL tool for getting data from EssBASE.
    Becouse ETL try export data through all dimension members cross.
    if you need export more 1000 recors from Essbase best way do this it's
    -> export data with fix statement with using DataExport commnad
    -> push text file to SQL with sqlloader commnad (from oracle cmd tool)
    And other way - use Essbase Web Services
    http://docs.oracle.com/cd/E26232_01/doc.11122/aps_admin.pdf
    http://essbase.ru/archives/category/performance/essbase-api/xmla

  • RFC connection from SAP Data services to SAP ECC

    We have data services set up in linux machine. I am trying to set up RFC connection between data services and SAP ECC.
    From data management console after creating RFC connection i am getting "RFC_bad_connection" error message. Username , password, system number, hostname and client is working from SAP GUI and has all the authorizations. SAP  gateway and service is name is correct.
    Did anyone had similar issue and what was the solution. Do we have start the RFC connection from linux data services machine, i didn't see any sh executable to do so.
    Thanks in advance for helping to solve the RFC connection issue.
    Edited by: gupta sasha az on Dec 19, 2011 7:24 PM

    I am new to SAP and we have just started work on Data Services.
    I wanted to know the complete procedure as in how can I establish a connection between Data Services and ECC.
    Thanks for your help and time.

  • How to call an Oracle Report from a Self Service HR page.

    Hi,
    I am trying to call an Oracle Report from a Self Service HR page. I personalized the page to add a button and link the report's URL to that button; but I am having issues passing/manipulating parameters to this report.
    Is there a better approach to do this, please post your suggestions. Also If you can direct me to some usefull documentation that will be great.
    Any help will be greatly appreciated.
    Regards
    Hilal

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • Call proxy service from other proxy service with attachment

    Hi!
    I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
    But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
    +<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
    So the attachment is really empty...
    I use service callout. I put an insert action in request action of service callout:
    In Variable:
    attachments
    XPath:
    +.+
    Location:
    as first child of
    Expression:
    +<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
    +     <con:Content-Type>application/octet-stream</con:Content-Type>+
    +     <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
    +     <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding>     +
    +     <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
    +</con:attachment>+
    Why cannot I call this email proxy service from other proxy service for sending email with attachment?
    I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
    Thanks!
    Viktor

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Calling another ITS service from existing ITS service

    Hi to Everyone,
    I would like your advice on calling another ITS service from existing ITS service.
    From my current ITS service eg. "Z_TESTA", i wish to call another ITS service "Z_TESTB". The problem is that it always prompt for userid and password when i called the 2nd ITS service. However, user already enter the password & id when they login to the 1st ITS service. Is there a way to call this new ITS service w/o the userid & password prompt again?
    Below is the codes that we used to call the new ITS service:
    (a) "http://.../scripts/wgate/webgui/!?~transaction=z_testb"
    OR
    (b) "http://.../scripts/wgate/z_testb/!"
    We used both method (a) and (b) but same outcome. Thank you in advance!
    YanaJ

    Hi YanaJ,
    in order to skip a manual login you have to have the credentials somewhere. If you disabled cookies, what I told you will not work. Another possibility would the usage of X509 client certificates. But this requires that you have a setup that distributes the certificates of all of your users. I personally nether setup such scenario. Maybe someone other can explain what you have to do.
    Best regards,
    Klaus

  • How to call a Web Api from from a Visual webpart code behind?

    Hi,
    I am trying to create a visual web part in sharepoint 2013 with data received from another Web API.
    I followed the below steps.
    1. Created a Visual Web part.
    2. In the code behind(.cs) file I wrote the following code.
     async private void GetResult()
                using (var client = new HttpClient())
                    client.BaseAddress = new Uri("http://localhost:8080/");
                    client.DefaultRequestHeaders.Accept.Clear();
                    client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
                    var response = await client.GetAsync("api/Tfs/OpenEnquiriesCount");
                    var content = response.Content;
    3. When I run the application, I get security exception in the line await
    client.GetAsync()
    What is the way to achieve this? How to call a web api from share point visual web part?
    Thank you in advance.

    Hi,
    Thanks for your sharing.
    Cheers,
    Jason
    Jason Guo
    TechNet Community Support

  • Calling ERP Web Dynpro from CRM Opptunity with parameters

    Hi, experts!
    In CRM7.0, I'm calling ERP Web Dynpro from CRM Opptunity.
    We've added a button in Opptunities and the buttom can navigate into ERP Web Dynpro.It works fine.
    Now, I'm trying to move the value of Opptunity ID to a field in ERP Web Dynpro when we push the buttom. That's a problem I want to solve. We're struggling to move the value, but it doesn't work.
    We uses the following settings:
    1) We call Z- Logical Links generated by Transaction Launcher when we push the buttom.
    2) We define Transaction Parameters in a Transaction Launcher Wizard(Step5). We've set "//clipboardBTOrder/BTOrderHeader/OBJECT_ID" or "//datacontextCURRENTBT/BTOrderHeader/OBJECT_ID".
    But both of them doesn't get any value.
    3) If you set SYST data or constants in Transaction Launcher Wizard(Step5), you can find the data in ERP Web Dynpro.
    Does anyone know which parameter gets the value of current opptunity data?
    Or if you have any tips to create URLS using programing, could you please share the information with me?
    BestRgards.
    Miki

    Does anyone have tips??

  • Cold Fusion8 instaltion- Reg the service "Adobe LiveCycle data services ES"

    What is the purpose of the Cold Fusion8 service "Adobe LiveCycle data services ES"?I am using Sun solaris platform with Iplanet webserver
    I  don't require any Flash services still is it required to install that service?

    Could you tell me what are the basic steps to run the Livecycle on weblogic server? what are the system requirements and prices as per your experience?

  • Problem in calling BW web templates from Netscape 7.0

    Hi all
    I have a problem in calling BW web template from Netscape 7.0, it gives an error " port number not accepted for security reasons" .
    It works on Netscape 8.0 and ie.
    regards
    Paul

    This is the very frequently asked question about Netscape.
    http://ilias.ca/netscape/browserfaq/#portaccess
    Solution is:
    find the file <b>c:\Program Files\Netscape\Netscape\defaults\pref\all.js</b>
    and append the following string to this file:
    <b>pref("network.security.ports.banned.override", "1080");</b>

  • Call the web packager from a KO??

    Hello!
    I'm having a bit of a senior moment here and could use some
    help - is
    there anyway to call the Web Packager from inside a KO built
    with
    Authorware? I can output an EXE with PackageFile() from
    inside the KO,
    but don't see an obvious way to go the next step and web
    package the file.
    tia,
    Mark Henry

    "Mark Henry" <[email protected]> wrote in
    message
    news:e8k36r$mc1$[email protected]..
    > Hello!
    >
    > I'm having a bit of a senior moment here and could use
    some help - is
    > there anyway to call the Web Packager from inside a KO
    built with
    > Authorware? I can output an EXE with PackageFile() from
    inside the KO, but
    > don't see an obvious way to go the next step and web
    package the file.
    >
    Have you tried launching obp.exe? Maybe it can be launched
    from a command?
    Steve
    ACE - Adobe Community Expert, Authorware
    My blog -
    http://stevehoward.blogspot.com/
    Authorware tips -
    http://www.tomorrows-key.com

  • Difference Between Data Services Designer and Data Services Workbench

    Hello All,
    I am new to Data Services .
    What is the difference between Data Services Designer and Data Services Workbench .
    Am bit confused in the above two .
    Please help me to understand the same.
    Thanks in advance.
    Aisurya

    Workbench is used to create, display and modify the objects. It will display the source table data and we can see the logs of the job which we have executed and also we can see the status of a job. In bods 4.2 you can design the dataflow in workbench in previous release we don’t have that option but designer contains debugging option, you can write scripts,  it will support all databases; these option are not available in workbench. for more information refer this document:
    https://decisionfirst.files.wordpress.com/2014/07/data-services-workbench-intro.pdf
    http://scn.sap.com/community/data-services/blog/2014/03/01/data-services-42-workbench
    http://scn.sap.com/community/data-services/blog/2013/01/24/data-services-workbench-part-1

Maybe you are looking for

  • Caller ID not working on H323 Gateway

    Hi, I have a CCM Version 4.1.3 set-up to cater for 200 phones, I have a VG gateway in one of the sites that uses an FXO card for local calls, this VG is set-up as an H323 gateway, however calls coming throguh the PSTN line onto the FXO card and then

  • Functionalities in ECC 6.0

    Hi all, What are the new functionalities added in ECC 6.0 while upgrading from 4.6C or 4.7? Thanks in advance...

  • Using the perform statement

    Hi, I have a function called Z_FS_FUSED_BUSINESS_OBJ_DATA, I have also defined a form in this function called FORM conglomerated_data All of this is in one function group called z_fs_inbound If I have another function, in another function group, what

  • IChart x-axis labels

    I'm having some issues with the x-axis labels on an iChart. The data I'm trying to display returns a date column I want to use as the x-axis labels. The data returned looks similar to the following: MY_DATE | project1 | project2 | project3 .... Where

  • Downloaded Music Sometimes Poor Quality

    Once in a while the music I download off of iTunes is really poor quality. The high and low ranges come through fuzzy. Two examples that immediatly come to mind are "50 First Dates" soundtrack, and "Madeleine Peyroux, Careless Love". This is very dis