Modify  webservice URL

Hello,
I am in need to modifying the a webservice URL at runtime. I used the improt wizard to import my webservice.
I see its defined in the .settings/webservices.xml file but i dont know how to access that via code?
Can this be done ?
Drew

It was possible and probably still is.  You would have had to have figured it out on your own, which is the same in this case. 
Infoview has changed considerably in 3.1 so it doesn't surprise me that the URLs have changed.  You will need to investigate the links yourself if you plan on trying to use them in an application as we do not have any documenation on the links or locations.
Also, none of the url parameters and such are documented since they are for internal use only so I can't tell you what any of them mean.

Similar Messages

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

  • Wsit: Modify the URL of the security token service at runtime

    I've managed to modify the url of my webservice endpoint at runtime used by a client application with the BindingProvider.ENDPOINT_ADDRESS_PROPERTY. Is it also possible to modify the url of the security token service?

    Check this article
    http://blogs.technet.com/b/sykhad-msft/archive/2012/02/25/sharepoint-2010-nailing-the-error-quot-the-security-token-service-is-unavailable-quot.aspx
    and similar thread
    https://social.technet.microsoft.com/Forums/office/en-US/78cd4366-b11b-4300-93a4-4135d55f561f/error-8306-an-exception-occurred-when-trying-to-issue-security-token-please-help?forum=sharepointgeneralprevious
    though it is SharePoint 2010 but will work similar in sps 2013 also

  • Call Webservice URL with multiple methods in PI 7.0

    Dear Gurus,
    I have the following requirement:
    I need to make multiple calls to a same webservice (URL) which have multiple methods on its WSDL. I know it is possible in PI 7.1. But is it possible in PI 7.0?
    I have already designed and configured the scenarios and generated ABAP Proxy. When I call the endpoint without specifyng the method I got the following message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Endpoint {http://mywebserviceurl.com} does not contain operation meta data for: {http://mynamespace}MyMessageInterface</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please somebody could help me to solve this issue?
    Thank you in advance.
    Fabio Purcino

    >>. But is it possible in PI 7.0?
    Just few cents..
    Test using SOAPUI or  XMLSPY and use that same WSDL URL in the target URL of Communication channel. Just to make sure you use the right endpoint.
    or
    You can specify the method name as  soap action dynamically using udf in mapping and see how it behaves.

  • Question re: purpose of webservice URL

    Hi.
    I am slowly going through the VideoPhoneLabs example.
    Trying to figure out the line of code below at the start of the <mx:Script> block...there doesn't seem to be any other references to the WebServiceUrl in the project so not sure what the purpose of the variable is. Cheers.
    //please insert your webservice URL here for exchanging
    private const WebServiceUrl:String = "your webservice URL";

    Oops!
    Just found the PHP stuff I was looking for: http://forums.adobe.com/message/1068738#1068738
    Nice.

  • Mapping schema one Webservice Url to another Webservice URL

    Hi ,
    I am working on Webserivce to Webservice communication(converting one response URL format to another response URL format) through SOA suite.
    The usecase: I have one Webservice URL(WSDL URL) which contains UniqueID,name etc in that scehama.
    I have to communicate with another web service url (Helloworld url) which contains some String in its schema.
    SO I want to convert Helloworld URL(one response URL) schema to first Webservice URL(which contains UniqueDI,name etc,I have get the response format of UniqueID,name etc from HelloWorld URL which gives response like 'Helloworld name'.
    So how do u do this?
    I hope u understand my problem,I need to get this done as soon as possible.It is very urgent.
    If u guys want me to talk on phone,I will talk and explain the situation on phone.
    I am from bangalore.I can talk to any phone.
    Please help me as it is critical situation for me.
    Thanks in advance

    Hi neeraj,
    Thank you very much for your response.
    As you mentioned about A ,B and C,
    I will explain about the usecase in those terms.
    A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
    I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
    A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
    The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
    I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
    That was the reuirement.
    In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
    How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
    I hope this has given clear picture about the requirement.
    Can u give guidance in this regard?
    Thanks in advance.
    Please help me out as it is very critical.
    Edited by: 899283 on May 29, 2012 12:21 PM

  • Passing WebService URL Dynamically in BPEL

    Hi,
    We have requirement to Call the WebService URL dynamically to BPEL Process. Currently Websevice URL is hardcoded in WSDL file and our Client has changed their URL recently. We need to Change the URL in all the BPEL Process (Totally 10 BPEL Processes). We are thinking of the following approach but we are not sure whether its works.
    1. Store the URL in Profile
    2. Retrive the URL Value in BPEL Process and Pass it to the Web Service at Run Time
    3. This will avoid the hardcoding of URL in BPEL Process and in case of any change in the URL in future, then we can change the Profile Value instead of all the BPEL Process.
    Any Help on this is highly helpful.
    Thanks in Advance,
    Saravana

    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
    - hth
    Ketan

  • Invalid webservice url

    Hi All,
    I am trying to access a webservice. The webservice is located under
    http://www.webservicex.net/globalweather.asmx?wsdl
    But whn I define a webserivce system it says that <i><b>Invalid webservice url</b></i>.
    I am not able to figure out wats wrong.
    Please provide your comments.
    Thanks in advance
    George
    NB: I am following /people/scott.cairncross/blog/2006/10/11/building-a-web-services-based-visual-composer-application, this blog.

    https://wiki.sdn.sap.com/wiki/display/VC/WebServiceInvalid+URL

  • Mapping webservice url

    Hi,
    Is there any way I can map my webservice similar to the way you map a Servlet
    in the web.xml?
    ie.
    currently my webservice url is:
    http://localhost:7001/Inventory/mtn/inventory/InventoryService.jws
    I would like to make it something like:
    http://localhost:7001/Inventory/InventoryService
    Thanks
    Lomeus

    Hi neeraj,
    Thank you very much for your response.
    As you mentioned about A ,B and C,
    I will explain about the usecase in those terms.
    A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
    I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
    A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
    The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
    I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
    That was the reuirement.
    In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
    How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
    I hope this has given clear picture about the requirement.
    Can u give guidance in this regard?
    Thanks in advance.
    Please help me out as it is very critical.
    Edited by: 899283 on May 29, 2012 12:21 PM

  • WebService URL in Admin and Managed Server????

    All,
    WLS configuration:
    Admin Server:7001
    Managed Server:7003
    Both Admin and Managed Servers reside in the same machine.
    Which is the correct URL for accessing the webservice?
    http://localhost:7001/test/testWebService?WSDL
              OR
    http://localhost:7003/test/testWebService?WSDL
    WLS configuration:
    Admin Server:7001
    Managed Server:7003
    Managed Server:7004
    Both Admin and the 2 Managed Servers reside in the same machine.
    Two managed Servers form the cluster.
    What will be the correct URL to access the webservice
    http://loclahost:XXXX/test/testWebService?WSDL
    what is XXXX???
    Thanks
    Jay

    Services will be deployed in managed servers only.
    Then in the first case it will be
    http://localhost:7003/test/testWebService?WSDL
    In the second case, wherein 2 Managed servers are there.
    What will be the accesing webservice URL?? when the services are deployed in both.
    Will the admin server redirect the requests to the managed servers??
    How do I access???
    Thanks
    Jay

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • Webservice URL from WebI to Live Office

    Hi All,
      I am getting the report from WebI and after that i would like to use that report into my Live Office.
    I am not able to understand how to get the Webservice URL to the Live Office.
    Do we need to save the WebI report in the repository?
    Could any one pls guide me step by step.
    Advance thanks
    Muvva

    I resolved...
    Thanks
    Muvva

  • Modifying submit url

    I'm calling my pdf form using an XDP XML sructure. I'm successfully merging data with the form from data held in an <xfa:data> section. <br /><br />My question is: Can I modify the url the form is submitted to by inclding the url in the <xfa:data> section?

    David<br />Thanks for your patience. I will try to explain my problem in more detail.<br /><br />A potential client has come along who have hundreds of static PDF documents and we are trying to convert these into PDF forms to merge seamlessly with our web application rather than having to rewrite the forms using HTML.<br /><br />My application has multiple IFrames in use together with navigation outside of the IFrame.<br /><br />I have a pdf form on my server (pdfdemo.pdf)<br /><br />I create an XDP file on my server pointing to this PDF:<br /><?xml version='1.0' encoding='UTF-8'?><br /><?xfa generator='XFA2_0' APIVersion='2.2.5028.0'?><br /><xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'><br /><xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'><br /><xfa:data><br /><form1><br />Some data to merge<br />Hoped to be able to define the submitURL target in here somewhere<br /></form1><br /></xfa:data><br /></xfa:datasets><br /><pdf href='http://myserver/pdfdemo.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' /><br /></xdp:xdp><br /><br />An Iframe is populated in the browser with a "src" pointing at a custom function which will download the XDP file in the ASP Response<br /><br /><iframe ... src='RunTask.asp?Status=Download&amp;Filename=PW1A23.XDP'><br /><br />The download code is as follows:<br /><br />Set objStream = New ADODB.Stream<br />objStream.Open<br />objStream.Type = adTypeBinary<br />objStream.LoadFromFile strFilename<br />Response.Clear<br />Response.buffer = True<br />Response.ContentType = "application/vnd.adobe.xdp+xml"<br />Response.AddHeader "content-disposition", "inline; filename=" & strFilename<br />Response.AddHeader "Content-Length", objStream.Size<br />Response.BinaryWrite objStream.Read()<br />Response.Flush<br />Response.end<br /><br />The works, except that the PDF takes over the entire browser rather than the single IFrame in which it was loaded thus losing all application navigation and other work being done.<br /><br />I can download a static PDF using a similar mechanism (.ContentType = "application/pdf") perfectly well in the IFrame.

  • Unable to reload modified webservice

    I am currently testing the web service capabilities of weblogic.
    I am using the WeatherEJB example and modifying the EJB code and going through
    the process of adding new methods that can be accessed through the web services.
    When I redeploy the ear file the new methods are not available.
    The new method on the EJBs remote interface works when the remote interface is
    retrieved through the Home.
    I undeployed the webservice and the EJB and then redeployed, but even this does
    not work.
    It seems like weblogic is caching something.
    Any thoughts.
    -Rich

    Hi Aditya,
    Follow the steps of this blog:
    XI : How To publish WSDL generated from XI to UDDI
    From step 5 you have a WSDL URL to use into your application.
    Best Regards,
    Pedro Nunes

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

Maybe you are looking for

  • Server0 does not start

    Hi, I´ve an ABAP + JAVa system and I did a homogeneous copy and now the J22 engine does not start and is strange because nothing is written into the /usr/sap/SID/DV*/j2ee/cluster/server0/log. Can someone help me as soon as possible? Thnaks a a lot an

  • I need help with registering my Photoshop CC subscription.

    I purchased the monthly subscription service for the Adobe Photoshop CC. My trial of Photoshop CS6 I downloaded just expired. When I enter my adobe i.d. and try to "licence this software" the next screen is requesting a serial # which I never receive

  • When is it safe to power off?

    Hi, I have a Mac Mini set up to use the "Safe Sleep" mode. When I switch the machine to sleep, the screen turns blank and I have no idea when I can actually turn the power off. For example, I have waited until the the tiny LED starts to slowly blink

  • Convert search criteria to lov in adf 11.1.2

    jdeveloper 11.1.2  version 64 i want to convert item variable to list of lov and when i drag list value component to this variable its not convert to list

  • BB seems to pull mail from Gmail Spam folder - can I stop this?

    Hi, I just setup my BB for Gmail access (I have no BlackBerry email address, only Gmail), and at least a few spam emails managed to slip through. Is it possible that the BB service pulls emails out of the Spam folder? If yes, can I prevent this? Than