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

Similar Messages

  • Accessing BAPI web services from CAF External Services

    We have wsdl files that corresponds to BAPI calls.  Using CAF, we want to create an external service using those wsdl files and then create an application service which will be in turn used by web dynpro for developing our composites. We did the following steps:
    1. Created a new  Composite Application Service project
    2. Then right click on the External Services, select import, choose Web service.
    3. Select 'Local File System or URL' option. Copy the URL from the wsdl file and pasted the URL in the 'Browse' text field and click Next. Got an error in loading the web service.
    4. Removed the Proxy Server settings in Developer Studio but in vain. Tried all possible combinations with the URL also (such as with and without the wsdl key at the end of the URL and using the 'UDDI or URL' option under the Proxy Definition of the External Services Import and also with the Window => Preferences => Proxy settings).
    5. Since the above options failed, copied the wsdl files to the local drive and then choose that WSDL from the file system. Able to import.
    6. Created the application service and provided the custom code for the request and response.
    7. Registered the external service in the CAF browser -> Administrative tools -> External Service Configuration
    8. Tested the service through the Developer Studio.
    The error I get is: ERROR: IOError while working with the message. Check the nested exception: Connect Refused: connect:
    Any idea on what needs to be done to resolve it?

    authentication is required at design time to read the wsdl from bapis. did you provide username and password when importing the web service.
    you can always add the username and password to the url to see if you can successfully get to the wsdl. Like that http://<webas_abap_servername>:<portnumber>/sap/bc/soap/wsdl11?services=BAPI_PO_CREATE&sap-client=<clientnumber>&sap-user=<username>&sap-password=<password>

  • Access Enterprise Search via ABAP Web Service

    Hello ES experts,
    I am looking for more information on how to access Enterprise Search via ABAP web service QSDispatcher, using processQuery operation. I created a client proxy and need information on structure of input and output parameters (query and query result)
    Thanks, Srdjan

    Hi Srdjan
    You can access the SAP ABAP system by configuring it in the NW ES admin console, any system with version > 4.6C can be integrated in the search engine.
    The UI for NW ES is a WebDynpro via Web Browser (In the future will be integrated in Widgets and Portal, etc) but i'm not sure if you want to use the WS to access the results of the ES searching or if you want to integrate a WS from ABAP as part of the searching area...
    Please clarify.
    Thanks,
    Best Regards,
    Luis

  • CAF external service consumption nwds7.0

    Hi,
    I am trying to consume enterprise service in caf nwds7.0 by importing the backend wsdl of hu2 system.I done external service configurations from caf administrative tools also.Still i am unable test the entity service from service browser.I there any further configurations to be done apart from external service configuration?

    Hi,
    Please go through this article
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6e7e5fc2-0701-0010-8588-86c555d9e8f0&overridelayout=true
    Please check out whether you are missing any configurations.
    Regards,
    Gayathri.

  • Which permissions required for using CAF External Service Configuration?

    Hello,
    I have written an application service which invokes an external RFC. To this end, I have imported the desired RFC as external service and wrapped it as an application service.
    However, when invoking this application service I get an error message that the external service has not been configured. I have learned that I have to use CAF's External Service Configuration tool.
    Unfortunately, this tool complaints that I don't have the required administrator permissions. This happens even when I log in with the administrator account.
    What do I do wrong?
    Best regards
    Alexander

    I just have found the required role. It is role SAP_CAF_ADMIN.

  • NW 04s SP 7: CAF, External Service Configuration Error

    Hi,
    i get an error by calling the <i>Service Registration</i> for External Services (CAF Runtime) in the <i>External Service Configuration</i> Admin Tool.
    At the moment i have n external services deployed. The error appeared when i've called the Service Registration for the first time.
    The installation was finished without any errors.
    The first lines of the exception:
      java.lang.NullPointerException
        at com.sap.caf.mp.mmr.adapter.ServiceDefinitionTypeConverter.convertExternalInterface(ServiceDefinitionTypeConverter.java:507)
        at com.sap.caf.mp.mmr.adapter.MMServiceRetrievalAdapter.getExternalInterfaces(MMServiceRetrievalAdapter.java:547)
    Against the link for the <i>Business Entities</i> in the <i>External Service Configuration</i> works fine.
    Regards
    Wolfgang

    Hi Wolfgang,
    I am getting the same Problem ? Have you got the Solution ?
    Thanks in Advance
    Ashutosh

  • SneakPreview 2004s SP7 CAF External Services - Web Services Problem

    I would like to use our web services in our CAF (Composite Application Services) Project. So I selected External Services and in the popup menu selected Import.
    After filling WSDL location und clicking on Finish Button. I got following Message:
    Cannot load WebService WSDL from URI:
    http://...
    Invalid wsdl.
    WSDL is ok and I have already used it in the Web Dynpro Project SneakPreview SP15. If I copy the show this Link  in the Internet Browser, I see the WSDL.
    Can anybody help???

    Thanks Jan, for your response.
    I still cannot import my WSDL.
    I have just tried my example with the same result
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
         name="T1"
         targetNamespace="http://tempuri.org/T1/wsdl/"
         xmlns:wsdlns="http://tempuri.org/T1/wsdl/"
         xmlns:typens="http://tempuri.org/T1/type/"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:stk="http://schemas.microsoft.com/soap-toolkit/wsdl-extension"
         xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
         xmlns:ref="http://schemas.xmlsoap.org/ws/2002/04/reference/"
         xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns="http://schemas.xmlsoap.org/wsdl/">
         <wsdl:types>
              <xs:schema
                   targetNamespace="http://tempuri.org/T1/type/"
                   xmlns:xs="http://www.w3.org/2001/XMLSchema"               
                   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                   elementFormDefault="qualified">
                   <xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
                   <xs:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
                   <xs:import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>
                   <xs:import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>
              </xs:schema>
         </wsdl:types>
         <wsdl:message name="clsMain.HalloWorld">
         </wsdl:message>
         <wsdl:message name="clsMain.HalloWorldResponse">
         </wsdl:message>
         <wsdl:portType name="clsMainSoapPort">
              <wsdl:operation name="HalloWorld">
                   <wsdl:input message="wsdlns:clsMain.HalloWorld"/>
                   <wsdl:output message="wsdlns:clsMain.HalloWorldResponse"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="clsMainSoapBinding" type="wsdlns:clsMainSoapPort" >
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="HalloWorld">
                   <soap:operation soapAction="http://tempuri.org/T1/action/clsMain.HalloWorld"/>
                   <wsdl:input>
                        <soap:body
                             use="Literal"
                             namespace="http://tempuri.org/T1/message/"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body
                             use="Literal"
                             namespace="http://tempuri.org/T1/message/"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="T1" >
              <wsdl:port name="clsMainSoapPort" binding="wsdlns:clsMainSoapBinding" >
                   <soap:address location="http://DOLEZAL/FEST_WEBS/T1.WSDL"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>
    Message was edited by: Ladislav dolezal

  • CAF external services

    Hi All,
    in a previous version of NWDS the external services could be consumed by creating entity services. In de current version we use, there's no such thing anymore (or not that I can see). How do I consume these external services now? Do I just create an application service of them and add the new operation that combines several services to this application?
    kind regards,
    Pieter

    Hi All,
    in a previous version of NWDS the external services could be consumed by creating entity services. In de current version we use, there's no such thing anymore (or not that I can see). How do I consume these external services now? Do I just create an application service of them and add the new operation that combines several services to this application?
    kind regards,
    Pieter

  • Web Service and CAF Application Services - How to return a table

    Hello,
    I'd like to build a CAF Application Service and expose it as a Web Service. This service should return an array or table which I'd like to display in a Visual Composer model.
    I understand that there're limitations at CAF regarding supported data types.
    Does anyone know how to get a workaround?
    Any information is very appreciated.
    Kind regards
    Stefan

    Hi,
    You can return a list.
    The standard way to do this is you have to create a complex data type for response.
    Configure the cardinality of this data type to 1..n so as to accomodate a list.
    In your implementation add your list to this response message and return the list.
    This waly you can return collections.
    Hope it helps.
    Regards,
    Srinivasan Subbiah

  • Copy Header discounts to Service Items In External Services

    Hi,
    Can any body let me know the following,
    PO is created with mateial as 1st line item and service as 2nd line item.
    Header discount 25% maintained against condition type KR0P
    Two services are maintained in the PO.
    Now please let me know how to have the 25% header discount (maintained at header) for the two services maintained in the PO.
    Regards,
    Sridhar Thota

    HI,
    If the condition type is an header & item condition then it will flow to your PO service line, not sure if you are asking about individual service line item under one PO service line item.  If your service line items have individual pricing determination at service item level then you need to define a condition type for discount in service item pricing procedure.
    There is no direct connection b/w service pricing procedure and claculation schema, pls clarify..
    BR

  • Generate Entity Service from External Service / Web Service (CAF)

    Hi,
    is it possible to generate an Entity Service from an External Service in the CAF-IDE? Or do I need to create each attribute manually which the External Service provides?
    (in worst case by using an api?)
    regards
    Christian

    Hi,
    Unfortunately there is no possibility to create Entity Service based on another service. You have to do this manually for each attribute and method. Sorry ...
    Regards,
      Jan

  • Call external service in a Application service created from ES

    Hi Experts
    I have the follow situation:
    I've modeled a new service in Enterprise Service Builder. This service i'll implement in caf application. In the method create by application i'll call one method of external service.
    I imported this modeled service in Create Web Service Provider option in external package, select the Enterprise Service Repository source option and choice the respective Service Interface.
    In this moment the caf created a new application service, with methods of modeled service. That's all right.
    Now i import a external service of esworkplace. All the step are ok. But the problem is going to next step.
    I need to call this imported service in the method of application service. I know 3 way to do this:
    1. Mapping the external service with this application service. In this case i have a problem - the method of external service is expose as web service, and i don't want this. Just the method of modeled service must be expose.
    2. Create another application service, map the external service with this application service, and create a depency between this application service and the application service created by modeled service. I think this work fine and resolve the problem of expose the method of external service. However i think this isn't a good way to do.
    3. Instantiate the service class of exernal service. From this class i can call the method of external service in application service. But now i have another problem. If i see the implementation of this class, it have a static block which call a URL class, and pass as parameter a wsdl file located in one directory of my computer like
    url = new java.net.URL("file:/D:/SAP7110Workspace.jdi/LocalDevelopment/CRVP/demo.sap.com//ejbmodule/
    _comp/tmp/0/EJB/src/META-INF/xml/ext/rootwsdl_WorkCentreSimpleByPlantQueryResponse_InService.wsdl");
    when execute the application in the server it don't find this file and i give one error.
    I think the best way to do is the 3° way. But why did the caf generate the URL with My computer directory instead of in directory of application? There are some solution to this problem?
    I've change this line manualy, but all the time when i generate the project, i need change this code again.
    Regards
    Marcos

    Hi,
    You may consume external service via JNDI
    Context context = new InitialContext();
    <JNDI OBJECT> local = (<CAST JNDI OBJECT>)context.lookup("<JNDI OBJECT>");
    //Call the method
    If you are using CE 7.11, go to NWA -> Problem Management -> JNDI browser  > ..... -> ObjectName for <JNDI OBJECT>
    - julius

  • Error to import  RFC (ABAP) service in CAF

    I am trying to import a ABAP service  (as an external service) BAPI_USER_GET_DETAIL and getting the following error after selecting  BAPI_USER_GET_DETAIL  checkbox
    cannot load R/3 descriptions.
    Env. -
    NetweSAP NetWeaver Developer Studio Version: 7.0.0
    Please help

    Hi,
    Mmmh, in general case the import mechanism for external services in the CAF perspective works really stable and reliable. So I'm wondering if this is a general problem or does this message occurs only if you use the BAPI_USER_GET_DETAIL?
    Regards,
      Jan

  • RAW import parameters in external service

    Hi all,
    I'm extending an application that has been written by somebody else.
    I need to connect to an RFC using CAF external services.
    In this RFC one of the input parameters (GUID) is of the type RAW. When I import an external service (based on this RFC) into the NWDS. I then add is as a dependencie to my Application service, generate a webservice of my application service, build and deploy the CAF project.
    When I now go the the wsnavigator, open my application service and select the operation I want to test. I fill in the paramters and send submit but the RAW import parameter GUID is not being passed on to my RFC.
    In fact when I look at the SOAP message that is being sent, the GUID parameter is empty (it fills in 'AA==' while I inserted '4A53589C71132123E10000009959C278' as value).
    POST /CRMActivitiesWS2/Config1?style=document HTTP/1.1
    Host: lumnrs61.luminus.int:54200
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Authorization: <value is hidden>
    Content-Length: 416
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <pns:ReadOfferData_R xmlns:pns='urn:CRMActivitiesWS2Vi'>
           <pns:offerGuid>AA==</pns:offerGuid>
           <pns:portalId>FOA_test</pns:portalId>
    </pns:ReadOfferData_R>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I think this has something to do with the conversion of the input field to the RAW dataformat. Does anybody know how I can solve this?
    Kind regards
    Wouter

    Solved on my own...

  • External Service Exception

    Hi All
    I have created an entity service with remote persistensy.I have imported a web service as an external service and i am using this in the entity service.I have configured the external service in the external service configuration(service registry,business entities).Whan i am    testing this entity service in the service browser the fallowing exception is coming.
    com.sap.caf.rt.exception.CAFFindException: Problem in server response: [Unauthorized].
    Caused by: com.sap.caf.rt.exception.DataAccessException: Problem in server response: [Unauthorized].
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.queryWithoutEntityRefs(RemoteDataAccessService.java:859)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.query(RemoteDataAccessService.java:746)
    at com.hcl.xiprcas.besrv.ipentity.IpEntityServiceBean.findByMultipleParameters(IpEntityServiceBean.java:330)
    ... 45 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Problem in server response: [Unauthorized].
    at com.sap.caf.mp.core.data.service.manager.wsdl11.WSDL11ServiceManager.executeOperation(WSDL11ServiceManager.java:240)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:259)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeConsiderSSO(DataServiceFactory.java:1056)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:622)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:511)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.queryWithoutEntityRefs(RemoteDataAccessService.java:838)
    ... 47 more
    Caused by: com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Unauthorized].
    at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:207)
    at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163)
    at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:325)
    at com.sap.caf.mp.core.data.service.manager.wsdl11.WSDL11ServiceManager.executeOperation(WSDL11ServiceManager.java:232)
    ... 52 more
    Can you plz tell me what is the problem?.
    Thanks
    Sampath.G

    It looks like you are not authorized to execute the webservice. Check the webservice authentication settings.
    Peter

Maybe you are looking for

  • I cannot get iTunes 12 (64 bit) to download to my new pc

    I have been trying for a few days to get iTunes 12.01 (64 bit) to download to my new PC.  I have tried in both IE and Chrome  from http://www.apple.com/itunes/download/ and it just takes me to the "Thank You" page without ever starting the download. 

  • IMac random shutdown w/10.6.7 update

    I'm also noticing some weirdness today after installing 6.7 yesterday. My 2006 iMac would not wake up from sleeping last night - requiring a hard reboot. I held the restart button in back down for an unusually long time before the white light in fron

  • How do i get my apps from my iphone 4 to upload to my new iphone 5

    I just bought a new iphone 5.  I am trying to bring all my apps from my iphone 4 to my new phone.  Not sure how to do that.  Any advice?

  • Acrobat 8 printing old version of a file???

    We have an Adobe Acrobat document that was recently changed with a new logo and some extra text on the form.  When a user opens the form with Acrobat 8, the form looks fine, but when you click the Print Button, An OLD version of the file actually ope

  • Cant find and open apps

    I can't find my apps after downloaded it from app store. The weird things is at app store there is an "open" button, bt when i click it i cant open the app too.When i look it at Usage, i found out that it become null. So what can i do?