Dynamic Web Service Consumption

Hi
I want to know if it is possible to consume a web service dynamically. Or is there any other way to consume web service in JSP without using proxies.
I have already done consumption using deployable proxies but the way of consuming the web service is hardcoded. We have 3 landscape boxes (development box, maintenance box, production box). The problem is the URL for each WSDL in each box is different. So if we move our code from say dev box to maintenance box we have to edit our code for consumption before moving our codes. I hope there's a way to consume our web service/ WSDL dynamically.
Thanks.

Hello Melanie, I wanted to ask you:
how do you do a deployable proxy in 7.3 ?
In 7.0 I used to make a "Deployable Proxy Project", and now I don't know how to go.
I have tried with an "Entreprise App. Project" wich in it has a "EJB project" wich also has an "Web Service Client". I don't know if Im doing it the right way.
Thanks.

Similar Messages

  • Can Web Service Consumption in SAP CRM 7.0 handle multiple records

    Hi All,
    I have a requirement where in I need to Consume a web service in SAP CRM. The response of the web service will have multiple records.
    My questions is will Web Service Consumption in SAP CRM 7.0 be able to handle these records in a popup or not.
    I would like to know whether it is feasible or not.
    Thanks,
    Deepika

    Hi Kavita,
    There is a standard column in UWL with name 'Sent Date'. Other functionalities in UWL for example deadline monitoring (Due date column) are based on this sent date. This shows an employee what was the date workitem was created (sent date) and when it will get escalated (due date). Displaying forwarding date in Sent date will not give clear picture to employee as the deadline will be calculated based on sent date only not based on forwarding date. this was just an example.
    even though if your client is insisting, i dont think it can be done without any enhancement in UWL web dynpro com sort of thing. you can check with your portal consultant too.
    Regards,
    Ibrahim

  • Setup dynamic Web Service Data Source

    Hi all,
    is there a way to setup a "dynamic" web service data source like
    WSDL-URL = 'http://${server_ip}:${server_port}/XYZService?wsdl
    and passing in the server_ip and server_port variables from outside upon document rendering?
    As far as we have seen, there is not way to do so - leaving us with a static web service data source configuration that is only able to point to one specific WSDL.
    The use case we have here goes like this:
    1) We have one specific template for a specific document to be rendered.
    2) Depending on the caller, the data source must be different, i.e. the same web service at different endpoint addresses must be called to fetch the right data.
    Any ideas?
    Thanks in advance.
    Best regards,
    Stefan

    Hi Klaus,
    thanks for your reply. We also had that idea with the router web service ;-) But a little more flexibility would be great for us due to our decentralized system landscape.
    Currently, we are in the evaluation phase of BI publisher to replace our local reports (sales documents) with BI Publisher reports having one central instance of BI Publisher and n local store instances all providing a getSalesDocument() web service.
    To be able to call the correct web service, a dynamic config of web service endpoints would be helpful.
    Best regards,
    Stefan

  • Problem in passing/returning objects over dynamic web service call

    Hi Friends,
    I am beginner in java web service.
    Here is the problem I am facing when I pass/return user defined objects to remote web service method using dynamic we service call.
    The client can call the remote web service method in 2 ways.
    1. By generating client stubs using WSDL file
    - In this case, I am able to pass/return the user defined objects to remote method without any issue only when the server side web services are deployed in any server(jboss)
    - But in java 1.6 & above, the web services can be deployed without server using endpoint. In this case, I am not able to pass/return objects over web service calls.
    2. Without generating client stubs (dynamic web service call)
    - This will establish a connection at run time using the given WSDL file (I have attached the document). I have to form an XML(This will contain API name, arguments) string as input at run time
    - In this case, it allows only string as argument while passing & returning.
    Please let me know if you can help me on this.
    Regards,
    pani

    I'm not sure about your question, but this might help:
    [http://forum.java.sun.com/thread.jspa?threadID=5251188|http://forum.java.sun.com/thread.jspa?threadID=5251188]
    You might also want to read on JAXB.

  • Somehelp regarding Web service consumption in portal component

    hi all,
    I need Somehelp regarding External Web Service consumption in portal component.
    I have a wsdl file, but when i try to create a model using wsdl in portal it is showing cannot to read the wsdl file.
    is there any other way i consume wsdl in portal.

    Hi,
    mybe it's an authorization problem while reading the WSDL file?
    Try to include it like this:
    http://mycompany.net:8000/sap/bc/srt/rfc/sap/Z_Webservice_Test?sap-client=800&wsdl=1.1&sap-user=USERNAME_ON_BACKEND&sap-password=XXXXXXXXX
    Thomas

  • Set timeout for dynamic web service call in wls

    Hi,
    I have a dynamic client using Call interface to invoke 3rd party web service. How can I set the timeout for the call? I know there is a property to set for static client.
    Thanks

    Have you checked out the stub properties:
    weblogic.wsee.transport.connection.timeout
    weblogic.wsee.transport.read.timeout
    http://edocs.beasys.com/wls/docs92/webserv/client.html#wp228628

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

  • Dynamic - Web Service Call

    Hi All
    I am working on 12.2.3 build 165. I am trying to call web service dynamically providing url at the run time..
    I tried using wizard way- giving url, then selecting operation and it works fine. But is it possible to give url as input at run time... I have tried giving no. of inputs at run time but none worked. Pls guide in detail if this is possible.
    thanking you all , taranum

    Hello Nagaraju,
    I need to create a dynamic Webservice call for my application.
    As you mentioned on above I passed the following with link editor in Web service call,
    1. WSDL Base URL
    2. WSDL URL
    3. Opertaion
    but its showing the following error
    com.sap.lhcommon.webservice.SoapOperation.getInputMessage() of an object loaded from local variable 'oper'
    Am i missing any mandatory field value to pass to Webservice call ?
    how can I pass XML input at run time to the request object in this scenario ?
    Here I'm using this as a common transaction, so multiple transaction can use it to post to Web sphere.
    Looking forward for your assistance.
    I need to pass wsdl's dynamically, So can I pass Input XML to request object in linke editor ?
    on of the WSDL structure:
    Regards,
    Srisailam Yadav

  • Web Service consumption in Web Intelligence

    Dear Community Members,
    does anyone  have an idea how-to consume Web Services in Web Intelligence?
    The scenario is the following:
    The data is stored as XSTRING (ABAP AS) and it is retrieved via ABAP Web Service which translate the XSTRING into STRING.
    However, is there a possibility to consum this web service in Web Intelligence resp. is it possible to access the data via SQL as Ingo Hilgefort has it posted on his wiki Page to access SAP via SQL:
    /people/frederic.vanborre/blog/2009/05/18/how-to-configure-the-sql-bw-connector
    /people/thomas.zurek/blog/2009/03/06/sql-access-to-bw-via-data-federator
    /people/frederic.vanborre/blog/2009/05/07/do-you-want-to-query-sap-bw-using-sql
    Thanks in advance for any suggestions.
    Best Regards,
    Marcel

    Use the WebI rich client (assuming you are using XI 3.x) to build a new report.  Activate the Other data sources option and choose there Web services . It will enable you to choose a Web service as data source.
    Starting with SP3 this type of provider can be refreshed dynamically when the report is viewed in the InfoVIew.
    I would recommend to take a look at the WebI rich client user's manual:
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_webi_rich_en.pdf
    Regards,
    Stratos

  • Web Service consumption in Apex 3.1

    Hi -
    Are there any guidelines on how web services should be built for apex?
    I had a sample WSDL one time, which worked for other reporting tool, but did not work in apex. I was getting err message saying '...there is no result tree node...'.
    Thanks in advance,
    Tom

    Hi,
    If you are calling web service using PLSQL then definitely DBMS_SCHEDULER will do.
    Refer: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Web Service Consumption in Web Dynpro Java

    Hi,
    I'm using NetWeaver 2004s for Java. I have generated a Web Service out of a BAPI. I use that Web Service in a Web Dynpro Java Application as Model. Model generation works fine. But when I call the Web Service during execution of the corresponding Web Dynpro Application, I get the following Exception:
    "java.rmi.RemoteException: Service call exception; nested exception is: java.lang.Exception: Call to returned http code 500 with unacceptable content type (text/html; charset=iso-8859-1). <HTML> <HEAD> <TITLE>Unknown Host</TITLE> </HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <H1>Unknown Host</H1> <HR> <FONT FACE="Helvetica,Arial"><B> Description: Unable to locate the server named "<EM>us0308.wdf.sap.corp</EM>" --- the server does not have a DNS entry.  Perhaps there is a misspelling in the server name, or the server no longer exists.  Double-check the name and try again. </B></FONT> <HR> </BODY>"
    Testing the Web Service via transaction WSADMIN works fine. Can anybody give me an advise how to solve that problem?
    Thanks in advance!
    Regards,
    Frank

    Had Exactly same problem with authorization issues on the server hosting the webservices.
    Create a CPIC user Id on the server hosting the webservice. The user id should have authorization to execute the webservice.
    Create a webservice destination in VA for the said webservice using the user id
    1. Log on to the J2EE Engine as an administrator using the Visual Administrator.
    2. Expand -> Server ->Services.
    3. Select the Destinations service.
    4. Under Destinations, select HTTP and choose New
    You need to create two destinations one for matadata and another for execution data.
    Use the destinations while creating the WS model in NWDS.
    if you have issues importing the model using the URL, you can create the model using the WSDL and use the WS Destinations to execute it.
    I am following the same approach after i had faced similar issues with webservices on PI7.1 and Portal 7.0
    About the option to use _setusername, _set...., not all webservices come with the _set methods.
    and moreover if you do that, it would be more of hardcoding in the code, which should be avoided.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 11, 2009 6:11 PM

  • Proxy Object generation error using Wizard for Web Service Consumption

    HI all,
    I am using the Web Service Proxy Object Generation Wizard (via SE80) and have successfully been able to create a Proxy Object for a Web Service which resides on our INTRAnet.
    ...But now I am trying to consume a Web Service out on the INTERnet and I get an error I cannot quite understand when generating the Proxy Object using the URL of the WSDL of the SOAP Web Service.
    The initial error in SE80 simply states "No vendor specified", but when I double-click on the error to get the long text I get the following error:
    Incorrect value: Namespace prefix q1 of QName q1:RequestArray is undeclared
    Exception of class CX_SLIB
    Has anyone seen this or have experience with this?
    I am a senior ABAP-er but have very little experence on the web development side of things so this looks very foreign to me.
    Any input would be GREATLY appreciated!
    Thanks!!
    -Chris

    RESOLVED! ---
    I figured it out with further trial and error...
    Turns out I was using the SOAP version of the WSDL (I had a choice b/ween SOAP, REST, and XML).
    When I simply supply the XML version of the WSDL to the Proxy in the Web Services Wizard, the error vanished and the Proxy Objects generated just fine !!
    ..Closing this problem.
    Edited by: Christopher Twirbutt on May 26, 2009 5:36 PM
    Edited by: Christopher Twirbutt on May 26, 2009 5:37 PM
    Edited by: Christopher Twirbutt on May 26, 2009 5:39 PM

  • Web Service Consumption + SM59 ( HTTPS)

    Hello ABAP Gurus,
    I have issue to consume web service. I am trying to consume web service form external plm server. it has https protocol. For this i tried to create rfc type G for external server but I am wondering that what i need to know to create rfc to ping https web service. I created rfc but not able to ping by sm59 and only reason i am finding is this it is http not https but i am sure you can create rfc for https also. we are on ecc6.0 and SAP_ABA patch level 21. I will greatly appreciate if someone can help me out from this issue.
    Thanks in advance.
    Regards.
    Dave

    Hi Sanoosh,
    There seems to be a routine problem with Adobe on HTTPs even when it says HTTP/HTTPS in dataconection.
    follow the below post with similar issue.
    Re: Calling HTTPS Webservice error
    the final post from Otto there gives you series of steps to resolve this.
    Regards,
    Sai

  • Use dynamic web services endpoints with eInsight

    Hi,
    I'm dealing with a small problem when integrating two multiple systems based on web services.
    The problem is that I�ve a WSDL that represents different web services endpoints and my Business Process have to look out the input information and access a different web service endpoint corresponding to the input code. I only want to be able to change the endpoint of the web service or change the server that is called. However I don't know how can do it or if I can.
    To explain more clearly I�ll give an example. Imagine a company with some stores. All the stores have a web service with the same WSDL (changing the endpoint). I want to be able to call the web service in different endpoints automatically, without having to import another WSDL and make changes on my Business Process.
    I hope someone can help me. Thank you in advance.

    I would prefer using a Sun's JAX-RPC implementation if you are using JBoss. USe JBossWS. There are many things you have to consider when developing a Web Services. You should probably research that first. If it is your first web service, probably you are better off using RPC style web services. The documents and samples are all available on SUN web site. Try those out. For deploying on JBoss you would require to configure some jboss specific deployment descriptors.

  • Web service consumption

    Hi expert,
    we have two instance in our production.
    web service are implemented in both instance
    http://instance1.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy
    http://instance2.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy
    we have web dispatcher in front of the two instances.
    we are using service group to configure the ws call.
    the auto generated configuration always connect to specific instance, let's say http://instance1.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy.
    it seems a single point of failure.
    if instance1 is down. the call will be failed. but instance2 is alive, the call should go there.
    so i want to know if i can configure the ws call in the service group that use the url of web dispatcher
    http://webdispatcher.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy
    at runtime it will automatically call the alive instance.
    our system is CE7.2 SP4
    the ws and ws consumer are in the same system.
    thanks
    John

    close

Maybe you are looking for

  • How many hard drives do I use

    Hey Gang, I have 2 internal hard drives. I read a post recently that mentioned something about having your app, samples/loops, and songs on different hard drives. Is this because of all the reading that must be done when the song is playing? I have g

  • Create captive runtime error in adt command line

    Hi i go to cd C:\Program Files\Adobe\Adobe Flash CS6\AIR3.2\bin adt -package -keystore D:\Games\MAFIL\VSS\Production\Proto\tisApk.p12 -storetype pkcs12 -target bundle D:\fromexamplarr\9thmarch\MAFIL_GoldAppraisalGame D:\fromexamplarr\9thmarch\GoldAss

  • Printing Pro*C Outputs with Other Language Text and PCL

    Hi, Since I did not find any separate forum for Pro*C, I am posting my query in this forum. In our application, using Pro*C programs we are generating reports. These reports contain other language characters such as Arabic, Thai along with printer co

  • Adding a new field in purchase order tab in Sales Order transcation

    Hi Gurus    I need to add a new field in header portion 'Purchase order data' with a new field below the telephone no for the transcation VA01.What should I do here?is there any exit or Badi avaiable for this? Thanks Ganesh

  • Pages for ios8 won't download on iPad mini

    Every time I try to update pages on my iPad min, it gets almost to the end and then stops. An error message pops up that states that there was an error downloading pages and that it can't download at this time. It downloaded on my iPhone without any