Define the WebService action URL as a parameter

Hi there,
I would like to ask a question related to the use of the WebService action block.
I've been using this action with no major issues, but would like to set the WSDL URL to be defined by a parameter. It could be in the shared memory, in the global properties, or somewhere else that is centralized. I've done some testing on  this, but had no success...
Every real world project will have at least three different environments (DEV, QA and PRD), each with different settings for the web services that it must connect to, so I believe that a lot of people have dealt with this kind of problem.
Please give me your insight on how to do that.
I'm hoping not to get the answer: go to each action block and change the URL manually....
Thanks!

Sorry Jamie,
which is exactly the action parameter to which i can link dinamically different soap address?
I'm using 12.0.11 build (21) and I can see in the action these parameters:
WSDLBaseUrl
WSDLURL
Username
Password ecc..
Should I pass the link to the WSDL or what?
For example I have 3 web services on different machine (web services are identical), only deployed in different machines
Should I pass to WSDLBaseUrl, after importing the structure
"http://hostname:port/SapImport/WebService.asmx?WSDL"
or something else?
Thanks
Mauro

Similar Messages

  • Oracle VM 3.1.1 - How to define the YUM repository URL

    The documentation shows an example or two about how to define the URL of the Yum repository I created, but it doesn't seem to define EXACTLY what to do. For example, the URL to the directory with my RPMs in it is:
    http://my-yum.acbl.net/yum/OracleVM/OVM3/3.1.1/patch/x86_64/getPackage
    Can someone tell me how much of that path I should enter into the "YUM Base URL" sub-tab under the "Tools and Resources" tab in the VM Manager? I have tried to make an intelligent guess (or two), but it's not updating properly, and I don't know if I'm entering the URL properly.

    Thank you. I'll try that, and update this again, if it seems to be wrong.
    I actually opened an SR on this, and asked this same question. After several hours, I got a response, something like "What part of the documentation do you find unclear?". I tried to carefully explain that the docs don't (as best I can tell) define how much of the path should be in the URL given to Oracle VM. I still haven't heard back.

  • How to define the Webservices in except through WebDynpro.

    Hi friends,
                     Can anyone tell me about how to create the webservices?[ except in Webdynpro.].
      We want to give the input data as userdefined way, not in a file. can u tell me how to proceed ?

    Hi,
    Creation of webservice in XI
    Step 1:
    Create the DT,MT & MI(Synch/Asynch-outbound/Inbound)
    step2
    Create webservice for sender ( Integration Directory ->tools ->define webservice.
    It will generate the webservice and save it as .wsl file.
    " Award points if helpful"
    Regards,
    Jayasimha Jangam

  • Appending param value to the netui:form action URL

    Hi there,
    I have got very simple problem.
    I want to add 'dummyParam=dummyVaule' as a query string to the 'URL' whenever
    NETUI form data is posted using submit button.
    I have tried <netui:parameter> but it did not work.
    I have the following snippet of code
    <netui:from action="updateDetails">
    <netui:imagebutton value="submit" >
    </netui:imageButton>
    </netui:form>
    Thanks for your help
    Regards
    Charan

    Hello Jonathan,
    How are you generating the form action URL for the Struts portlet now? You should be able to include any parameters you want in the URL at that time.
    Kevin

  • Webservice Endpoint URL

    Hello,
    I have developed a Webservice Client in Netbeans 5.5 It al works perfect, but how do i change the URL for the ENDpoint or the URL from the webservice?
    Greetings

    I recently has the same problem and needed to change the webservice endpoint URL. I tried the above solution, it has one problem.. to get the port, we need to create an instance of service object. The service class generated by jax-ws (2.1rc1) contains code that tries to access wsdl which was used during build done using wsimport. This URL gets hardcoded in class file and if this hardcoded URL is not accessible from the machine on which app is running, the app throws an Exception.
    I figured a better solution is to use service constructor that accepts wsdl url as a parameter. The new URL may be loaded from a Properties file.
    You may still need BindingProvider if the service location needs to be changed later and you want to reuse the same service object.
    If anyone knows any better way to change webservice endpoint as the application move from dev to test to prod.. I will like to know.

  • Define a Webservice

    Hi,
    I am trying a SOAP --> PI --> BAPI scenario.
    I am in the Configuration Directory and trying to define the webservice. However I am using a BAPI that I imported from our ECC system and it is not coming up as an option in step 3 for me to select. In fact for that fact I can't even see any IDocs or BAPI's I can only see the Message Interfaces. Is there something that needs to be done for me to be able to use BAPI, RFC or IDocs?

    Shabarish Vijayakumar wrote:>
    > >
    Mendez wrote:
    > > Hi,
    > >
    > > I am trying a SOAP --> PI --> BAPI scenario.
    > >
    > > I am in the Configuration Directory and trying to define the webservice. However I am using a BAPI that I imported from our ECC system and it is not coming up as an option in step 3 for me to select. In fact for that fact I can't even see any IDocs or BAPI's I can only see the Message Interfaces. Is there something that needs to be done for me to be able to use BAPI, RFC or IDocs?
    >
    > /people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi
    >
    > you need to define a MI.
    > Create a MI and use it to define the Webservice.
    One tip.
    If you want to actually have the BAPI structure for your Webservice definition then create a MI and provide the bapi req. and resp. in the MI

  • WebService action in BLS

    I exposed a BLS transaction using
    http://<server:port>/XMII/WSDLGen/<transaction name>.
    Is it possible to communicate with this transaction through a WebService action  block in another transaction.?
    I have successfully used the WebService action block to communicate with a Java WebService hosted in axis2 environment.
    Please help
    Thanks and Regards,
    Rajath

    Thanks Michael
    I have a simple transaction which writes a file in to some location. I exposed this transaction using WSDLGen. And configured a BLS WebService action using the above URI in another transaction.
    When i executed the second transaction, i got an error : "Error invoking WebServer Action:null".
    I have given the sufficient security permissions to both the transactions and had also give the login credentials with admin privilege. What could be wrong???
    Any help?
    regards,
    Rajath

  • How define the action of a h:form?

    Hi, I have a page that is accessed with http that contains a form which needs to be posted to a https action. As there is no way to define the action attribute for a h:form tag, how can I implement this using the h:form tag? Is there a way to make the commandButton tag action attribute point to a url?

    With JSP+Servlets in Tomcat I would do something like this
       <form action="https://${pageContext.request.serverName}:8443${pageContext.servletContext.contextPath}/Login?action=login" method="post">
             <label for="username"><fmt:message key="user_username"/>:</label><input type="text" name="username" id="username" value="${username}"/>
             <br/>
             <label for="password"><fmt:message key="user_password"/>:</label><input type="password" name="password" id="password" value=""/>
             <br/>
             <input type="submit" value="<fmt:message key="login"/>"/>     
       </form>how I do something similar using JSF html tags?

  • How to change dynamically the Webservice URL

    Hi,
    I added a webservice to my projet from a WSDL.
    As my application needs to fire this webservice towards different servers, I set dynamically the URL in my code. Here is the problem. When I point to the initial server (the one I got the WSDL from), everything is fine. But when I want to fire the webservice toward another machine, my code is not taken into consideration and my application still communicates with the initial server !
    I have something like:
            URL url = null;
            StuffService stuffService = new StuffService(RIOT_url, new QName("http://web.stuff.com/", "StuffService"));
            Stuff stuffPort = stuffService.getStuffPort();
            try {
                url = new URL("http://localhost:3337StuffService/Stuff?wsdl");
            } catch (MalformedURLException ex) {
                Logger.getLogger(Page1.class.getName()).log(Level.SEVERE, null, ex);
                  //USE THE WEBSERVICEIs there something wrong in my code ?
    Do I need to change some files in the project ?
    Thanks for your help

    This has nothing to do with JSF. Rather post webservice related questions at the webservice forum: [http://forum.java.sun.com/forum.jspa?forumID=331]
    Back to the actual problem, are you using a webservice proxy? A proxy should be able to pick up the URL and port the request.

  • Capturing the LOG OFF url click action in a Webdynpro application

    Hi,
    I have this requirement where I need to know when the User logs off in a webdynpro application.
    I have several webdynpro applications, each independent, and each need to do some clean up tasks when the user clicks on the LOG OFF url in the portal login.
    Is there some standard event attached with the LOG OFF Url of the portal login?
    And could anybody please specify when exactly would the  <i>wdDoExit()</i> method of the application view(s) or the application component controller get's trigerred when the application is run from the portal login?
    Thanks in Advance.
    Regards,
    Swapna Priya.

    Hi Luciano,
    I was successfully able to call the RFC from wdDoExit() method of the component controller.
    Also I could successfully place a custom alert call when the user clicks on the LOGOFFurl in the portal browser.
    Now I have one more pending requirement for me to completely use this cycle of events.....The Portal Browser close action i.e., 'X' action.
    I did find a forum link with some code for the same but i did not understand where to place that code and have already raised a reply for hte same.
    Below is the link:
    /message/230174#230174 [original link is broken]
    Do you have any idea about how to trap this?
    Thanks for all your support
    Regards,
    Swapna Priya.

  • Setting the webservice url at run time for a execute button in adobe form

    Hi,
    I am using Data connection from the wsdl file to interact with the backend, the button generated from the data connection is of type execute which has the url of the webservice in the object property "Webservice URL" and name of the FM in the interface name. My problem is at present the form is working fine but when the same form transported to QA and PRD them the url of the webservice gets change. hence the same button wont function.
    The solution is either we do the changes manually in all the system or pass the url at run time. Please proide me the solution if there is a way to set this url in the execute button at runtime.
    Thanks in advance.
    Pooja

    Why don't you pass in the URL via an XML input file and bind a hidden text field in your form to that element in your XML? Then use javascript to modify the docReady event of the submit button to something like this:
    var url = textFieldWithURL.rawValue;
    this.event__click.submit.target = url;

  • How to define the application parameter 'sap.xss.BaseConfigurationID'

    Hello All,
    I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application parameter 'sap.xss.BaseConfigurationID' for the application. I have defined remaining all the parameters as specified in the following link.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/3b95dab4ab1800e10000000a1553f6/content.htm]
    Could any one please detail the process to define the parameter 'sap.xss.BaseConfigurationID' ?
    Thanks a lot.
    Regards,
    Seshu.

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • No destination URL is defined. Use the followind redirect URL in Transactio

    Hi,
    I am new BSP, I have to display logon screen in my BSP application, i was copied SYSTEM bsp application and tried to run it, but it is throwing error "No destination URL is defined. Use the followind redirect URL in Transaction SICF:  /sap(====)/public/bsp/sap/login/default.htm?sap-url= " . Please let us know what has to be done for the same
    Message was edited by:
            Rams BSP

    Hi Rams,
    see http://help.sap.com/saphelp_47x200/helpdata/en/33/8351f1f3351c41853ea3508cbef0cf/frameset.htm
    and
    http://help.sap.com/saphelp_47x200/helpdata/en/1d/13c73cee4fb55be10000000a114084/frameset.htm
    It sounds like you have not configured the redirect correctly in the ICF.
    Cheers
    Graham

  • Not getting the Tasks while defining the project parameter in PJM ?

    Hello Guys,
    Can any one help me on this query,
    Tasks defined is not available in the list while defining the Project Parameter in PJM ?
    I have done the below neccessary setups,
    The control level is set to Project in PJM Parameters.
    Project Cost-Collections is enabled for Inventory Organization.
    Cost group is set to projects.
    Inventory Organization has been mapped to same OU as Project Organization.
    added Project Manufacturing classification to Inventory Org.
    Iam just checking did I miss any setup ?
    Regards,
    Satish

    Hi
    If the PJM organization is setup with Control Level = Project & Task, then the material transactions , and WIP jobs completion locators will expect you to enter the project number, and task number.
    If the PJM organization is setup with Control Level = Project, then the material transactions , and WIP jobs completion locators will only expect you to enter the project number, not the task number. In that case you will need also to setup the Task Auto Assignment Rules, so system will pick up automatically the task number when transactions are cost collected and interfaced to Projects Costing.
    In any case, the Project Parameters form deals only with the list of projects (not tasks), and thier assignment to the costing and planning groups.
    Dina

  • Inserting a Lead (can't find where to define the URL)

    Hi Everyone,
    I am doing a Lead-insert using a WebApplication. I've added the Lead_v2.wsdl as a service reference. First i'll get the SessionId by logging in. Works like a charm.
    But I can't define where to actually define the URL to where it's suppose to post the data. In almost every example there is a URL-paramater, combined with the jsessionid.
    // Initiate the integration (Here is where I access my SessionId by doing crmOnemand.SessionId
    var crmOnDemand = new CRMOnDemand();
    var myLead = new VitroLife.LeadReference.LeadClient();
    // here is where the url-paramater is suppose to be?
    // mylead.url = url+crmOnDemand.SessionId
    // Create arrary of a Lead record to be inserted
    LeadReference.LeadData[] leadData = new LeadReference.LeadData[1];
    leadData[0] = new LeadReference.LeadData();
    leadData[0].Source = hdnSource.Value;
    leadData[0].Owner = hdnLeadOwner.Value;
    // Missing field priority
    leadData[0].IndexedPick1 = ddlRegion.SelectedValue;
    leadData[0].Product_Interest = chkInterest.SelectedValue;
    leadData[0].LeadFirstName = txtFirstname.Text;
    leadData[0].LeadLastName = txtLastname.Text;
    leadData[0].LeadEmail = txtEmail.Text;
    leadData[0].Description = txtComments.Text;
    // Add lead data array to ListofLeadData class
    var listOfLeadData = new LeadReference.ListOfLeadData();
    listOfLeadData.Lead = leadData;
    // Create an instance of leadinsert_input class
    var leadInsertInput = new LeadReference.LeadInsert_Input();
    leadInsertInput.ListOfLead = listOfLeadData;
    // Insert the data
    var leadOutput = myLead.LeadInsert(leadInsertInput);

    I'm having a very similar problem; there simply is no checkbox visible for the remote. This is especially puzzling since it's worked on this same laptop in the past.
    A short list of fixes I've tried for the issue:
    - Created a new user account, logged it in, checked for appropriate preference.
    - Erased preferences folder for Security and restarted.
    - Reinstalled 10.5 using "Archive and Install".
    - Reinstalled 10.5 using "Erase and Install" and restored from a TM backup.
    - Reinstalled 10.5 as a blank slate, no restore at all.
    - Reinstalled 10.4 using the original install DVDs.
    The USB tab in System Profiler +does not+ show an entry for the IR Receiver, which is puzzling, since, as far as I'm aware, all MBPs have one, and there's been one working on this laptop previously.
    I don't mind saying I'm a little bit at wits' end with this, since I don't really care to go through the installation packages and try to manually install the IR driver if I can possibly avoid it. Any thoughts?

Maybe you are looking for

  • Error when refreshing report in Infoview

    Post Author: Anna-Marie Smith CA Forum: Administration We are running BO XI release 2.  I can run any report in Desktop Intelligence, but when I publish it and try to run it through Infoviewer I get the following error: Connection or SQL sentence err

  • DIP can't contact OID after OIM domain extension and configuration

    Hello, After extending our domain for OIM, configuring and propagating the domain, we are having issues with DIP contacting OID. When starting the managed server, wls_ods1, the following error is reported in the .out file: <Error> <oracle.dip> <DIP-1

  • Bapi call in abap proxy reaching dialog timeout in async scenario

    Hi all, We have an XI interface to create sales orders. Legacy app sends a soap message async to XI with a group of orders. XI sends this group of orders to an Abap proxy async on ECC side. Into this Abap proxy we have a loop to process each order re

  • Imac hanging

    Hardware Information:           iMac (24-inch, Early 2009)           iMac - model: iMac9,1           1 2.66 GHz Intel Core 2 Duo CPU: 2 cores           4 GB RAM Video Information:           NVIDIA GeForce 9400 - VRAM: 256 MB System Software:         

  • Error in creating object

    I 've got an error under Book that tell me "Cannot instanciatie the type Book" this is the method: public Linked<Book> addBook(int serialNum, String title, String author,                  String publisher, int publishDate, double price) {