Consuming WS-RM enabled service in CAF

Hi All,
When i imported  a WS-RM enabled service in a CAF project i can see in the design time that the operation is still showing that WS-RM is still not enabled. Is it possible to consume a WS-RM enabled service into CAF? If yes, Please suggest some way to do.
Thanks & Regards,
Rohit

Hi Rohit,
You cannot configure reliable messaging for Web services you have imported in your composite application. You can only find out which of the operation of the external service support reliable messaging in the Operations tab of the external service editor.
To check whether any of the operations of the service you have imported supports idempotency or reliable messaging, open the Operations tab page and check the Idempotency and WS-RM columns in the Existing Operations table.
Regards,
Naresh

Similar Messages

  • Consuming ES Workplace Web Services in CAF - ReadCustomer Example

    Hi,
    I am trying out the steps from [Consuming ES Workplace Web Services in CAF|http://help.sap.com/saphelp_nw72/helpdata/en/6d/00932cf834471789ad286986185acb/content.htm]
    Completed steps 1 through 5 successfully. For step 6 I am unable to locate the options and I guess I missed something here.
    When I am testing the development I get the error Service Mapping is missing.
    More Error info: com.sap.caf.rt.connectivity.exception.CAFWSExecException: The Service mapping is missing.
    Please let me know if I am missing something here or the configuration I might be missing in step 6.
    Environment:
    SDN_Preview_SR_5_CE71.rar
    SDN_Preview_SR_5_IDECE71.rar
    Thanks,

    solved.

  • Access Enterprise Service as CAF External Service

    Hi All,
    Has anybody used Enterprise Service as CAF External service (in CE 7.1.1) and got the proper result after doing the external service config.? If any body used it please share the External service config part. Because I am getting stuck here. In CE7.1.1 the external service config is not same like previous version as I think.
    Thanks in Advance
    Chandan

    Hi Chandan,
    For Ehp1 you can take a look at:
    [Configuring Consumer Applications|http://help.sap.com/saphelp_nwce711/helpdata/en/a1/9e09c81efa4b2ba92de3f465e305f3/frameset.htm]
    [Configuring Individual Web Service Clients|http://help.sap.com/saphelp_nwce711/helpdata/en/47/f8af96fdb84aa7e10000000a421937/content.htm]
    [Configuring Groups of Web Service Clients|http://help.sap.com/saphelp_nwce711/helpdata/en/9e/bddebc278e41e4988fe064d694b20c/content.htm]
    Hope this helps.
    Best Regards,
    Tsvetan

  • How to consume the Abap web service in Java web-dynpro

    Hi Everyone,
    I want to consume ABAP web service in java web dynpro.
    so when i tried to create model in java web-dynpro, it gave me an error message saying "Invalid WSDL or WSDL not found".
    i think this error message is because, to access the WSDL of abap web-service, we need username and password, but the dialog box in java web-dynpro is not programmed to take username and password from us and send it to the server to get the WSDL.
    i came to this conclusion because i was able to successfully test my abap web-service in java portal. the java portal asked me the username and password to open the WSDL.
    So, please help me to consume the abap web service in java web-dynpro.
    Thanks in advance
    Regards
    Vikas

    Hi Vikas ,
       while creating a model in web-dynpro try to use the "import web service model" option and if you are using local server choose the local server option so that you can get the available web services which are in server, select one among them and continue you process.I think this is the some what easy way .
    If you want use the URL for wsdl better to once test the available service in server and copy that WSDL URL and paste over  WSDL textbox.
    I think this is pretty help ful to you
    Best Regards
    Srikatnh

  • Timeout when consuming a SOAP web service

    Hello,
    I'm quite new to Labview and I'm trying to consume a SOAP web service created using a very simple WCF example, but I keep on getting a WebException because of a timeout.
    The web service has been created using the example from the WCF getting started tutotial (to keep things simple) http://msdn.microsoft.com/en-us/library/ms734712.a​spx
    You'll find my .Net solution attached to this message. (You'll have to be administrator to run the service though).
    I have used the import web service tool in Labview to create the VI to connect to the web service and all went fine, it created the VI correctly. You'll find the created VI also attached to this message.
    Then, I'm trying to create a very simple VI to call the webservice and put the return value inside a numeric indicator. Unfortunately, when I run this VI it crashes with a WebException because of a timeout.
    If I run the .Net client, everything goes fine, and if I go to the web service address with a browser, I get the service website, so I know that the server is registered correctly, only Labview can't connect to it for an unknown reason. Everything is setup to connect through localhost:8000, so it can't really be a network problem, I've tried disabling the Windows firewall to see if that was the problem, but it persists.
    I've also tried to do something similar using the CDYNE web service, like in the example http://www.ni.com/white-paper/4728/en/, and it works perfectly.
    Does anybody have an idea about what could be the issue?
    Regards.
    Attachments:
    WcfTestApp.zip ‏453 KB
    _Calculator.zip ‏72 KB

    OK, I found the problem myself, it was a problem with the configuration of the WCF service, I was missing the ServiceMetadata endpoint.
    For reference, if somebody stumbles upon the same issue as I had, here's a service configuration that works with Labview (using .Net >=4.0)
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <protocolMapping>
          <add scheme="http" binding="basicHttpBinding" />
        </protocolMapping>
      </system.serviceModel>
    And here's how to create and run the service host.
    using (ServiceHost selfHost = new ServiceHost(typeof(Calculator), new Uri("http://localhost:8000/Calculator")))
                    try
                        selfHost.Open();
                        Console.ReadLine();
                        selfHost.Close();
                    catch (CommunicationException e)
                        selfHost.Abort();
                        throw;

  • Error calling a Web Service in CAF

    Hi Experts
    I have develop an CAF project and in this project i call some Enterprise Services. One of this ES is CapacityLoadPlanningViewByCapacityLoadPlanningViewQueryResponse_In.
    I import this service in CAF Project from SCM system. Then i did a default mapping to an Application Service.
    I generate, build and deploy the project. When i test this service i have this message error:
    Caused by: com.sap.caf.rt.exception.CAFServiceException: Connection IO Exception. Check nested exception for details.
    Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details
    "failed to execute Operation query: String index out of range: 0"
    In trabsaction SICF i can see the response xml of this service, and i see that one of returning attribute is empty and should be return some value because this attribute is required.
    timeZoneCode and daylightSavingTimeIndicator
    <ProductionPlanningOrderTotalCapacityLoad>
          <ProductionPlanningOrderStartDateTime timeZoneCode="" daylightSavingTimeIndicator="">2010-01-12T16:48:13-02:00</ProductionPlanningOrderStartDateTime>
    I try to change the xml schema to corretct this but nothing happend.
    Cab someone help me about that issue?
    Thanks and regards.
    Marcos Brandao.

    Marcos,
    This looks like the error message you have:
    http://wiki.sdn.sap.com/wiki/display/JSTSG/%28NWA%29Problems-P050
    Have you checked if this is related to a permission error?
    Cheers.

  • Consuming an External Web Service using HTTPS and WS Security

    Hello everyone,
    I'm having a problem setting the security information in a SOAP header using a generated ABAP Client Proxy to consume an external web service that requires a User ID and Password in the Header section of the SOAP message.  I need to use HTTPS. I'm on a WAS 7.01 SP08 system so from my readings, SAP is supposed to be able to add the username and password into the header section of the message.  I can't seem to get SAP to add this information added to the header.
    Here are the steps that I have taken to set the security values.
    1) Created the client proxy from the WSDL in SE80.  Basic Authentication on the Configuration tab was turned on automatically.
           Note, Transport Security is set to None.  I cannot change it.
    2) Created an outbound set user name profile in transaction WSPROFILE with the appropriate username and password.
    3) Added the profile to the default port in transaction LPCONFIG as an outbound under the WS Security section of the screen.
    When I called the external Web Service, I got back the following error message:
    com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5509E: A security token whose type is [http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken] is required.
    So, after reading through this Forum, I saw that I needed to use the SOAMANAGER.  I set up a Proxy in the SOAMANAGER and manually created the Logical Port.  This was the only way I could figure out how to set the Authentication Settings in the Logical Port to "User ID / Password".  I then entered the User ID and Password.
    However, I am still getting the same error message.  I feel I am close but missing some small configuration to tell SAP to use WS Security with a Username token.
    I'm not sure what I'm doing wrong, so any help would be appreciated.
    Thanks,
    Stephen

    I had this error again so I thought I would post my solution:
    The issue is SAP needs to know the certificates being used by the web site being called.  These certificates are automatically installed in your browser but need to be manually installed in SAP.  This is what I did:
    How to find/install new certificates
    Make sure you run Internet Explorer as an Administrator so you can export the certificates
    Go to the web site that SAP is trying to call in Internet Explorer
    Double click on the lock in the address bar
    View certificates
    Find the certificates that are being used
    Tools --> Internet Options --> Content --> Certificates
    Click on the “Trusted Root Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Click on the “Intermediate Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Go to STRUST in SAP
    Import the Certificates in the “Anonymous” or “Standard” SSL client
    Save
    RESTART the ICM via t-code SMICM  <-- Critical!!!
    Test

  • How to make use of asynchronous service in CAF development

    Hello SDNs,
    How can we make use of asynchronous service in CAF development;
    Actually i am new to CAF development; my business requirement suites for the service provided by SAP. But the service provided is asynchronous; is it not possible to use the asynchronous service in my CAF application? if it is possible, can any one please tell me the drawbacks of using it!
    You help would be highly appreciated.
    Thanks,
    Sireesha.B

    Hi,
    >> I have some portal service and how to use that in the web dynpro application.
    Yes. U can use Portal service in webdynpro. Check the link given by subathra.
    >> and also what is the main diff between Portal Component and web dynpro application
    Portal Components are components designed to run in portal server while webdynpro application can run in J2EE WebAS.
    >> do we required portal to run web dynpro application.
    No for general cases. Just WebAS is sufficient to run webdynpro appl. But if u use portal service in ur webdynpro appl, then make sure both (portal service and webdynpro appl) run on same J2EE engine. That is mandatory.
    Regards,
    Vijai

  • Do I need claim based auth, on the Consumer side for shared services?

    I have
    One SharePoint 2013 Farm that holds Managed Metadata service.
    One SharePoint 2010 Farm with multiple web applications that want to consume the Managed metadata service from the 2013 Farm. None of the web applications in this environment is configured for Claims Based Authentication
    I plan to follow this document,
    http://technet.microsoft.com/en-us/library/ff621100(v=office.15).aspx, to set up the Provider and Consumer
    Will I get into trouble regarding my SharePoint 2010 consumer environment that do not use Claims Based Authentication for web applications in this farm?

    You have to configure Claims based auth on SP2010 server too.
    Hammad Umar

  • Help: consuming an external web service with user name token

    Hello Together!
    I need to consume an external web service secured with WS-UserNameToken. The way, how did I do it:
    1. I generated a web service consumer (proxy) in SE80 from the wsdl file
    2. I created logical port for the consumer in SOAMANAGER
    3. I created security profile in WSSPROFILE with telpmate SET_USERNAME and assigned it to consumer operation in LPCONFIG  (I use LPCONFIG, because I didn't find any way to do it in SOAMANAGER)
    3. I called the web service and got the error back:  session token is missing or invalid or has inspired
    My questions are:
    1. is this possible to consume an external webservice in SAP, which is secured with WS-Usernametoken?
    2. do I need therefore any settings in java stack? do I need java stack in general?
    3. Is this any way to configure the consumer without writing programs, which set header parameter manually?
    4. if the answer on the third question is no, do you have any examples, how to implement session management in report? (I mean sending session id and checking the validaty of id)
    I appriciate any help of you!
    best regards Anna

    Hi,
    it should be possible to use WS-UserNameToken for consuming web service. It should be available on AS BAP 7.0 and higher. This profile should be under category Document authentication. You can try to dump a message send from SAP to see what is going out of SAP. This should be supported in ABAP so you don't need a Java stack. What exactly do you want to configure? Do you want to just set user name and password for that service which will be used for any calls of that proxy?
    Cheers

  • Enable service of objects -workflow overview-workflow log for IDOCS?

    Hi everyone,
    I need to enable service of objects -workflow overview-workflow log for IDOCS. Using object key i know how to go to log.Users need that functionality to be enabled for Idocs.For po and pr I can see so its not parameter settings.I feel its configuration somewhere I dont know where?
    Can someone help?
    Thanks in advance..

    Hi VJ,
       I'm facing the same issue, the workflow overview is not displaying the log from ME52N. But i have delegate my business object. Is there anything need to be done further.
    Thanks & Regards,
    Tina

  • Consume an external web service with an ABAP proxy

    Hello,
    I'm working on creating an ABAP Proxy to consume my first web service.  In searching SCN I haven't found a comprehensive list of steps to complete the process, but I have found information on generating a proxy from a WSDL and creating a logical port.
    My first issue arises when I go to SPROXY to generate a proxy from a WSDL, I see the message 'Local objects only (No Connection to ESR)', and I have no ability to 'create'.  The Enterprise Service Repository seems to be the new name for the Integration Repository, if that helps.  Do I need the ESR installed to create a proxy?
    A follow-on question, assuming I do need the ESR, would be what do I do with it?  It appears to serve the purpose of design for interfaces, messages, and mapping, but I thought that happened when I created a proxy in SPROXY.
    We're on ECC 6.0, with a 702 / 0007 basis release.  I appreciate and light you can shed on the topic.
    Thanks

    ESR is part of the PI system, and it is where all interfaces details are stored.You could create an ABAP Proxy from a pre-defined WDSL yet stored in PI as part of some communication, but you can also import directly a WSDL from a local file or even from a URL.
    ABAP proxy generates a proxy class and a set of abap structures , fields and data elements. Simply by filling the data and call a method in the proxy class (depends of syncrhonization a different method name) you can consume your service. No PI is needed if you use the local option.
    There is a very good Tutorial from Thomas Jung. I'll try to find it.
    http://scn.sap.com/people/thomas.jung/blog/2005/05/13/calling-webservices-from-abap-via-https
    Here you have a lot of tutorials
    Best regards

  • ESA service in CAF : Exception

    I have implemented an ESA service in CAF which has an Application Service with 5 operations.
    All the 5 operations have been tested successfully with the Test UI of CAF.
    Each operation of the Application has also been exposed as a webservice.
    2 webservices already work fine and give proper output when tested using wsnavigator.
    However When I test the 3rd wsdl using wsnavigator I get an exception as follows
    com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method readDisb_R.
         at com.sap.is.cmp.loan.disbursementbl.appsrv.disburseloan.disburseLoanObjectImpl0.readDisb_R(disburseLoanObjectImpl0.java:310)
         at com.sap.is.cmp.loan.disbursementbl.appsrv.disburseloan.disburseLoan_Stub.readDisb_R(disburseLoan_Stub.java:168)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
         at $Proxy172.readDisb_R(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.ClassCastException
         at com.sap.is.cmp.loan.disbursementbl.appsrv.datatypes.loanDisbReqRead_R.fromLocalInstance(loanDisbReqRead_R.java:259)
         at com.sap.is.cmp.loan.disbursementbl.appsrv.disburseloan.disburseLoanBean.readDisb_R(disburseLoanBean.java:229)
         at com.sap.is.cmp.loan.disbursementbl.appsrv.disburseloan.disburseLoanObjectImpl0.readDisb_R(disburseLoanObjectImpl0.java:259)
         ... 32 more
    ; nested exception is:
         java.lang.ClassCastException
    I have tried to debug the service when testing on wsnavigator and have found no propblems in the operation that has been implemented.
    The errors are generated when the output is sent to the client.
    Hope somebody knows and shares how to get the desired output. Any information on the exception will be useful.
    Thanks and Regards,
    Madhusudhan

    Hi Madusudhan,
    You have a ClassCastException at line no. 259
    Caused by: java.lang.ClassCastException
    at com.sap.is.cmp.loan.disbursementbl.appsrv.datatypes.loanDisbReqRead_R.fromLocalInstance(loanDisbReqRead_R.java:259)
    What is the code at this line ? Please check if you have taken care of the casting properly.
    Regards,
    Anish

  • Encapsulating web services in CAF core

    Hi,
    I am trying to call external services namely web services in caf core. I read the earlier posts and i guess I am missing out on something.
    1. what is the difference between encapsulating external service as entity service VS application service. For example, I am trying to call the PurchaseOrderVendorAddress_WSD webservice. It takes vendorID and purchaseorderID as input and returns vendor address. What should I use and why?
    2. I checked out CAF core tutorial. It talks about encapsulating RFC as application service. Is it same for web service? I mean can I assume the same approach is valid for web service
    Many thnx,
    Mayukh

    did you follow the tutorial "81 Using a Web Service as External Service (Service)"?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11669cea-0c01-0010-63b2-b98c35b1b370
    you can't be lost after that. otherwise you're in big trouble my friend...

  • Consuming an external web service with WAS 6.40

    Hi all,
    I know this thread isn’t 100% XI forum related, my apologies for that. However, I believe somebody here has experience with this subject.
    I’m trying to consume an external web service through WAS 6.40 with se80. When I try to create my proxy object <u>“package Choose Create > Enterprise Service / Web Service > Proxy Object > URL type</u>”, I receive an error message (SPRX084) -> <i>During proxy generation, an interface description in WSDL format is fetched from the integration builder or from another source and interpreted. This WSDL document must describe the whole interface correctly.</i>
    I don’t have sure, but it seams something within WSDL object/element. Nevertheless, these external web services are working well with other third party client applications, why SAP WAS can’t take this WSDL?
    Anyone has faced an issue like this one?
    Thanks in advance,
    Ricardo.

    Hi,
    some tools do not generate WSDLs correcty (not with all the standards
    or with obsolete parts) and then in ABAP you cannot generate a proxy from it
    you should be able to see the some more details in disgnosis section
    sometimes you just have to change one or two things in the WSDL
    and it will be ok for WAS but you need to find the exect cause
    of the error - it can be done by debugging
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • How can I show the bookmarks toolbar in Firefox 6 all the time?

    The bookmarks toolbar is hidden by default in Firefox 6, and "view bookmarks toolbar" will only show it until a link is clicked or the tab is changed. How can I display the bookmarks toolbar in Firefox 6 all the time?

  • How to use XRANK operator for partial match comaprison?

    Hi All, I am aware how to use the XRANK operator to boost a result if a managed property equals a specific value. XRANK(cb=400) importance:'1' How would I make a key word query using XRANK which will boost a result if the managed property contains a

  • Failed to resolve JCO destination name 'WD_FLIGHTLIST_RFC_METADATA_DEST' i

    Dear all, When i was running a Wec dynpro Application created with The abap Function Modul BAPI_FLIGHT_GETLIST, a error          "com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_FLIGHTLIST_RFC_M

  • Page cache is clearing when it shouldn't

    I have 2 pages which are like a wizard, you can hit "next" and "previous" to travel between them. They would both hold data, and the second page would have a submit button where data would be pulled from P8 and P9 together. Now for some reason, when

  • Installing illustrator from cd not working

    I have bought adobe Illustrator on cd and copied the contents to dropbox to install on my Mac 10.9 but every time I click install is gives an error. NOT cloud, just cd! Help please