1 transaction, 2 proxies ?

Hi experts,
is it possible from one transaction 2 trigger 2 different proxies and then 2 different mappings ?
If yes, could you tell me how ?
Many thanks in advance,
Jamal

Hi,
thanks a lot for your replies.
When you say
'For different calls, you can very well use different mappings in PI'
how can this be done technically in PI ? I do not see how to differenciate the messages
Thanks a lot,
Jamal

Similar Messages

  • ApplicationContext-hibernate.xml    con't  load

    My configuration is Spring2.5 netbeans6.0 Tomcat6.0.14 not having any single jar
    when i start my application it gives an error that applicationContext-hibernate.xml
    <code>
    SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/applicationContext_1.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:407)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
    at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:502)
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:595)
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
    ... 38 more
    Caused by: org.xml.sax.SAXParseException: The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)".
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.dom4j.io.SAXReader.read(SAXReader.java:465)
    at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:499)
    </code>
    my applicationContext-hibernate.xml file is here
    <code>
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <!--
    - Application context definition for RoseIndia Login Application on Hibernate.
         -->
    <beans>
         <!-- ========================= RESOURCE DEFINITIONS ========================= -->
         <!-- Configurer that replaces ${...} placeholders with values from a properties file -->
         <!-- (in this case, JDBC-related settings for the dataSource definition below) -->
         <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
              <property name="location"><value>/WEB-INF/jdbc.properties</value></property>
         </bean>
         <!-- Local DataSource that works in any environment -->
         <!-- Note that DriverManagerDataSource does not pool; it is not intended for production -->
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
              <property name="driverClassName"><value>${jdbc.driverClassName}</value></property>
              <property name="url"><value>${jdbc.url}</value></property>
              <property name="username"><value>${jdbc.username}</value></property>
              <property name="password"><value>${jdbc.password}</value></property>
         </bean>
         <!-- JNDI DataSource for J2EE environments -->
         <!-- Hibernate SessionFactory -->
         <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
              <property name="dataSource"><ref local="dataSource"/></property>
              <property name="mappingResources">
              <list>
                   <value>roseindia/dao/hibernate/Login.hbm.xml</value>
              </list>
              </property>
              <property name="hibernateProperties">
                   <props>
                        <prop key="hibernate.dialect">${hibernate.dialect}</prop>
                        <prop key="hibernate.show_sql">true</prop>
                   </props>
              </property>
         </bean>
         <!-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -->
         <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
              <property name="sessionFactory"><ref local="sessionFactory"/></property>
         </bean>
         <!-- ========================= BUSINESS OBJECT DEFINITIONS ========================= -->
         <!--
         Data access object: Hibernate implementation.
    -->
         <bean id="HibernateSpringDaoTarget" class="roseindia.dao.SpringHibernateDAOImpl">
              <property name="sessionFactory"><ref local="sessionFactory"/></property>
         </bean>
         <!--
              - Transactional proxy for Login Application central data access object.
              - Defines specific transaction attributes with "readOnly" markers,
              - which is an optimization that is particularly valuable with Hibernate
              - (to suppress unnecessary flush attempts for read-only operations).
              - Note that in a real-life app with multiple transaction proxies,
              - you will probably want to use parent and child bean definitions
              - as described in the manual, to reduce duplication.
    -->
         <bean id="SpringHibernateDao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
              <property name="transactionManager"><ref local="transactionManager"/></property>
              <property name="target"><ref local="HibernateSpringDaoTarget"/></property>
              <property name="transactionAttributes">
                   <props>
                        <prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
                        <prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
                        <prop key="load*">PROPAGATION_REQUIRED,readOnly</prop>
                        <prop key="store*">PROPAGATION_REQUIRED</prop>
                   </props>
              </property>
         </bean>
         <!-- Email Service-->
         <bean id="mailbean" class="roseindia.web.common.SendMail">
              <property name="strSmtp"><value>mail.waproductsuite.com</value></property>
         </bean>
    </beans>
    </code>

    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    String jdbcURL="jdbc:oracle:thin:@"
    +"192.168.0.96"//jdbcHost
    +":1521"//port
    +":db12"//service name
    //Another format: DriverManager.getConnection("jdbc:oracle:oci8:@","user", "passwd");
    should work normally. If not, try to download a JDBC packag from Oracle site.

  • CAF entity proxies provide Transactional support???

    Hi All,
    We have created entity services, generated proxies so that we can use them in our webdynpro component's. Question here is, does the Generated Proxies of entity services provide Transaction support? or do we need to move all the business logic from webdynpro to CAF Application service?
    Appreciate your time
    Som

    Hi Aliksei,
    Thank you for the reply back.
    Here is the situation:
    We are generating proxy classes for CAF entity objects and using them in WebDynpro for all our custom CRUD operations.
    Is this a good design or move all the CRUD operations to App Service and call it in the webdynpro. What is the exact difference in Updating the CAF Database from WebDynpro (Component controller) and from App Service.
    In what scenario's you use App Service and WebDynpro Component controller with respect to Updating CAF Database.
    Thank you for your time.
    Thanks
    Som

  • Call transaction can be executed in SERVER proxies

    Hi Experts,
    Can any one pls let me know whether we can execute the call transaction in Server side proxies.
    The scenario is File - Proxie - File .
    Regards
    Santosh.

    Hi Sivan,
    You are calling a report in server proxies and from report you can call transactions. So it is possible
    Never tried though, you can try calling it.
    Are you trying to call any BDC?
    Regards
    Suraj

  • Problem in activating the ABAP proxies

    Hi Experts,
        I was following the url below, on how to activate ABAP proxies, How do you activate ABAP Proxies?
    and I came across certain issues.
    I hav made the HTTP connection in R/3 as per the blog and as well as the TCP/IP conections in R/3 keeping in mind the program ID from XI dev server -> sm59 -> LCRSAPRFC and SAPSLDAPI_XID, and in both the TCP/IP connections that I made in R/3 I have applied the Gate way host and Gate way service of the XI development server.
    Then I tried the connection testing in R/3 TCP/IP connections -  LCRSAPRFC and SAPSLDAPI, and both worked successfully.
    Now when I went to SPROXY, of R/3  in order to see my components and nane spaces, [that I have made in the XI dev server[ , to  craete my PROXY, I could ONLY find the
    SAP ABA
    SAP APPL
    SAP BASIS
    SAP HR.
    There are some more standard components and custom software components, in XI DEV server that  I cant see.
    I hav developed several mname spaces in the XI dev server, that I expected to get reflected in the R/3.
    Where am I going wrong? What is the mistake I am doing??
    Points will be awarded.
    Arnab

    Hi Anirban,
        u must tell me, the status, from the below output from SLDCHECK
    Exchange Infrastructure: Test LCR Connection
    RFC ping was successful
    SLD server access settings:
      host name:   demoretail
      port number: 50000
      user       : SLDAPIUSER
    Use transaction SLDAPICUST if you wish to maintain the SLD s
    Launching the SLD GUI in a separate browser window...
    => Verify in the browser GUI that the SLD is in a healthy ru
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code     4
    => Check whether the SLD is running!
    Summary: Connection to SLD does not work
    => Check SLD function and configurations
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_RXD
      gateway host:
    172.26.5.12
      gateway service: sapgw00
    Testing the RFC connection to the SLD java client...
    RFC ping was successful
    Calling function EXCHANGE_PROFILE_GET_PARAMETER
    Retrieving data from the XI Profile...
    Function call terminated sucessfully
    Retrieved value of
    section   = Connections
    parameter = com.sap.aii.ib.server.connect.webas.r3.ashost
    -> value  =
    Summary: Connection to the XI Profile works correctly

  • Unable to see ECC proxies in PI Service Registry

    I am trying to consume ECC proxies in PI service registry but I cannot see any ECC backend proxies in PI. I have gone through several blogs, configuration guides and sdn forums to get this to work but could not. In ECC, if I use SOAMANAGER, I can see my proxy and web service in web service administration but I cannot see it in PI. I have done the following:
    - System Global Settings
    In Service Registry, I have defined proxy class as CO_SERVICES_REGISTRY_FLAT_SI, set to primary, logical port defined as default_port.
    - On ECC WS administration, setup end points and binding.
    - setup ID configuration objects for this scenario (WS to Proxy -> Proxy to WS Synchronous)
    - Proxy creation in ECC also completed.
    - Also checked in WSPARAM settings, same as WS Admin Service Registry.
    - WSPUBLISH - getting error in ECC: RCVR_DETERMINATION.NO_RECEIVER_CASE_BE No receiver could be determined, Error retrieving Services Registry (SR) version information, Error retreiving physical system from Services Registry, Exception raised during physical system publication. Code.
    and in PI getting error:  INTERNAL.PROXY_NOT_ALLOWED_ON_IS Proxy calls are not permitted on sender or receiver side on the IS (client), Error retrieving Services Registry (SR) version information, No Publication possible from Integration Server(IS).
    - Created type H RFC destinations in both ECC and PI.
    Since WSADMIN, WSCONFIG and LPCONFIG have been combined into SOAMANAGER, are there any other settings I have to do as far as ECC communicating with PI Web Service and PI consuming ECC proxies? Did I miss anything here?
    Most of the PI documenation, blogs and guides are outdated for previous versions. We are using SAP EHP 1 for SAP NetWeaver 7.1.
    Thank you!

    Hi Viswa,
    Try to recreate the EEWB project for this...
    Assign business transaction and CUSTOMER_H and with ADD_NEW_FIELDS as the type of ehancement.
    Shud solve ..
    Siva

  • Global transactions in OSB and EJB 2.1

    Hi,
    My team is working in a SOA service based on OSB 11g (11.1.1.5) using DB JCA Adapter and EJB 2.1 over WLS 10g(WLI environment). The logic of the service works in this way:
    1. A table in a database (XE) is polled by the DB Adapter which starts the service (1 row = 1 message).
    2. The message contains a collection of items to be inserted in another Oracle database.
         Once a message/row is picked, and after some steps (logging, validation,etc), there is a for..each action which extracts each item of the collection and executes a service callout action to a business service.
    3. This business service uses EJB protocol to call an EJB (2.1 + WLS Extensions). The EJB is deployed in another domain (WLS 10.3.0/10g and Oracle BEA drivers)  and only executes an store procedure with the parameters based on the message and inserts these values in a table.
    4. Once the for...each finishes, there is a call to another proxy service which marks the message/row as "processed" in the source table. This update is done via DB JCA also.
    5. In case of an error, the error handler of the proxy service calls the proxy service mentioned above to mark the row as "Failed" (in fact there is a retry mechanism, but it's not important for now).
    The service requires to work inside a global transaction. The main requirement is that the collection of items should be processed as "All or None", so basically we're using the options to manage the global transaction. However, the problem is that it's failing to rollback the whole insertion of items when an error is simulated. It only rolls back the last insertion/execution of SP.
    Additionally, the proxy service that should mark the row as FAILED, never updates this one, and the tables stay locked until we modify one of the store procedure in order to avoid the simulated error and commit the transaction.
    The EJB uses WLS extensions with the annotations to "transaction required". The proxy service has the option transaction required also. The database drivers are all XA and we're testing against Oracle11g XE (however, the EJB destiny will be Oracle 8i in production).
    We have tried different alternatives, splitting the logic in different proxies (Proxy services for JCA, Proxy with For Each for EJB, etc), isolating the specific part with the EJB call, without success.
    The security between domains is set as Global Trust.
    Do you have any idea, example or suggestion about this problem? Is EJB really supported in Global Transactions and XA?
    Thanks in advance.

    where do you find the J2EE Connector 1.5 compliant
    Resource Adapter?I wrote the compliant adapter myself. Hey Steve,
    Were you able to find a solution for this problem. I am struggling with the same problem with the RI Beta implementation.
    Sandeep

  • Getting error 'root transaction wanted to commit, but transaction aborted'

    We have a module in our project, which reads data from XML file and merges the data into the database. This merging at one end happens to a SQL Server 2005/SQL Server 2000 datbase. At the other end it happens to a Oracle database. We have a portal application developed in ASP.NET from where, we merge the data.
    When the data to be merged is very huge, we get this message. 'The root transaction wanted to commit, but transaction aborted'. Right now we are getting this message, when we try to merge data on to a oracle database.
    But this problem is very intermittent. It happens only when there is huge amount of data to be inserted to one table.
    As i have mentioned in my post, we use Windows server 2003 operation system with service pack 2. This error does not come when we do the same operation with service pack 1.
    So is it OS dependent?

    Please find the details of the log file.
    DMS_CORE_DAL_DBERROR
    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    at CoreServices.DAL.DataManager.ExecuteNonQueryProc(DBConnection foConn, String fProcName, DOList foParamDOList)
    *** ORA-02291: integrity constraint (ADVTVS.FK_JCARD_JCARD_LAB) violated - parent key not found
    ORA-06512: at "ADVTVS.PKG_SYNC_MERGE_TRNS_SERVICE", line 318
    ORA-06512: at line 1 ---
    Server stack trace:
    at CoreServices.Pipeline.TransactionPipeline.Process(IPipelineable& foPipeLineDataObject, PipelineOperation fiPipelineOprn)
    at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
    at DataSync.MergeData.MergeDataManager.Merge(Int32 fiDealerId)
    at Client.DataSync.cmdMerge_Click(Object sender, EventArgs e)
    DATASYNC_MERGE
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
    at System.EnterpriseServices.Thunk.Callback.DoCallback(Object otp, IMessage msg, IntPtr ctx, Boolean fIsAutoDone, MemberInfo mb, Boolean bHasGit)
    at System.EnterpriseServices.ServicedComponentProxy.CrossCtxInvoke(IMessage reqMsg)
    at System.EnterpriseServices.ServicedComponentProxy.Invoke(IMessage request)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at CoreServices.Pipeline.TransactionPipeline.Process(IPipelineable& foPipeLineDataObject, PipelineOperation fiPipelineOprn)
    at DataSync.MergeData.MergeDataManager.Merge(Int32 fiDealerId) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
    at System.EnterpriseServices.Thunk.Callback.DoCallback(Object otp, IMessage msg, IntPtr ctx, Boolean fIsAutoDone, MemberInfo mb, Boolean bHasGit)
    at System.EnterpriseServices.ServicedComponentProxy.CrossCtxInvoke(IMessage reqMsg)
    at System.EnterpriseServices.ServicedComponentProxy.Invoke(IMessage request)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at CoreServices.Pipeline.TransactionPipeline.Process(IPipelineable& foPipeLineDataObject, PipelineOperation fiPipelineOprn)
    at DataSync.MergeData.MergeDataManager.Merge(Int32 fiDealerId)
    *** The root transaction wanted to commit, but transaction aborted ---
    The ORA codes are ORA-02291 and ORA-06512.
    We are not getting any of these errors, when we merge same data from Windows 2003 server SP1. But if we execute it from SP2, we are getting this error.
    Are there any hotfixes provided by MS to fix this problem.

  • Transaction Codes: Talent Profile, Talent Assessment, Talent Review Meeting

    Hi experts,
    When a user accesses the Talent profile, Talent Assessment and Talent Review Meeting on the Portal does SAP call specific transactions on the backend.
    I would like to find out what are the transaction codes being called(if any) to restrict access to the Talent Profile, Talent Assessment, and Talent Review meeting. I have checked the SAP standard roles for Talent Management to
    get an idea however, P_TCODE= All Transactions.
    Thanks

    >
    Luke Marson wrote:
    > HI Francesco,
    >
    > A number of BAPIs are used in the portal and in STVN SuccessionPlanning. Go to SE37 and check out all of the HRTMC_* functions available (as per Michael's suggestion for SE93). You will see functions to read and write back various data. You might be able to re-write the apps or your own apps, but I'm not sure on the feasability of this.
    >
    > I expect Michael can have further input.
    >
    > Best regards,
    >
    > Luke
    Hi Francesco -
    So Luke is more a technical guy than me, and he already gave some great input.  Here are my thoughts. 
    I think an initial assessment would be that this is a challenging effort.  There are number of BAPIs that could be potentially be used utilized.  However, much of the entire Talent Management space recently developed by SAP was written with ABAP Objects using class / methods.  Exposing these as web services to be used by XI or wrapping the functionality of the class / methods into a custom RFC would require some effort.  
    The link below shows some pro's and con's on ABAP objects. 
    http://help.sap.com/saphelp_nw73/helpdata/en/60/8c94422533c46ae10000000a155106/frameset.htm
    This paragraph really touches on what you would need to do: 
    Classic access through RFC is only possible using function modules. You can generate server-side proxies for ABAP classes using XI and thus provide existing functions as external services in classes. However, function modules are still a better choice in comparison in order to make the functions accessible as a Web service or using RFC.
    So to really know the scope of what you are trying to do, we would need some more specifics.  Are you just wanting to retreive some SAP data and display it on variouis .net screens.  Are you actually trying to execute a process, like succession planning, in a .net application?
    Hope this helps.
    Thanks Mike
    Edited by: Michael L Pappis on Mar 28, 2011 8:11 PM

  • Proxies to jdbc scenario help...!

    Dear All,
    I am very new to XI , can anyone guide me step by step process for
    1. File to webservice scenario via xi
    2. Proxies to jdbc  scenario via xi
    3.IDOC to JDBC scenario via xi
    will be much helpful as i need to complete these processes very soon.
    Thanks in Advance.

    HI,
    Here are the documents:
    Webservice scenario:
    these 3 documents should explain it all,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    troubleshooting SOAP:
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    IDOC and JDBC Scenarios:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    IDOC configuration :
    Refer the help:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Idoc to File:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    This is expalined both the scenarios:
    Please follow the below process for configuration:
    Pre-requisites for Inbound IDoc to R/3 from PI:
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    Writing Stored Procedures-
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    Proxy:
    Client Proxy:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Smarter Approach for coding ABAP Proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    File to Inbound Proxy:
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Debugging Inbound Proxy:
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks and Regards,
    Chirag Gohil

  • Types of Proxies

    Hi Experts,
    Could any one help me in giving the details of Proxies. Types of proxies and use of proxies.
    It would be highly appreciated if anyone  give reply asap.
    Thanks,
    Satheesh

    Hi satheesh reddy  ,
    These r the details regarding proxy :
    Proxy Generation
    Proxy generation converts non-language-specific interface descriptions in WSDL into executable interfaces known as Proxies. Depending on the target programming language, you choose one of the following:
    ·        ABAP proxy generation is part of the SAP Web AS 6.40. ABAP proxy generation enables you to generate proxies to communicate by using the Web service infrastructure and by using SAP Exchange Infrastructure. ABAP proxies that were generated from message interfaces in the Integration Repository (IR) can be used in both infrastructures. This means that if none of the Integration Server services are required for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using the Web service infrastructure instead.
    ·        Java proxy generation in the Integration Builder (Design) generates proxies from message interfaces in the Integration Repository. Java proxy generation packs the proxy objects in a Jar file, which you can save locally. You use the generated classes in J2EE applications on the SAP J2EE Engine.
    You create proxy objects in the development system by using the proxy generation functions. They are transported and shipped by using the tools in the development system. There are separate tools in the Integration Repository
    Introductory Notes
    ABAP proxy generation gets the WSDL description for message interfaces from the Integration Repository (WSDL Web Service Description Language) by using http. In WSDL, data that is transferred using messages is described using XSD (XML Schema Definition Language).
    The Integration Builder does not support the full range of WSDL (for message interfaces) and XSD (for data types) commands; this is not the case for WSDL in the Web service infrastructure, however.
    Use
    You can generate client or server proxies in ABAP to send or receive messages. You generate client proxies from outbound message interfaces and server proxies from inbound message interfaces.
    Procedure
    Generating Proxies By Using Transaction SPROXY
    1. Call transaction SPROXY in the system in which you want to generate a client or server proxy.
    The system displays a navigation tree on the left-hand side of the screen; it has the same structure as the interface maintenance tree in the Integration Builder. The interface objects are ordered according to software component version, namespace and object type (also see: ABAP Proxy Generation).
    If no connection to the Integration Repository exists, the system only displays interface objects in the tree structure for which a proxy exists in the system.
    2. Choose an interface object for which no proxy already exists. To create a proxy for this interface object, double click the context menu Create Proxy.
    3. In the dialog box, specify the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.
    Generating Proxies By Using the Object Navigator (Transaction SE80)
    1.  Call the Object Navigator (transaction SE80) in the system in which you want to generate a client or server proxy. Select a package and call the context menu. Choose Create ® Enterprise Service / Web Service ® Proxy Object.
    2.  In the subsequent dialog window, choose the source of the WSDL document (URL/http destination, local file, UDDI or XI Repository).
    If you choose XI Repository as the source of the WSDL document, the hierarchy of the software component versions in the Integration Repository is displayed in the subsequent window. The interface objects are ordered according to software component version, namespace and object type (also see: ABAP Proxy Generation). Choose an interface object for which no proxy already exists and confirm by choosing Copy.
    3. In the subsequent dialog window, enter the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.
    Result
    To generate proxies, the WSDL description of the message interface is read using HTTP. If no naming conflicts occur during the conversion, you can call the hierarchy of the generated objects from the tab page Structure. The objects are only then saved in the system once you choose Activate. Up to the point of activation, you can save metadata that contains all information for generation and that is managed by the transaction, and continue with generation at a later date.
    These r the web-sites which give a step-by-step solution using proxies :
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/c9/74246d8ad2447799063d39013e9a11/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    These r the blogs from SDN which give a detailed solution using different proxies :
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    **********Please reward points if u find this useful
    cheers,
    gyanaraj

  • Transaction Update Error using ABAP Proxy

    Hi Experts,
    I am facing an issue using ABAP Proxy.
    File is coming from PI to SAP system and it will update the Transaction IE02 using this inbound ABAP Proxy. If records fails then a mail is going to concerned team.
    Issue:
    When File has been sent from PI to SAP through ABAP Prxoy, it shows that record has been updated in the Transaction IE02 but when I checked manually the record, it has not updated the same. But when I test the same record through my ABAP Prox, it updates the record and when I checked it, Reocrd hs been updated.
    Can anybody help me in this case?
    Regards
    Sachin

    Hi Anup,
    Can you please explain me for the same? If I need to put External Commit then how It is working when I running it manually
    Regards
    Sachin

  • 'SPROXY' - Multiple PI Systems connected to one ECC System for ABAP Proxies

    Dear Experts
    I am currently facing an issue when I want to connected multiple PI instances to one ECC client for
    ABAP Proxy purposes.
    In transaction 'SPROXY', in the Enterprise Service Brower, only one PI instance is shown and accessable.
    Can this setting be changed to allow multiple PI systems in this Enterprise Service Browser?
    Thanks for your ideas.
    Mathias

    Hi,
    Check these replies.
    R/3 connected to multiple XI instances
    'SPROXY' - Multiple PI Systems connected to one ECC System for ABAP Proxies
    Multiple XI Instances
    Multiple XI instances or multiple app server
    Thanks,
    Vijaya.
    Edited by: Vijaya Lakshmi Palla on Jun 4, 2008 11:43 AM

  • Four layered package structure for ABAP proxies

    Hi
    I am trying to generate an outbound ( client ) abap proxy in our WAS 640 based ERP system by pointing to a XI message interface on the XI integration repository. I have a single package ZPROXY ( not a main or a structure package ) created in our ERP system to hold the proxy structures ( classes, interfaces ). I have this package assigned to a transport layer ( a common transport layer through which other ABAP objects are to be transported ). Is it really necessary to have a four layer package structures for proxies to be transported and work in the QA/Production system ?

    Hi Sudheer,
    Can you pls clarify what do you mean by 'four level package structure' ?
    Are you referring to the ABAP structures that get created during creating the proxy by SPROXY transaction ? These structures get automatically created. We simply have to write the code using these structures.
    Or do you mean the 'package' which is mandatory to create a transportable ABAP object ? i.e. transport from Development to Staging and then Production.
    Regards,

  • Doubt about proxies implementation

    hi experts i have small doubt about proxies implementation
    1. if we r implementing client proxies, it means sap r/3(proxy)->>xi->>>file
         system.here where we have to execute the SPROXY  transaction. in sap r/3 or
         in the xi server.and the next thing is where we have to write the report program
         to trigger the interface.in sap r/3 or in the xi server.
    2. if we r implementing server proxies, it means File->>xi->>>sap r/3
        (proxy).here where we have to execute the SPROXY  transaction. in sap r/3 or
         in the xi server.
    please clear me
    Regards
    giri

    Sreeram,
    The Integration Server and the client on which you generate the proxies should not be the same. If they are different then yes, you can use another client in your XI box itself to generate proxies and trigger the call to XI.
    If you see this blog by Ravi ( incidentally he is my boss as well ) this is exactly what we have done as well.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    When you say XI, you mean the Client on which the Integration Server is running! XI is basically a R3 instance with more functionality and its own Integration Engine.
    Regards
    Bhavesh

Maybe you are looking for

  • Trying to do a clean re-install on my macbook and

    I got an error that my "drive cannot be cleaned up and to try again"!!!!!! What to do?

  • Magic Mouse - scrolling doesn't work on some web pages

    The scroll function on my Magic Mouse isn't working on some web pages. The main ones it struggles with are news sites (e.g. The Telegraph), or things that regularly update (e.g. BBC Sport live commentaries). When this is a problem the page won't scro

  • Equations palette: how do you change the ? to parentheses?

    Hello, This is the first time I'm using FM9.0 Equations palette. Using trial & error, constructed the required equation, but can't figure out how to replace the question marks that appear as part of the applied delimiter (please refer to attached scr

  • Home sharing apps not possible. Why?

    I cannot see my apps in the device list when connected to itunes. Also when I check my sharing preferences, apps are not listed, so therefore cannot be ticked. I want to home share some of my purchased apps.  Please help.

  • Problem with the new bios 1.9

    I just install that bios on my 645 and damn its mess up My screen keeps on blinking from time to time since i have installed that bios. Anyone know how to fix that or how to put back the old 1.8 bios?