Substitution variable for Web Service URLs

Hello all,
I'm building some RESTful web service references into an Apex 4 application.
I have a requirement to incorporate different web service URLs, depending on the environment (Dev, Test, Live etc.).
I'd like to design this so that Apex can pick up the URL from a substitution variable, and I'm not able to do this.
Can anyone help with this, or suggest a workaround?
Thanks,
Rhodri

Hi Jason,
Thanks for your reply.
Could you please explain where you used the substitution variable as the URL Endpoint of your REST Web service reference?
I'm trying to create a Rest Webservice reference (Shared Components > Edit REST Web Reference) and use the substitution variable as the URL in the definition, and &SUBST_VAR. does not seem to work there.
Thanks,
Rhodri

Similar Messages

  • Web Service URL when saving AFO workbook

    I am pretty sure there is a simple answer to this question. My ultimate goal is being able to schedule Analysis for Office Documents. I found a step by step document how to do so from user's perspective but I am running into issues where I need to configure BOE environment to allow saving and scheduling AFO document.
    Here is document that outlines scheduling for AfO workbook.
    http://scn.sap.com/community/bi-platform/businessobjects-bi-for-sap/blog/2010/08/13/scheduling-excel-reports-with-advanced-analysis-and-boenterprise-server
    When I try saving Analysis for Office document to BI environment system prompts for Web Service URL. Where I could find information what needs to be done to enable Web Service URL?

    Hi dear Tammy,
    You can help me with this problem Problems with BOESystems.xml??
    Thanks.

  • What to specfify in CA Reporting services integration (Report server web service URL) when using SSL for both SharePoint and SSRS?

    Hello,
    We are using Sharepoint 2010 and SQL Server reporting services 2008 R2.    We have the sharepoint site bound to port 443 using a certificate.   We also have the same certificate bound in the reporting services configuration manager's
    web service URL tab.    In CA should we put the SSL URL or the non SSL URL?    Right now in CA it has the then non SSL URL,
    http://fakehostname/ReportServer_REPORTSERVICE.     We have some sporadic issues and I am wondering if setting this to our SSL URL will help.    Please let me know
    if you have any questions.
    Thanks,
    Sean

    Hi,
    Regarding this issue, it should be no issue for setting (https) according :
    https://msdn.microsoft.com/en-us/library/bb630447.aspx
    https://msdn.microsoft.com/en-us/library/bb677369.aspx
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0ada85b1-e2d2-44a8-8443-74eca74f5745/ssrs-cannot-connect-to-https-sharepoint-2010-401-unauthorized
    I notice you mentioned that you have some sporadic issues, what are these issue? If there are errors, please post the detailed information about the errors.
    What is the mode type of SQL Server Reporting Service, native mode or SharePoint mode?
    The screenshot of the web service URL:
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Web service URL configuration for Xcelsius in BO XI3.1

    Currently we can evaluate the BOE R2 and BOE XI3.1, and we are facing such a problem:
    In R2, we configure the Web service URL for Tomcat in "...\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\web.xml
    ", there is a parameter called "crystalxcelsius.webconnectorurl", we configure it like this:
    <context-param>
            <param-name>crystalxcelsius.webconnectorurl</param-name>
            <param-value>
                 http://XX:8080/dswsbobje/qaawsservices/queryasaservice
            </param-value>
    </context-param>
    How can we do the same configuration in BOE XI3.1?
    We cannot find the same web.xml because the folder structure has changed.
    After we deployed the Xcelsius dashboards from BOE R2 to BOE XI3.1, it failed and the error message shows:"Unable to load URL...".

    The Xcelsius team is investigating this issue. We'll update you when possible. Meanwhile here is a suggestion from another user.
    "The web service url setting was removed from XI R3 due to the changes in InfoView/CMC client action framework in XI R3. In XI R3, there are multiple web.xml files instead of just one web.xml. The parameters defined in Xcelsius' web.xml cannot be accessed by Crystal Report or WebI...
    Anyway, I have a workaround might work (I never tried it myself). In Xcelsius design time, add a flashvars range name "CEWebServiceURL" and bind the value of this range to a cell that has the url of the web service you want to use at run-time. The SWF should use this url to refresh LiveOffice at run-time."

  • "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

  • Sample java code for web service calling

    Hello,
    I need to call the web services for adding/updating records on Oracle On Demand Entities.
    In particular i need a sample code in java language that explain how to append the sessionid
    to the SOAP request when calling the web service.
    thanks in advance.

    Hi,
    Each time you perform any SOD Operation after Login, ensure have your JSessionId attached to your actual Web Service URL like in example below
    wsLocation ="https://secure-XXXXX.crmondemand.com/Services/Integration";
    jsessionId="8d928e8330d53c6f954b16194731bad78f5f111c2043.e34PaxyNchuLe34Rax4SchaKchz0n6jAmljGr5XDqQLvpAe";
    String url=wsLocation + ";jsessionid=" + jSessionId;
    Use this url for all your future SOD Operation till you logout.
    Regards
    Deepak H Andeli

  • Xcelsius for Reporting Services URL

    Hi,
    I am trying to use sql server reporting services in my Xcelsius project. Configured Xcelsius Gateway Service on the SQL server. Created Data source and report. After this, I was trying to connect to the gateway from xcelsius designer. For this i added a reporting service button. In the button's properties, it asks for 'Xcelsius for Reporting Services URL'. Which URL should be specified here?
    Thanks and Regards,
    Shyam.

    The URL is
    u201Chttp://servername/xrs/xrs.asmx/GetReportsu201D
    But make sure to test the installation, if its working or not. To test it just open a web browser and type the above url.

  • Web service URL with multiple parameters

    Hi all,
    I'm trying to make use of a web service that takes multiple parameters without the use of a proxy (we're using NW 7/7.1 and  proxies aren't supported -  i.e. i'm getting the same thing as described here: Proxy object to consume web service)
    So instead I'm trying to follow a method similar to what is done [here|http://sample-code-abap.blogspot.com/2009/05/simple-code-consume-web-service-using.html]
    When I put the web service url into a browser and click on the operation it comes up with
    http://portLocation/company/webservice.asmx?op=operation
    and comes up with the sample SOAP request and response as normal.
    Now with most web services with one parameter, the url translates to something like: http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry?CountryName=australia
    Which works fine.
    However, the web service i'm using has 4 parameters and when I try and translate my url to be like this (http://portLocation/Company/WebService.asmx/Operation?parameter1=XX&parameter2=XX&parameter3=XX&parameter4=XX) I get, "The page cannot be displayed"
    Can anyone suggest a way that I might be able to get around this or what I'm doing wrong.
    Thanks in advance.

    Hi,
    are you sure that your Operation is valid? So for example in your [example|http://www.webservicex.net/globalweather.asmx] there are just two operations: [GetCitiesByCountry|http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry] and [GetWeather|http://www.webservicex.net/globalweather.asmx/GetWeather]. You are right about passing multiple parameters. You need to put ? after valid URL and then pairs <name>=<value> separated by &. Don't forget that you need to encode <name> and <value> to avoid problems.
    Cheers

  • Web Service URL length limits, LV2013 vs LV2012

    (* CROSS POST: http://lavag.org/topic/18435-web-service-url-length-limits-lv2013-vs-lv2012/ *)
    (* Please reply in this forum.  I have marked the other thread to put replies here. *)
    Has anyone noticed a reduction to the limit on URL length for Web Services between LV versions 2012 and 2013?
    Under LV2012, a RESTful web service appears to accept URL with lengths at least as long as 4096 characters.  With LV2013, the max URL length appears to be 511 characters for both RESTful and Project Item web services. Unfortunately for me the project I just converted trips over this issue. My goal with posting this query to here is to improve my understanding of this limitation before I decide how best to modify my code.  Certainly using POST rather than GET with a long URL is an option, but again, I'm looking to understand the change in limitation before I choose a solution.
    To illustrate I have attached three mostly identical projects which demonstrate the issue.  In each case the project contains a webservice consisting of a single VI, "ComputeLength", which takes a String as an input parameter and which outputs the length of the string.  The three projects are as follows.
    1. LV2012 RESTful web service.
    2. LV2013 RESTful web service.
    3. LV2013 Project item web service.
    The web service contains a single VI.  For the RESTful examples, the web service is started by selecting Deploy from the Build specification right click menu.  For the Project Item example, the web service is started by selecting Start from the MyComputer/WebService right click menu. The use of this example is demonstrated with the following URL: 
    (note that the port is 8080 for the two RESTful examples and is 8001 for the Project item web service if used in Debug mode, which is the default for the above instruction.)
    http://localhost:8080/webservice/computelength?string=1234567890
    And the output looks like this.
    <Response>
    <Terminal>
    <Name>StringLength</Name>
    <Value>10</Value>
    </Terminal>
    </Response>
    To see the issue, extend the string parameter such that the URL contains more than 511 characters beyond the port number.  For example something like this, http://localhost:8080/webservice/computelength?string=1234567890123456789012345678901234567890....(keep repeating)
    For the LV2012 example the string parameter may be at least as long as 4000 characters, which I've demonstrated using Chrome as my browser.  For both of the LV2013 examples the URL is limited to 511 characters after the localhost and the port number.
    Anyone know whether this is a bug or this is an intentional design change?  How about whether the URL length limit is configurable? 
    I am also consulting NI tech support and will report back their response.
    Any advice appreciated.
    Thanks,
      Martin
    Solved!
    Go to Solution.
    Attachments:
    mywebservice.LV2012.RESTful.zip ‏12 KB
    mywebservice.LV2013.RESTful.zip ‏12 KB
    mywebservice.LV2013.ProjectItem.zip ‏11 KB

    Solution found.  Apparently starting in LV 2013, there is a default limit of 512 to the URL length.  The default limit may be overridden as described below.
    Martin
    This is Brian in Applications Engineering from National Instruments. I am following up regarding the 511 character limit in your Web Service HTTP request following the port number. After some research I've figured out that the issue is related to a default web server setting called "LimitUri," which limits the maximum length of a URL. The default setting is 512 characters which is why we are seeing this issue.
    There are multiple ways of changing the URL length limit depending on how you are using your web service. If you are publishing the web service using the Application Web Server then modify "C:\Program Files (x86)\National Instruments\Shared\NI WebServer\NIWebAppServer.conf" and add "LimitUri 4096" to the end of the file without the quotes.
    If you are running the Debug Web Server by just clicking start on the web service then modify "C:\Program Files (x86)\National Instruments\LabVIEW 2013\resource\webserver\niwsdebugserver.conf" and add "LimitUri 4096" to the end of the file without the quotes.

  • Dynamic Web Service URL

    I'm using a .Net based web service to fetch data. The exported XCelsius will be deployed on the customer's environment along with the web service. In that case, the SWF file should connect to web service deployed on my customer site. But, it looks for the hard coded path of the web service. In XCelsius designer, there is no option to pick the web service URL from a cell, as available in the "XML data" button. Is there any other way to pass on the Web Service URL dynamically to the SWF file. Please note, I may use more that one web service connectors in my SWF file.

    With regards to the Web Service Connector in CX, you can dynamically set the URL/end point path of the Web Service if you have installed the latest hotfix of CX:
    http://support.businessobjects.com/communityCS/FilesAndUpdates/crystal_xcelsius_4.5_hotfix.zip.asp
    After, you will see in the properties of the Web Service Connector by tying it to a cell in the speadsheet.

  • Invalid Web service URL

    Hi All,
    While creating a model in VC7.0 based on an external webservice(ex: http://api.google.com/GoogleSearch.wsdl), I ended-up with Invalid Web service URL error.
    Note: When I access the same  WSDL URL using browser it didn't ask me for user authentication, the XML file was opened neatly.
    Please assist.
    FYI- Portal Version is NW2004s SP16.
    Kind regards,
    Vijay

    Hi Fabien,
    Thanks for your feedback.
    Yes, I had tried with simple and local one, and found success in that as well.
    But, this time I would like to create a model based on the some 3rd party webservice available in internet.
    If you know few simple 3rd party webservice available in internet as like the one I have mentioned in my initial post, that would be helpful to me.
    Many thanks.
    Kind regards,
    Vijay

  • Looking for Workflow Service URL in RAR Configuration

    We are configuring RAR and are at Workflow step.
    Workflow contains four sections:
    1. Risk maintenance
    2. Mitigation Control Maitenance
    3. Mitigation
    4. Workflow Service URL.
    We are stuck at the fourth step, Workflow Service URL (This Web service URL is used to submit workflow requests to Compliant User Provisioning) and are not able to trace the URL in configuration guide.
    Can anyone help me in providing the link for the URL
    Regards-
    Shubhi

    Hi,
    It's correct that the WS is the same for both 5.2 and 5.3.
    You can get the URL by opening http://host:port/wsnavigator.
    Expand AEWFRequestSubmissionService_5_2 and click on document.
    //Vit

  • Difference between Web Service URL and Report Manager URL

    What is the difference between Web Service URL and Report Manager URL in Reporting Service configuration manager in SQl Server 2008 Reporting Setrvices

    Another way to put it is the Web Service URL is just that, its used for services that are connecting to issue API calls.  The Report Manager URL is the nice GUI that users should use.  If you click the links, you should see the difference.  I
    am sure you have likely done that, but functionally one is for programmatic purposes and the other to be the front end graphical user interface.
    Sometimes pictures help as well...
    http://bretstateham.com/reporting-services-architecture-diagram%E2%80%A6/

  • 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 Content Type Error for Web Service

    Hi Experts,
    We have a XI / PI Web Service, and have created an Adaptive Web Service Model for the same. For using this web service model, we have created a HTTP destination of type WSDL.
    This configuration works great in our development and consolidation server.
    While working with our production server, with all the settings same as consolidation server, the following error is generated for Web Service call. using the AWS model
    java.io.IOException: Invalid content type while requesting http://<host>:<port>/webdynpro/resources/<application_package>/guicall.wsdl. Expected Content-type: text/xml, received Content-type: content/unknown, used user to connect: null
    The HTTP destination address is the one specified in bold above.
    Also, in later part of the stack trace we are bale to see this error:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination
    Please guide us on this issue.
    Best Regards,
    Alka.

    Hi Alka,
    How did you configure the Webservice Destinations in Visual Admin for a webservice explosed by XI system.
    I mean what was the URL specified, did you specify XI SYSTEM userid password ???
    How was the webservice published to inspection.wsil in XI system ??
    Thanks,
    Regards,
    Aditya Metukul

Maybe you are looking for

  • Adobe Album versus iphoto organizing

    I may be crazy, but I cannot figure this out...I have been using Photoshop Album on my PC. In Album, you can view/sort your photos by the folder they are in - meaning, when I uploaded my images to my PC using my Canon camera software, it put the imag

  • Errors when Automatically Deploying Planning into WebLogic 9.1

    Dears, I have installed Planning 9.3.1 on the Solaris OS.(SPARC 64-bit) But when I want to deploy Planning into WebLogic 9.1 automatically. It has failed to deploy application "HyperionPlanning". Please let me know if anyone has some ideas. Thanks fo

  • Display problems after update

    I recently updated- on balance things went ok- How ever for some odd reason something is causing KDE (3.5) to behave oddly- I used to have a app in the kde control panel that'd let me fine tune settings  (fonts and display size for instance)- I see t

  • Partail sync time capsule and mac

    Guys, i have a question.... is it possible to sync partaily documents or files from my mac to time capsule or i have to back up entire hard disk?

  • Class not found javax.swing.JLabel

    Hello, I'm using JDK 1.3.0 and now I tried the first time to include Swing components into my Applet. When I compile the coding there are no errors and even when I use a standard coding example I always get the "class not found error message" for the