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.

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;

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

  • 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

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

  • 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

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

  • Setting up a webservice url for consumption in browser

    Hi,
    I am new at webservices and all this fancy stuff...
    I managed to set up a webservice wrapper in NW Developer
    Studio for my stateless session bean endpoint creating an order in our 3rd party erp system.
    So far so good, I ceated a client proxy and a client jsp for testing purposes, and that works as well.
    But I cant manage to find out how to call it directly
    from a web browser, so that it posts the order and
    returns with the result string. I tried the following:
    http://host:50000/OrderRequestForEBasis/Config1?wsdl
    &endpoint=Config1Port_Document
    &operation=public abstract test.types.p2.OrderRequestResponse test.OrderRequestForEBasisViDocument
    .orderRequest(test.types.p2.OrderRequest)
    throws java.rmi.RemoteException,
    test.RemoveException,
    test.Exception
    &formStatus=SUBMIT
    &formAddElement=
    &formRemoveElement=
    &iparameters_orderRequest=
    <<parameter 1 holding an XML string>>
    &iparameters_system=
    <<parameter 2 holding additional info>>
    But that instructs the WAS to respond with the
    webservice test web page.
    Thanks for any hints
    Matthias

    Hi Matthias,
    What you did is correct. You need to create client proxy and some front end application to call your web service. You cannot directly call any web services without doing all these things.
    Url you have given is WSDL of your web service. Based on this description you need to create proxy for that. You cannot directly communicate with that.
    Regards,
    Bhavik

  • Webservice URL forma issue

    Hi experts
    i have a scenario
    JBoss server -
    > SAP XI -
    > SAP
    i had create the webservice in SAP XI through senderagreement --->publish URL
    its automatically generated the WSDL file
    URL is like this
    1)"http://host:port/dir/wsdl?p=sa/0dacd6e6ede73794b0e9d4814430fced"
    but in address location we found another URL
    2) https://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=(bussiness component name)&receiverParty=&receiverService=&interface=SI(service interface name)&interfaceNamespace=%3A%2F%%2F (namespace)
    we are able to call the wsdl in internet explorer by using first URL
    we unable to call the same wsdl using second URL.
    why URL were different ?
    is it possible to change the first URL format?
    i followed the below forums
    wsdl url of pi SOAP Sender (that is used by invoking soap client)
    Using SOAP Sender adapter in PI 7.1
    and i tried what mentioned in above forums but no luck .
    if i use the below URL format
    http://host:HTTPPort/XISOAPAdapter/MessagingServlet?channel=party:sendersystem:CC_sender
    http://host:port /XISOAPAdapter/MessageServlet?senderParty=FP& senderService=FS& interface=IF&receiverParty=TP&receiverService=TS&interfaceNamespace=IFNamespace
    it gives the some ssl missing error
    please help me out
    Thanks In advance

    Hi katakoti,
    could you send the message sucessfully to PI if you use the first URL which you mentioned?
    I am not very clear your problem but give u some input.
    when u display WSDL file in ID, use below URL in step 2/5.
    if there is a party in ur scenario: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
    if there is no party in ur scenario: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>
    also u can send the message directly into Integration Engine by using below URL.
    Using the SOAP inbound channel of the Integration Engine
    http://<server>:<port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<Business Component>&Interface=<InterfaceNamespace>%5E<Interface>
    in previous, we used SoapUI for the WSDL testing. there is no problem. and i have not seen the URL like ur first one.
    regenerate the WSDL file and try again. good luck.:)
    Regards,
    Kevin

  • Webservice URL automatically getting changed

    Hi',
    I am Calling a webservice using Webservice adapter which deployed in different server every thing is fine till I dont close the adapter, once I open it again the URL has got changed
    and the one it gets changed to is invalid, I have no clues what this is happening, I even tried to go inside the files and change it to the proper one but still it gives problem when I try to invoke it. please advice me how to resolve this.
    thanks
    Yatan

    Disconnect any ethernet wires or disable from wireless connections.
    After that try to configure the port numbers and settings .
    Now that wont get changed.
    Hoping this would solve your problem.

Maybe you are looking for

  • ITunes update will not open -- file format not recognized

    My computer cannot open the iTunes update. The error message says that the archive format is not recognized. As far as I can tell the file format, or extension is rpm. My research reveals that this stands for Red Hat Package Manager. I downloaded a t

  • Why is my memory usage so high?

    This memory usage really shouldn't be okay, from having Chrome, Activity Monitor, Steam, and Skype running. I'm pretty sure the problem isn't that I don't have enough RAM. Does anything here look like is easily fixable?

  • How I can link my I pad 2 to my apple tv

    I link my computer and my notebook but I can not link my iPad 2  to my apple tv help please

  • Out.println in jsp?

    Can out.println be used in JSP? I got the following error: I have googled that out.println cannot be used in a method declaration, which is what i've done. So what do i do from there? C:\Documents and Settings\USER\Desktop\FOS_Menu\FOS_Menu\build\gen

  • Text jumping when scrolling

    I use Gurmikhi font to display some Gurmukhi text in my JTextPane. But when I scroll the text, some of the letters are made bigger than they are and the font semms to be jumping. How can I render the text properly? Help me, please. Without scrolling