Regd. use of enterprise services : Best approach

Hi Experts,
I have configured a scenario using standard enterprise services,used soamanager of ABAP and tested the services,it works perfectly.
But the issue came with terms of security ,it seems we cannot expose our sap system as url for the services.
need to use PI to connect to the third party...I need suggestions on following
1. Can we connect ABAP of PI to ABAP of SAP ,with some configuration , i dont want to create any additional
    structures is PI apart from the one which i imported.
2.If i set up a soap to proxy(ABAP) then i need to duplicate the structure for source and use the standard ES
   service at proxy receiver, but i want to avoid duplication as it is cumbersome to do for all services.
3.If i create communication /service user i need to give access for some of sap tables  to support the service functionalities.
what is the best approach for exposing services from PI using standard enterprise service.
Any pointer will be appreciated.
Regards,
Srinivas
Edited by: Srinivas on Jul 7, 2010 7:29 PM

Hi
Following is answer of your question:
>(1)How can I search relevant Enterprise services in PI for the SAP R/3 BAPI.
There is no way to look for enterprise service for BAPI, ES are harmonized services based on GDT whereas BAPI is more SAP oriented in datatype definitions, only way is to find out is look into code as many ES are calling BAPI internally. Best way to identify correct ES is business use (like Purchase Order Creation etc)
>(2)If relevant ES is available then what are the steps to be performed?
It depends how you want to use this ES, you can call this ES from outside world (read thirdparty tools, application) and these services can be used as ready-to-use building block for new applications. You must know URL of wsdl and security setting (user/password) to use it with any application. You can call it from ABAP, .Net, Java applications. You can test ES with any SOAP testing tool like WSNavigator or SOAP UI.
>(3)If relevant ES is not availabe then what are the steps to be performed?
You have few options if ES is not available, design of your own by following proper governance model (i.e. PIC process) or you can live with existing BAPI, RFC and convert them into Web Service using webservice wizard available in SE80 and SE37.
Regards,
Gourav

