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

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

  • 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

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

  • 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

  • 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 fails in BPM

    Hi,
    I am new in the BPM and trying to create some demo applications using the tutorials from SDN.
    I have created a BPM process and import a web service in that for an automated activities.
    During execution the web service fails and giving the the following error.
    "Unable to generate configuration data - The service group might not registered with the provider system".
    I've tested the web service is running fine from the web service navigator.
    I am using CE7.1.
    Regards
    Indra

    Hi Indra ,
    You should assign a service group for the automated activity in your process. Click on the automated activity in the design time and goto properties tab and select "Interface". There you can create a new service group. This should fix the error you are getting.
    Regards,
    Rohit

  • Web dynpro web service consumption exception

    Hi All,
    I am getting an exception while executing my web dynpro application, which basically try to cunsume a web service method with a single input string parameter
    Let me put down the steps I followed for developing this web dynpro
    1) Created a Web dynpro project
    2) Created an Application under it, and a component and a view is been associated to it
    3) From the data modeler, created a new model, which basically inherits a Adaptive web service
    4) From the controller I used apply template, which created a data link to the Controller and model
    5) Created a datalink from View to Component controller and mapped the associated fields
    6) In the Action tab created a new action "xx"
    7) In the Layout of view created a Group UI component and associated all the fields from the context to the Group
    8) Created a button to invoke the action.
    9) Under the implementation tab, I called the execute controller's execute method
    10) Controller class is fully generated by web dynpro , as I have given apply template (Binding in wdDoInit(), calling
    modelObject().execute() method is generated by itself)
    11) Once after building, deploying and running I got the screen with non editable fields and on clicking the button I
    I got the exception as mentioned below
    Exception on execution of web service with WSDL URL 'http://iwdfvm2225:50000/WsTest/Config1?wsdl' with operation 'TestMethod' in interface 'WsTestVi_Document'
    12) But Web service works fine and returns proper value, when tested directly.(Using Web Services Navigator - Test )
    Please help me to fix the issue
    Thanks in advance
    Regards
    Bala

    hi balamurugan,
    Try to reimport the model once again and do a server restart. This might help you. Sometimes the mapping will not be recognised.so you will tend to get such exceptions.
    You comment off the code where you are catching the exception and debug what values are getting passed to the backend.
    If you have portal access, then immediately after you get this exception, check your portal log viewer.You will find out what is the error for.
    Thanks,
    NP

  • Creating a web service - editing xml

    does anyone know how to alter the values returned by a web service before the xml is returned to the caller?
    What I mean by this is, I have a web service that returns data. If the data field has not been populated it simply passes back the field with its initial state e.g. space for char and zero for numeric  etc.
    Is it possible to alter these values so that the outbound return xml would contain null  pointers in these cases. e.g. xsi:nil
    For web service consumption the controller table allows ABAP to handle xsi:nil as the xml comes into the ABAP environment. Is there a similar protocol or class for the outbound/Web service that exists in SAP?
    I can't find and user exits or BADI's in this area, but then again this is really on the boundary of the ABAP environment.
    Any help would be appreciated.
    Thanks,
    Alan

    If you have never done this before the best place to start is the axis user guide:
    http://ws.apache.org/axis/java/user-guide.html
    Work through the examples there and then google for examples of using WSDL2Java (there are many out there). This will generate client side classes for you and make things a bit easier.
    C

  • PI 7.4 single stack web service adapter alternative

    Hi All,
    Looking at upgrading from 7.11 dual stack to 7.4 single stack and I know the web service adapter is no longer available (at least according to anything I have read, but I understand it is in the pipeline).
    How do we provide and consume web services on a single stack environment?
    I have looked hard, but if the answer has been before me I have failed to recognise it due to my own limitations.
    If someone could point me in the direction of any articles/blogs/discussions that answer my question or can answer the question I would be very grateful.
    thanks in advance
    Julian

    Hello Julian,
    WS adapter has not been migrated from ABAP stack to Java stack so far - so, in Java-only installation options of PI, there is no analogue for it from functional replacement perspective.
    For web services consumption, the SOAP adapter can be used, but it is applicable for plain SOAP communication, not for WS-RM.
    Regards,
    Vadim

  • Enhancing web service tool to have further business objects and roots

    Hi Gurus,
    is it possible to enhance the web service tool in CRM 6.0, to have further business objects and root objects during the creation of a web service.
    Currently, there are specific entries, but I want to have additional data in here to create a customer specific word template.
    I have found out some tables, but I really do not know how to enhance them and if this is the correct way of adding additional business objects in the web service tool.
    Mentioned tables are CRMV_WS_METHODS and CRMV_WS_OBJ_REL.
    Has someone of you already did this? Helpful answers will be awarded.
    ThanX
      AleX

    Does nobody have an idea? According to help.sap, only these objects are web service enabled:
    -Business Transaction
    -Business Partner
    -Campaigns
    -Case
    -Counter
    -Installed Base
    -Marketing Segments
    -Marketing Attributes
    -Product
    source: http://help.sap.com/saphelp_crm60/helpdata/en/71/365da2ab81488c8fc9b82fd8eb6f0f/content.htm
    But what about other components, such as BuAg (Business Agreement) or ISUMD (IS-U Master Data and further data from the ERP system). These components are in the GenIL, e.g.
    BUAG with implementation class CL_CRM_BUAG_IL1 or
    ISUMD with implementation class CL_CRM_ISU_IL_MD
    Is it necessary to use the Web Service Consumption Tool for creating BOL Objects, although the BUAG/ISUMD are already available in CRM?
    If so, what must be exactly done with this Tool. Does anyone have experiences here and can provide me further information?
    Thanx and regards
    Alex
    Edited by: Alexandro St. Torro on Nov 11, 2008 9:41 AM

  • Studio Creator and Web Service Clients

    Can somebody please explain to me or point me to some actual documentation on how this junk works?
    I have a web service client that was generated from a wsdl file being used by my studio creator project... the web service has changed and now i need to update/replace the client with a new one. It seems like no matter what I do it wants to tag a '3' onto the end of the name of the web service port and also build it into the package names - requirign me to go to all the places in my code that use this client and fix it to have a stupid 3 in it....
    Just replacing web service clients appears to be a huge ordeal involving removing the client libraries from the library folder, and even going into the build-impl.xml to remove references to the old client jars...
    I can't find any options to specify the web service client jar which would allow me to just overwrite the old ones instead of creating these new ones with archaic numbers (e.g. 1384793814) on the end of them...
    Is there an easy way to wipe clean or update a web service from an entire project without leaving these ridiculous references everywhere? When I try to replace the name personService3 with personService in the web service client generator tool it tells me the name is already in use but I can't for the life of me find it...
    can somebody shed some light on this for me? please help before i yank all my hair out...
    Thanks....
    Message was edited by:
    kregan77

    Please see the article I wrote called, "Web Service Consumption Security" at http://devservices.sun.com/premium/jscreator/standard/reference/tips/ws_consumption_security.html
    This will give you an idea of what is supported for the current version of Creator. Also, if you want some other feature supported, please submit a detailed use case to this forum.
    Thanks!
    -David

Maybe you are looking for