Similar Messages

  • Use of Enterprise Services

    Hello Experts,
    My Scenario is Java Application(Source Data) - SAP PI 7.1 - SAP R/3.
    I have standard R/3 BAPI available for Data posting in SAP R/3 system. This same scenario I can implement by creating and exposing the Web Service in SAP PI system. but here I want to use the Enterprise service(ES) concept which is new for me.
    The following are my queries.
       (1)How can I search relevant Enterprise services in PI for the SAP R/3 BAPI.
       (2)If relevant ES is available then what are the steps to be performed?
       (3)If relevant ES is not availabe then what are the steps to be performed?
    Please suggest me.
    Thanks & Regards
    Jagesh

    Hi
    Following is answer of your question:
    >(1)How can I search relevant Enterprise services in PI for the SAP R/3 BAPI.
    There is no way to look for enterprise service for BAPI, ES are harmonized services based on GDT whereas BAPI is more SAP oriented in datatype definitions, only way is to find out is look into code as many ES are calling BAPI internally. Best way to identify correct ES is business use (like Purchase Order Creation etc)
    >(2)If relevant ES is available then what are the steps to be performed?
    It depends how you want to use this ES, you can call this ES from outside world (read thirdparty tools, application) and these services can be used as ready-to-use building block for new applications. You must know URL of wsdl and security setting (user/password) to use it with any application. You can call it from ABAP, .Net, Java applications. You can test ES with any SOAP testing tool like WSNavigator or SOAP UI.
    >(3)If relevant ES is not availabe then what are the steps to be performed?
    You have few options if ES is not available, design of your own by following proper governance model (i.e. PIC process) or you can live with existing BAPI, RFC and convert them into Web Service using webservice wizard available in SE80 and SE37.
    Regards,
    Gourav

  • ESW: How can I use an enterprise service from ES Workplace?

    Hi All,
    i would have to use the enterprise service "SupplierERPCreateRequest_In" I found in the SAP ES Workplace. But how can I now use the service? I don´t find the Service in SOAMANAGER.
    The corresponding package is installed and in SE80 in Enterprise Service Browser I see the "Service" or Proxy. But in the Enterprise Service Browser appears "Local Objects only (No Connection to ESR)"! Must be activated here anything?
    Has anyone any idea what the problem might be or how should I proceed?
    Regards,
    Bastian

    Hi Gourav,
    thanks for your answer.
    I have looked at the blog, but it´s about XI. From step 2 in the blog, the description is no longer true in my system. The system that I use and where I need the service is SAP ERP ECC 6.0 EHP4, so the latest release.
    Do you have another idea?
    Thanks and Regards,
    Bastian

  • Java Code for using an Enterprise Service?

    Hi,
    I am new to CE , Can some one please provide the code for consuming an Enterprise Service inside my Application Service.
    I have Imprted the Inventory LookUp ES insid emy project, create the default mapping for the same inside an application service, created a method which calls the mapped ES method.
    But I got stuck at this juncture as I dont know how should I recieve the data from the user and through which object also how should I send this data to the ES to recieve the response.
    Please reply ASAP.
    Thanks,
    Manish

    Hi Dipankar,
    i as not aware of the steps which you just mentioned. Here I would like to ask that I should provide the Destination Name as the name of the Application Service or something else.
    Presently I have taken the name of the Aplication Service as the Destination Name and provided the WSDL of the Enterprise Service as the URL.
    And after that I mapped the application service with the Destination Created.
    The implementation code written is :
    public com.sap.xi.appl.global2.InventoryByLocationAndMaterialResponseMessage_SyncType findInventory(java.lang.String id, java.lang.String location) throws com.sap.caf.rt.exception.CAFServiceException {
              com.sap.xi.appl.global2.InventoryByLocationAndMaterialQueryMessage_SyncType request = new InventoryByLocationAndMaterialQueryMessage_SyncType();
              InventoryByLocationAndMaterialQueryMessage_SyncTypeCS1E data = new InventoryByLocationAndMaterialQueryMessage_SyncTypeCS1E();
              Material mat = new Material();
              Location loc = new Location();
              mat.setId(id);
              loc.setId(location);
              List locList = new ArrayList();
              List matList = new ArrayList();
              locList.add(loc);
              matList.add(mat);
              data.setLocation(locList);
              data.setMaterial(matList);
              request.setInventorySelectionByLocationAndMaterial(data);
              com.sap.xi.appl.global2.InventoryByLocationAndMaterialResponseMessage_SyncType response = this.InventoryByLocationAndMaterialQueryResponse_In(request);
              return response;
    I believe that when I test the application service in CAF runtime it will provide the Id and Location when I enter that in the UI to the Application Service and then I can use that to pass the data onto the Enterprise Service.
    Please correct me if I am wrong.
    But now I am getting the following error :
    "com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed "
    The details are :
    Error Details
    com.sap.caf.rt.connectivity.exception.EngineException: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed
    at com.sap.caf.rt.connectivity.ws.WSExecuteManager.executeWS(WSExecuteManager.java:136)
    at com.sap.caf.rt.connectivity.ExecutionManager.executeWS(ExecutionManager.java:126)
    at com.sap.caf.rt.connectivity.ExternalOperationExecutor.execute(ExternalOperationExecutor.java:80)
    at com.sap.caf.rt.connectivity.ExternalOperationExecutor.execute(ExternalOperationExecutor.java:55)
    at com.sap.caf.rt.bol.da.remote.GenericOperationExecutor.execute(GenericOperationExecutor.java:53)
    at com.sap.inventory.modeled.appsrv.ecc_inventory002qr.ECC_INVENTORY002QRBean.InventoryByLocationAndMaterialQueryResponse_In(ECC_INVENTORY002QRBean.java:33)
    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:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext$InvocationContextImpl.proceed(AbstractInvocationContext.java:131)
    at com.sap.caf.rt.interceptors.LogInterceptor.aroundInvoke(LogInterceptor.java:61)
    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:585)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Application.invoke(Interceptors_Application.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at $Proxy418_10002.InventoryByLocationAndMaterialQueryResponse_In(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:585)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.findByDataObject(ServiceWrapper.java:330)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.findByDataObject(CAFServiceAccessBeanImpl.java:230)
    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:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:43)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sap.engine.services.ejb3.runtime.impl.StatefulBMProxyInvocationHandler.invoke(StatefulBMProxyInvocationHandler.java:55)
    at $Proxy123_10002.findByDataObject(Unknown Source)
    at com.sap.caf.rt.ui.esf.BONodeServiceAccess.findBy(BONodeServiceAccess.java:296)
    at com.sap.caf.rt.ui.esf.Query.execute(Query.java:222)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.execute(TableViewCC.java:353)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.execute(InternalTableViewCC.java:181)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.TableViewCV.onActionExcuteQuery(TableViewCV.java:429)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalTableViewCV.wdInvokeEventHandler(InternalTableViewCV.java:342)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1388)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1208)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:145)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:80)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:506)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:526)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:248)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:698)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:230)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:228)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:192)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:92)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:104)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    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:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:884)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getWSDLUrl(DestinationsHelperImpl.java:401)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:222)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:192)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:175)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:160)
    at com.sap.caf.rt.connectivity.ws.WSExecuteManager.executeWS(WSExecuteManager.java:106)
    ... 137 more
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSDLDefinitions(WSQueryImpl.java:509)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:310)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:165)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:873)
    ... 143 more
    Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1"
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSDLDefinitions(WSQueryImpl.java:507)
    ... 146 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1"
    at com.sap.esi.esp.service.server.query.discovery.WSTransportSettingsResolver.resolveEntity(WSTransportSettingsResolver.java:362)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:127)
    ... 149 more
    Close
    -Manish

  • Do we need a SAP PI system to use SAP SRM enterprise services?

    Hi,
    I am working in a project where we need to use some enterprise services like ([Maintain Purchase Request|http://wiki.sdn.sap.com/wiki/display/ESpackages/MaintainPurchaseRequest]) for SAP SRM 7.x. We have an ECC 6 system also in the landscape but the middleware is a non-SAP one. My question is that to be able to use the SRM and Enterprise Services, do we need SAP PI or SAP CE in place. Any help or useful clue/pointers is appreciated.
    Best regards,
    Nilay

    Hi Jesse,
    Please refer to my blog for the details.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/06/13/transfer-of-central-contract-from-srm-to-ecc-using-web-services-without-pi
    Regards,
    Naveen

  • Using Enterprise Services Bundles in PI

    Hi ALL,
    need help in how to use Enterprise Services Bundles in PI.
    if someone worked on this pls give me some idea about this and methods to use this ..
    if there is any best practice in using this Enterprise Services Bundles  ..and i find in some document stating we need to download it from Service Marketplace and import the same into their Enterprise Services repository. can you pls tell me under which segment i can download this ..
    thanks
    Souz

    The SDN home page has good info on ESBundles
    http://www.sdn.sap.com/irj/sdn/explore-es
    Download contnet from SErvic emarketplace
    https://websmp205.sap-ag.de/swdc
    Support Packages and Patches - Entry by Application Group" SAP Content - ESR Content (XI Content)
    Regards,
    Siva Maranani

  • Right Granularity of Enterprise Services in order to be used in User Interf

    Hello,
    i would like to create an aplication based on roadmap component (webdynpro) that uses SAP enterprise services.
    After every step i will issue errors if data is wrong.
    For ES there are operations (ex. Check Sales Order Creation ). What is if this check deliver error, that fields are not filled althou the fiels are intentend to be entered in next steps.
    What does it mean:
    Must i redisign my application so that it is sutable to service granularity?
    If the customer say "no, the application is fine". Am i forced to implement the same checks in user interface although they will be executed via enterprise service after all steps are processed - not nice soluton.
    Does it mean that enterprise service must have many small operations as check to check all my cases, or maybe big check operation must be in some way configurable to ignore some not relavant at current stage checks - a list of fields to check can be provided or ES can deliver all error messages and frontend can delete not relevant.
    What is your expirence with Enterprise Services by using them in UI?
    thanks
    Best regards.
    Paul

    Hi Paul,
    Probably I didn't understood your question correctly but if my understanding is correct then either by check you mean either you are validating user input or you are checking if operation is performed correctly?
    In first case ES are not particularly helpful (however few ES available to validate data against valid data) and you must handle this on UI level.
    In second case ES are designed in such way that they perform "whole" business operation which might contain vairous technical operation, this is required to ensure integrity of data. Usually all ES return log or fault message which contain useful information about error etc which can be handled on frontend side. this is again to give flexibility to application developer to propagate proper user friendly message or trigger error handling procedure.
    Difference between business service is that every ES can be mapped to meaningful business activity or operation and this particular ES execute multiple technical services in single LUW to ensure transactional consistency.
    Please let me know if my understanding is correct or above answer is helpful.
    Regards,
    Gourav

  • How to use Enterprise Services without ESR.

    Hello,
    We use SAP ERP6.0.
    We would like to use SAP Enterprise Services as a evaluation by .NET application.
    We do not have SAP NetWeaver PI and CE now.
    Without ESR (PI and CE) , how do I configure ERP 6.0 to use Enterprise Services?
    Please let me know.
    Best regards,
    Koji Nagai

    Hi,
    ESR is not compulsory for just consuming service.
    First you need to activate and configure webservice.
    Step1: Goto transaction SICF and activate service you want to evaluate. You can find ES under path: /default_host/sap/bc/srt/xip/sap/
    Step 2:Goto transaction: SOAMANAGER and under tab: Application and Scenario communication chose single service administration. Now search for "Service" pattern: service name you selected and activated in SICF field  = Internal name. then go.
    Step 3: you will be able to see your service here, now select service and click on apply selection.
    Step 4: Under the "configuration" tab select "Create service" button. Give any name to "New Service Name" type some description and finally give any name to "New Service Name" and apply setting.
    Step 5: Select authentication type http and save,
    Now under tab "Overview" you can see some url for "Open WSDL document for selected binding" use this url in your .Net application.
    Regards,
    Gourav
    Ps: I always have ESR and all necessary configuration so don't know if required settings available in your system to work this scenario.

  • How to use Enterprises Services Bundles In PI Services Registry

    Hi All,
    i need information regarding How to use Enterprises Services Bundles In PI Services Registry.
    please provide some information. please help me..
    regards,
    jas
    Edited by: jasmines123456789 on Nov 10, 2009 2:42 PM

    Hi,
        Enterprise Services (ES) bundles are collections of enterprise services, grouped by common business scenarios, which enable customers, partners and independent software developers to extend the functionality of the SAP Business Suite.ES bundles help create composite applications using SAP NetWeaver's enterprise services development and modeling tools. In this way, SAP is promoting an evolutionary path to SOA and lowering barriers to overall SOA adoption.
    SAP providing bundles of enterprises for evry industry,if you want to use any enterprise services then you have to read teh documentation for the servcies and how this service can help you to reuse,if you want to provided any extension for the same you can.
    All enterprise services stored in Service Registry,first you have to consume the services fromService Regsitry.Service Registry is the place holders where servies available.
    refer below link how to use Enterprise Service BundleS
    https://wiki.sdn.sap.com/wiki/display/ESpackages/Opportunity+Management
    Regards,
    Raj

  • How to use enterprise service (sap esoa)

    After some basic acknowledge of SAP      ESOA, I have the following puzzles need to be clarified:
    1, Whatu2019s the relation of ES with the traditional functions? For example, there are standard ES for sales order processing, ATP check, etc. Can we use traditional function (i.e., t-code: VA01), while using the enterprise service or service operation to do the ATP check, and in SAP GUI environment?
    2, How to activate or use a service? It that a must or prerequisite to install enhancement package? What is the least SAP ERP version required, ECC or ECC6.0?
    3, As to the vision, can we say the traditional way of SAP module function will as a whole be replaced by enterprise service?
    4, Traditionally, we have IMG to configure the sales order type and properties of that. For enterprise service, where can we do the same?
    The questions above may be somewhat funny, but really confused me a lot. Please kindly help. Thanks.

    have u installed discovery system ..
    it will start by itself in a browser ..
    it has browser based and gui based and ides based...
    it depend how u start

  • How to know the class method behind an enterprise service

    Hi,
    SAP has provided enterprise services for Room booking in Real Estate module. They are even shipping the complete application for a nominal price. But the standard version is not suitable for our client requirement so they want to develop this application inhouse.
    Now my question is:  I know the enterprise services used in this application. How to know the implementing methods behind these enterprise services ?
    If possible suggest which approach will be a better option for the inhouse development.
    1. Webdynpro ABAP and use directly methods behind the enterprise services.
    2. Webdynpro ABAP and create client proxy class for the enterprise services.
    3. Webdynpro JAVA and use the enterprise services.
    4. Using visual composer modelling the application.
    Please suggest the best alternative.
    Best Regards,
    Aleem Mohiuddin.

    Hi
    They are even shipping the complete application for a nominal price. But the standard version is not suitable for our client requirement so they want to develop this application inhouse.
    I assume you are talking about xApps.
    How to know the implementing methods behind these enterprise services ?
    In sproxy transaction you can search service and then you can see class and method implemented behind that particular service.
    1. Webdynpro ABAP and use directly methods behind the enterprise services.
    In my opinion not recommended to bypass ES and use method behind it.
    2. Webdynpro ABAP and create client proxy class for the enterprise services.
    Not sure why you want to create proxy of ES.
    3. Webdynpro JAVA and use the enterprise services.
    4. Using visual composer modelling the application.
    You can use either Webdynpro (ABAP or Java) or VC to model your application which consume ES in backend. Both options are good, you can chose Java or ABAP flavor of dynpro based on skill available in team. VC is very effective in rapid modelling and can be used in protyping or in development of complete application.
    Regards,
    Gourav

  • Access to Enterprise Services Repository (ESR)

    Hello, how can I access an ESR from a simple java console without having to use the Enterprise Services Builder?
    - Is there an API available?
    - Can somebody point me to a "best practice" for working with the ESR by using Java?
    Thx a lot!

    Hallo
      In the SOA world , there are two components which are critical and they define how one access the services.
      They are:
          1. Registry
          2. Repository
      Registry is like a yellow pages, it only contains the pointer to the actual service artifact (service artifact can be a WSDL file or service policies, metadata etc). It does not physically hold these service artifacts. It only contains the pointers. Normally all the registries are implemented as UDDI complaint.
      Repository is place where you store all the knowledge relevant to a particular service like WSDL, Metadat, policies etc.
      The recommended approach is normally access the registry(Using standard UDDI api's) and get a pointer to repository on how to access and execute.
    In SAP World, they have registry implemented as UDDI complaint and ESR is an extension of XI Integrattion Repository. ESR is only a design time component, it's not a runtime/execution component.
      So accessing a service in the repository has two ways
        - One is Registry way
         or
        - Traditional XI way
    Hope it helps
    Best Regards
    Sreekanth
    I

  • Enterprise Services Bundles in PI

    Hi ALL,
    need help in how to use Enterprise Services Bundles in PI.
    if someone worked on this pls give me some idea about this and methods to use this ..
    if there is any best practice in using this Enterprise Services Bundles ..and i find in some document stating we need to download it from Service Marketplace and import the same into their Enterprise Services repository. can you pls tell me under which segment i can download this ..
    thanks
    Souz

    LO,
    For example for SAP CRM bundles,
    go to htttp://service.sap.com/swdc
    Support Packages and Patches - Entry by Application Group" SAP Application Components" SAP CRM" SAP CRM 7.0 / NW7.01
    Select XI Content and download  XI CONTENT ESM CRM 7.0.
    Then you go to ESR in SAP PI and you import it.
    Regards, Gilles.

  • Import Enterprise Service into Repository and Enhance Service

    Hi experts.
    We've activated with transaction SOAMANAGER a enterprise service discovered in ENTERPRISE SERVICE WORKPLACE in SAP BACKEND.
    In SAP PI we created a external definition from WSDL definition and we've developed a SOAP to SOAP scenario where SOAP receiver is pointing  to this service. Everytring is working fine but I have some doubts.
    1. Is that the best way to proceed? Should I have to import metadata in someway from enterprise service workplace into repository and not create a external definition from import wsdl retrive in ENTERPRISE SERVICE WORKPLACE?
    2. Now we have a new requriment and we have to add to a new field into response message. So we need to enhance the enterprise service. How we can get that?
    Thanks a lot.
    Regards.

    Hi.
    We're using 7.11.
    First question resolved. In this guide is explained how to enhance a standard enterprise service:
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d?QuickLink=index&overridelayout=true]
    One of the steps is create a enhanced data type from original data type and then import this enhanced data type to backend with SPROXY transaction. Then you can enhance the standard code with BADIs. But my question is, how I import to SAP PI repository the metadata of a standard enterprise service (data types, message types, service interface). I'm using the enterprise service SupplierERPBasicDataByElementsQueryResponse_In.
    [http://esworkplace.sap.com/socoview%28bD1lbiZjPTAwMSZkPW1pbg==%29/render.asp?id=E84CA2C09A8411DD2B8D000F20FCB6A9&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=]
    Regards.
    Thank u so much.
    Edited by: Christian  Abad Chico on Feb 21, 2012 9:03 AM

  • XML Deserialization error while consuming Enterprise service in wd java..

    Hello,
    I am trying to build 2 webdynpro java webdynpro applications which consumes enterprise service for purchase order and another application for Busines partner.
    While i was able to successfully consume the PO service in webdynpro java and get the desired output for PO..i get XML Deserialization error while running appliation for Business Partner..
    These are the details/steps i followed for the Business Partner application:
    1. After creating the model using the enterprise service, i created a service controller from the model to the component controller..
    2. Out of many inputs/output attributes during mapping from model to component controller. i further mapped the context from CC to ViewC.
    3. In the wdDoInit() method, i added the follwing code:
        BPCreate model1 = new BPCreate();
        Request_BusinessPartnerERPCreateRequestConfirmation_In RequestC = new  Request_BusinessPartnerERPCreateRequestConfirmation_In(model1);
        BPERPCrteReqMsg_S CreateMessage = new BPERPCrteReqMsg_S(model1);
        BPERPCrteReq_SBP Cpartner = new BPERPCrteReq_SBP(model1);
    String Category = new String();
        String lf = new String();
        Cpartner.setInternalID(new String());
        Cpartner.setNumberRangeIntervalBusinessPartnerGroupCode(new String());
        Cpartner.setLifeCycleStatusCode(lf);
        Cpartner.setCategoryCode(Category);   
        CreateMessage.setBusinessPartner(Cpartner);
        RequestC.setBusinessPartnerERPCreateRequestMessage_Sync(CreateMessage);
        wdContext.nodeBusinessPartnerERPCreateRequestMessage_Sync().bind(CreateMessage);
    4. When i comment this code and run the application, the aplication comes up but the input fields are non-editable..
    5. If i place this code in wdDoInit() method, i get the Deserialization error..
    Any idea about why this error occurs and which areas in the application can lead to these errors?
    I checked that the service runs fine in soamanager.
    Thanks, JVR

    Hi Kishore,
    This error is majorly because while executing this Webdynpro application you are not entering all the mandatory fileds of WS.
    Please try to execute this WS from WS-Navigator, check which fileds are mandatory and then
    appropriately instantiate it in wdDoInit and pass all the fields required.
    Regards,
    Vaibhav Modi.

Maybe you are looking for

  • Reg: Reconcilation Account Types

    HI Guru's, In Standard SAP how many  Reconcilation Account Types are available... regards JK

  • Php sql image editor - help with submit buttons!

    Hi, I have recently setup a website for my real-estate company, with a makeshift CMS behind it for my staff to use when updating properties. I have a slideshow on my site for each property, which is populated through sql blobs (I know alot of people

  • Feed problems with iTunes

    Hi everyone, This is my first post. I have a podcast that I submitted to iTunes yesterday. I got a confirmation from them this afternoon saying it had been accepted, and it appeard on the store fine. I subscribed to it and episode was playing perfect

  • Fetch the number of users in bulk request

    Hi All, We are working on OIM 11gR1. While raising request "Modify User", when we are submitting the request with multiple users, how can we fetch the number of users selected to be modified in java code? Regards, Aparna

  • [svn] 1378: Fixed some recently introduced mxunit databinding failures when

    Revision: 1378 Author: [email protected] Date: 2008-04-24 07:15:10 -0700 (Thu, 24 Apr 2008) Log Message: Fixed some recently introduced mxunit databinding failures when -generate-abstract-syntax-tree is turned on. checkintests Passed: YES Needs QA: N