Service Implementation methods in SEGW Transaction

Hi Experts,
I have created a project using SAP NetWeaver Gateway Service. In service implementation node, there is five methods. In this section, I have faced problems and have confusion. I am trying to explain my problems in below -
1. What are purpose for every individual method? In which requirement, which method I need to implement ?
2. Suppose I have implemented all five methods individually and I want to test the update method. How to execute update method and get_entity_set method in browser?
Kindly provide the details for above problems.
Thanks in Advanced,
Regards,
Arindam Samanta

Hi Arindam,
you can refer my blog Let’s code CRUDQ and Function Import operations in OData service! where I explained purpose of individual method and its implementation.
Regards,
Chandra

Similar Messages

  • "No service implementation available" with adhoc template in 1.3

    Hello
    I'm trying to use the adhoc template available since 1.3, using "X" global variables for connection name, system, query name and query type ...
    And I systematically get the error message :
    "No service implementation available"
    query could not be loaded
    I know that some have faced this issue and that it's known from many specialists here...
    - I've checked that everything is OK when I don't use the variables and execute the adhoc template app as a standard one (incl. the DSource, everything works well).
    - I've also checked that the olap connection language was not saved (it solved most of the cases described in the community)
    But I still have it.
    Any idea?
    Thanks a lot in advance
    Best Regards

    Hello Karol
    Thanks a lot for your answer.
    In fact it all has to do with events order : datasource manually assigned in designer will be initialized before X parameters evaluation, so if this datasource is an inexisting one, I'll get an error message before X parameters evaluation.
    Understood!
    It's not a problem to manually assign the datasource in designer.
    By the way, if you refer to Michael Howles "making-adhoc-analysis-template-images-and-css-work" document, you have to manually set at least the datasource connection, whether or not it is replaced at run time by XSYSTEM parameter, to make the template work on BI platform.
    So it works with a manually assigned query, as soon as this query exists : OK it's useless in case of X parameters usage, as this query will be initialized and immediately replaced by the one defined in the XQUERY parameter, but it works. It was not working for me (no effect from X parameters) because the manually assigned query was wrong and execution was some kinda stopped after the error message.
    Question)
    Finally, this template doesn't work for me (same error message : no service implementation available) if I use the system alias in the XSYSTEM parameter (for example "B73"). It works only if I use the cuid of the OLAP connection defined in the CMC (...&XSYSTEM=cuid:AUoUxgljSKNFkFeselrOJ1Q&XQUERY=DSTUDIO_DASH_4&XTYPE=BW). When I look at the adhoc template start up script :
    DS_1.assignDataSource(XSYSTEM, DataSourceType.QUERY, XQUERY);
    the assigndatasource method first parameter is supposed to be set with that kind of cuid : even if the contextual help describes a "Q99" parameter as an example - i.e. the connection name - in fact it doesn't accept this "name" format ; furthermore, using the wizard leads to a cuid anyway!
    DS_1.assignDataSource("cuid:AUoUxgljSKNFkFeselrOJ1Q", DataSourceType.QUERY, "DSTUDIO_DASH_4");
    I guess it's not normal, because both contextual help, documentation and tutorial (where "HBW" is used as XSYSTEM parameter) would then be wrong, and because this template would not be user friendly at all, if cuid were mandatory, as no one knows them by heart.
    So where did I go wrong? Do you have any idea why I can't use connection alias ?
    Thanks in advance,
    Regards
    Rémi
    DS 1.3 SP0, BI Platform

  • Web Services and method overloading

    I have a number of web services which was implemented with AXIS. These services uses method overloading which
    seems to be a problem in JDeveloper (9 as well as 10 preview) JDeveloper simply won't accept the wsdl, and wont
    regenerate the web service because it doesn't support method overloading. Does anyone have a solution to this
    problem or know if it is planned to be fix'ed in the future?
    thanks
    Claus

    JAXRPC spec does not require webservice runtime to handle method overloading.
    What about creating a wrapper for the SEI to make each method name unique?

  • Web Service Implementation Heavily Based on The Singleton Pattern

    Dear all
    I have recently joined a project that is 2/3 through development of a medium sized application providing synchronous and asynchronous implementations for a number of Use Cases exposed as Web Services. The design is one that I have not come across before and am keen to understand.
    Web Service calls enter the application through a singleton, which in other respects is a POJO. This class manages a number of instance variable references to other classes responsible for implementing each Web Service method, including data access using Hibernate. Since the top level singleton class is, well, a singleton, I understand this to mean that all of the other classes maintained as instance variables will themselves only ever have one object instantiated (assuming of course that no other thread of execution instantiates them except our singleton WS entry point). To my way of thinking this turns the whole of the Web Service implementation into a kind of singleton application. This strikes me as a procedural programming idiom that happens to be implemented using Java, since Objects with state are not being used. I have not yet asked the question "why?" of my new colleagues but I would like to ask you what the consequences of this design are likely to be. Particularly considering that this application will be expected to handle concurrent servicing of Web Service requests - and so be thread-safe. Can it be thread safe? Are there likely performance implications? Forgive my ignorance is what I describe known as a Singleton Web Service?
    Regards
    David

    Web Service calls enter the application through a
    singleton, which in other respects is a POJO. I'm confused about this sentence. Is the application somehow separate from the web service? Is the application acting as a service to this web service? How is the application being hosted? Does it run in a container as well?
    This
    class manages a number of instance variable
    references to other classes responsible for
    implementing each Web Service method, including data
    access using Hibernate. If all the references are stateless, preferably interfaced-based, you aren't likely to have thread issues.
    Since the top level
    singleton class is, well, a singleton, I understand
    this to mean that all of the other classes maintained
    as instance variables will themselves only ever have
    one object instantiated (assuming of course that no
    other thread of execution instantiates them except
    our singleton WS entry point). To my way of thinking
    this turns the whole of the Web Service
    implementation into a kind of singleton application.You keep using web service and application. Are we just talking about a web service implementation here?
    This strikes me as a procedural programming idiom
    that happens to be implemented using Java, since
    Objects with state are not being used. You are correct, sir. If services are stateless, and they should be, then they aren't exactly rich objects with state and behavior. It's very procedural, indeed.
    I have not
    yet asked the question "why?" of my new colleagues
    but I would like to ask you what the consequences of
    this design are likely to be. Particularly
    considering that this application will be expected
    to handle concurrent servicing of Web Service
    requests - and so be thread-safe. Can it be thread
    safe? If the web service is indeed stateless, then it should be thread-safe.
    Are there likely performance implications?Maybe. Best to measure if those arise to see if the web service is the cause.
    Forgive my ignorance is what I describe known as a
    Singleton Web Service?I don't know if it's been given a pattern name. If it's a Singleton, then that's true. If it's a service, that applies. If it's deployed on the web, I'd say the label fits.
    %

  • Method annotated with transaction "REQUIRES_NEW" always hit ConcurrentAccessTimeoutException

    Hi all, i have a stateful session bean where the transaction set in the class level is "REQUIRED", inside the session bean there is a public method which annotated with transaction "REQUIRES_NEW". According to Java spec, by right when reach that method, the existing transaction will be suspended and create with a new one. However every time calling that method i will get ConcurrentAccessTimeoutException, I wonder why that could happened? Any idea?
    I'm using JBoss AS7.1.1.Final + seam 2.3.0.Final + EJB 3.1, below is the exception stacktrace:
    11:03:01,095 ERROR [org.jboss.ejb3.invocation] (http--10.3.10.211-28927-1) JBAS014134: EJB Invocation failed on component TestManagerBean for method public abstract boolean com.test.session.TestManager.validateUniqueName(com.test.entity.TestEntity,java.lang.String): javax.ejb.ConcurrentAccessTimeoutException: JBAS014360: EJB 3.1 FR 4.3.14.1 concurrent access timeout on org.jboss.invocation.InterceptorContext@212a34e6 - could not obtain lock within 5000 MILLISECONDS
            at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:117) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:66) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:328) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:192) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ejb3.component.stateful.StatefulComponentIdInterceptor.processInvocation(StatefulComponentIdInterceptor.java:52) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
            at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
            at com.test.session.TestManager$$$view15.validateUniqueName(Unknown Source) [test.jar:]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09]
            at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09]
            at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:43) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.javassist.tmp.java.lang.Object_$$_javassist_seam_15.validateUniqueName(Object_$$_javassist_seam_15.java)
            at com.test.validation.TestValidatorManager.validate(TestValidatorManager.java:65) [test.jar:]
            at javax.faces.component.UIInput.validateValue(UIInput.java:1153) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIInput.validate(UIInput.java:971) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIInput.executeValidate(UIInput.java:1237) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIInput.processValidators(UIInput.java:702) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:55) [richfaces-core-impl-4.3.2.Final.jar:4.3.2.Final]
            at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321) [richfaces-core-impl-4.3.2.Final.jar:4.3.2.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1612) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at org.richfaces.component.AbstractTogglePanel.visitTree(AbstractTogglePanel.java:924) [richfaces-components-ui-4.3.2.Final.jar:4.3.2.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIForm.visitTree(UIForm.java:371) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at org.richfaces.component.AbstractTogglePanel.visitTree(AbstractTogglePanel.java:924) [richfaces-components-ui-4.3.2.Final.jar:4.3.2.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIForm.visitTree(UIForm.java:362) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:278) [richfaces-core-impl-4.3.2.Final.jar:4.3.2.Final]
            at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:258) [richfaces-core-impl-4.3.2.Final.jar:4.3.2.Final]
            at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:215) [richfaces-core-impl-4.3.2.Final.jar:4.3.2.Final]
            at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1162) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76) [jsf-impl-2.1.21-jbossorg-1.jar:]
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.21-jbossorg-1.jar:]
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.21-jbossorg-1.jar:]
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.1.21.Final.jar:2.1.21.Final]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
            at com.test.server.TestFilter.doFilter(TestFilter.java:54) [test.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.3.0.Final.jar:2.3.0.Final]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
            at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
            at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
            at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]

    I forgot : when i try to shut the server down i get the message :
    Shutting down...
    Error serializing bean: Deadlock detected, timing out call after 15 seconds wait for transaction [Transaction d9:fa:4f:b6:ff:ff:ff:ff:4a:0:0:0:0:0:0:0:0:4b:0:ec:6d:ce:c0:16]
    Error serializing bean: Deadlock detected, timing out call after 15 seconds wait for transaction [Transaction d9:fa:4f:b6:ff:ff:ff:ff:4c:0:0:0:0:0:0:0:0:4d:0:ec:6d:d2:d9:d2]
    Error serializing bean: Deadlock detected, timing out call after 15 seconds wait for transaction [Transaction d9:fa:4f:b6:ff:ff:ff:ff:4e:0:0:0:0:0:0:0:0:4f:0:ec:6d:d4:21:a3]
    and it doesn't shutdown.

  • J2EE service implementation

    Hi,
    having the portal service implementation from earier times in mind and
    look for a way to write a backgroung job, which will be started when the webas instance is started.
    Therefore each portal service implements the start() method.
    Does the webas provide possibilities to write J2EE services?
    Thanks,
    Jens

    for CE solved by using jobs...
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/2da75e13363f0ae10000000a114a6b/frameset.htm

  • Session method and call transaction methos which one is the sap recomonded

    hi
    PLease give me the answer to these questions.
    session method and call transaction methos which one is the sap recomonded why .
    2) if we want to maintain BDC program in all the systems.wt to d0

    Hi Revethi,
    Here is the difference between the Session and Call Transaction method.
         Session
    Session method supports both small amount of data aswell as large amount of data
    2) data processing is asynchronus and data updation is synchronus.
    3) it process multiple apllication while perfomaning validations.
    4) in session method data will be updated in data base only after processing session only.
    5) system provide by default logfile for handling error records.
    6) it supports both foreground aswell as background process
    in bdc we use FM ... bdc_open_group " for creating Session
    bdc_insert " adding transaction and bdcdata table for updating database
    bdc_close_group " for closing Session
          Call Transaction
    Call transaction exclusively for small amout of data
    2) it supports only one apllication while perfoming validations
    3) there is no default logfile, We can explicitly provide logic for creating logfile for handling error records.
    we can create logfile by using structure....BDCMSGCOLL
    4) it doesn't support background processing.
    5) data processing is synchronous and Data updation is Synchronous( default), in
    this method also supports daya updation in asynchronus process also.
    Syntax:
    Call transaction <transaction-name> using BDCDATA
    mode <A/N/E> update <L/A/S>
    messages into BDCMSGCOLL.

  • Not able to get current user in PCD Filter factory implementation method

    hi all,
      In the  PCD Filter factory implementation method . i am using the following code
    public Object getObjectInstance(Object arg0, Name arg1, Context arg2, Hashtable env)
         throws Exception
              if (Constants.ASPECT_NAVIGATION.equals(env.get(Constants.REQUESTED_ASPECT)))
              IUser user = (IUser) env.get(IPcdContext.SECURITY_PRINCIPAL);
              String department="null";
              if (user != null)
                 department=user.getDepartment();
                   if ((department != null) && (!department.equals("")))
              filterExpression = "(" + FilterDepartmentService.Department_ATTRIBUTE_KEY + "=" + department + ")";                             
              return filterExpression;
    but i cannot able to get the current user. how to get the current user in the above method..
    Regards,
    Shanthakumar.

    Hi,
      First print the output for env.get(IPcdContext.SECURITY_PRINCIPAL);
    If it returns null, set it from the request object first (from the method where Hashtable is declared and request obj is available) and then use it in this getObjectInstance method.
    env.put(IPcdContext.SECURITY_PRINCIPAL, request.getUser());
    Regards,
    Harini S

  • Calling an implemented method from an external class.

    Hey guys...
    I'm writing a package to be put into a program I'm writing for a project (for Uni), but I also want to use the package in other programs.
    Basically, the package will return a JScrollPane that can be put into any JFrame or JPanel or whatever.
    It draws boxes on the JScrollPane in different colours and locations depending on what information is passed to it (kind of like iCal or Microsoft Outlook Calendar), and is to be used for a Resource Allocation Program that requires drag and drop of boxes for moving bookings around etc.
    http://www.pixel2.com.au/ethos/class_diagram.png
    This is a copy of the class diagram for the relevant classes. ViewFrame is the class that instantiates the JScrollPane (AllocationTable). It implements the AllocationInterface to implement methods such as moveAllocation() newAllocation() etc.
    BookingPanel is the content pane for the JScrollPane. AllocatedBox is the individual bookings, or boxes that are painted onto the BookingPanel.
    BookingPanel implements ActionListener, MouseListener and MouseMotionListener, which enables drag and drop functionality.
    What I want to do, is when mouseReleased() is called by dropping a box, call the method moveAllocation() in ViewFrame to make the changes to the database to move the booking around.
    I don't know how to access that from BookingPanel as the name of ViewFrame will change obviously for different programs.
    If you could help me out, that would be great!
    If you need anything else explained, please let me know.
    Thanks,
    Ryan.

    LeRyan wrote:
    Hey guys...
    I'm writing a package to be put into a program I'm writing for a project (for Uni), but I also want to use the package in other programs.
    Basically, the package will return a JScrollPane that can be put into any JFrame or JPanel or whatever.I think you have some terminology issues that might stand in your way of getting help or understanding the issues. A Package is a grouping of classes, so a package doesn't return anything...
    It draws boxes on the JScrollPane in different colours and locations depending on what information is passed to it (kind of like iCal or Microsoft Outlook Calendar), and is to be used for a Resource Allocation Program that requires drag and drop of boxes for moving bookings around etc.So from your description of the function of this thing, I think you mean a class - some sort of JComponent?
    >
    http://www.pixel2.com.au/ethos/class_diagram.png
    This is a copy of the class diagram for the relevant classes. ViewFrame is the class that instantiates the JScrollPane (AllocationTable). It implements the AllocationInterface to implement methods such as moveAllocation() newAllocation() etc.
    BookingPanel is the content pane for the JScrollPane. AllocatedBox is the individual bookings, or boxes that are painted onto the BookingPanel.
    BookingPanel implements ActionListener, MouseListener and MouseMotionListener, which enables drag and drop functionality.
    What I want to do, is when mouseReleased() is called by dropping a box, call the method moveAllocation() in ViewFrame to make the changes to the database to move the booking around.
    I don't know how to access that from BookingPanel as the name of ViewFrame will change obviously for different programs.
    If I follow, and I am not sure that I do - you want a reference to the ViewFrame in the BookingPanel. So either on construction of the BookingPanel via a parameter in the constructor, or as a separate step via a setter, place a reference to the ViewFrame in BookingPanel. Then when you call mouseReleased you can call moveAllocation through that reference.
    If you could help me out, that would be great!
    If you need anything else explained, please let me know.
    Thanks,
    Ryan.

  • SSIS Not Detecting Input Service or Method from WSDL File

    I have a WSDL file saved locally (first downloaded from a developer kit, which instructs to save it locally and NOT download it from a public URL), and I'm trying to use it in a Web Service Task in SSIS (2008 R2 Enterprise Edition). I'm pointing to the local
    file in the Web Service Task Editor (General tab). The HTTP Connection is pointing to a URL that has had a successful test connection in the HTTP Connection Manager.
    However, the Input tab dropdown menus for selecting Service and Method are blank. I'm not getting any errors about the WSDL file itself. It looks to be well-formed and valid. I'm not sure why SSIS isn't detecting the services and methods from the WSDL document.
    I tried saving a different WSDL document locally from
    http://graphical.weather.gov, and that worked in a different Web Service Task. I'm guessing there's something wrong with the structure of the WSDL. I saw this
    similar post that makes me think this is indeed the case. 
    The WSDL was accessed with account credentials, so I've redacted identifying information in the code below:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="Service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:error="http://www.[redacted].com/error" xmlns:co="http://www.[redacted].com/co" xmlns:srv="http://www.[redacted].com/srv" xmlns:tns="http://www.[redacted].com/tns" targetNamespace="http://www.[redacted].com/tns">
    <wsdl:types>
    <xsd:schema>
    <xsd:import namespace="http://www.[redacted].com/XMLSchema/1" schemaLocation="1.xsd"/>
    <xsd:import namespace="http://www.[redacted].com/XMLSchema/2" schemaLocation="2.xsd"/>
    <xsd:import namespace="http://www.[redacted].com/XMLSchema/3" schemaLocation="3.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="ServiceRequestMessage">
    <wsdl:part name="Body" element="srv:ServiceRequest"/>
    <wsdl:part name="security" element="co:security"/>
    </wsdl:message>
    <wsdl:message name="ServiceResponseMessage">
    <wsdl:part name="Body" element="srv:ServiceResponse"/>
    </wsdl:message>
    <wsdl:message name="ServiceErrorMessage">
    <wsdl:part name="ServiceError" element="error:Errors"/>
    </wsdl:message>
    <wsdl:portType name="ServicePortType">
    <wsdl:operation name="ProcessService">
    <wsdl:input name="ServiceRequest" message="tns:ServiceRequestMessage"/>
    <wsdl:output name="ServiceResponse" message="tns:ServiceResponseMessage"/>
    <wsdl:fault name="ServiceError" message="tns:ServiceErrorMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ServiceBinding" type="tns:ServicePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="ProcessService">
    <soap:operation soapAction="http://soap.[redacted].com/binding" style="document"/>
    <wsdl:input name="ServiceRequest">
    <soap:body parts="Body" use="literal"/>
    <soap:header message="tns:ServiceRequestMessage" part="security" use="literal">
    <soap:headerfault message="tns:ServiceErrorMessage" part="ServiceError" use="literal"/>
    </soap:header>
    </wsdl:input>
    <wsdl:output name="ServiceResponse">
    <soap:body parts="Body" use="literal"/>
    </wsdl:output>
    <wsdl:fault name="ServiceError">
    <soap:fault name="ServiceError" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ServiceService">
    <wsdl:port name="ServicePort" binding="tns:ServiceBinding">
    <soap:address location="https://ws.[redacted].com/service"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Is there anything in this WSDL that SSIS does not support? Or am I just missing something simple? Thanks.

    Hi, you may want to walk through the following threads:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/01/28/consuming-web-services-in-ssis-script-task.aspx
    http://stackoverflow.com/questions/21596429/using-https-wsdl-in-visual-studio-ssis
    http://www.bidn.com/blogs/BillBrannen/bidn-blog/619/ssis-web-service-task-step-by-step
    Regards, Leo

  • Complex data type to application service create method(CRUD)(Urgent)

    Hi Experts,
    I have created an entity service with remote persistency(Web service).i am mapping the entity service CRUD methodes to web service methodes and i am calling these CRUD methodes form the corresponding applicaion service CRUD methodes.With out complex data types both sevices are working  fine.I have tested them in the service browser.
    Later I have created a complex data type in the entity service and mapped it to web service.But when i am creating the application service create(CRUD) method for this entity service the complex data type which i have created in the entity service is not being shown as possible input attributes of the application service create method.Due to this i am not able to pass this complex attribute form the application service create method to the entity service create method.
    Plz tell me how can i resilve this issue.(Urgent)
    Thanks
    Sampath.G

    Hi Sampath,
    Please check SAP note 1004108. I think the issue you describe is one of the limitations described in this note.
    Regards,
       Jan

  • Service implementation in ABAP

    This is regarding,
    From proxy generation to service implementation. I have successfully created service interface at my PI 7.1 EHP1 system and I went to my ECC box and from sproxy I developed my server proxy and the code is ready to give the result.
    Now I am trying to enable the service from my ECC box. So from my ECC I did the soamanager->Application and Scenario communication -> single service Administration. Here for my created service I am trying to create the service enablement and end point creation.
    But here it is showing an error as, Error: Preconfiguration is invalid
    Also when I check the classification tab, there the classification value is not released, I hope it should be Released.
    For this please kindly suggest any preconfiguration is required for my SAP ECC box to service registry. If need please inform the configuration details.
    Where as my PI 7.1 ehp 1 service registry configuration is working fine.
    BTW my user having the authorizations, UDDI_Admin, SERVICE_REGISTRY_READ_WRITE.

    Hi,
    Please check below thread.
    Logical ports - SRT Framework exception: Preconfiguration is invalid
    Hope this helps.
    Regards,
    Deepak.

  • No Service Implementation Available

    Hi Gurus,
    I have issue when I am executing Bex Query in Browser( Able to execute same query in Analyzer ). Below are the error details
    Diagnosis
    You have attempted to open query ZSD_MF02_Q001_PERFMANCE from the Query Designer. However, this query does not exist in the database in the system to which you have made a connection.
    System Response
    Opening the query was terminated.
    Procedure
    Make sure that you have connected to the correct BW system. Note: The query may have been deleted by another user.
    Cannot load query "ZSD_MF02_Q001_PERFMANCE" (data provider "DP_1": No service implementation available).
    If I need to configure any settings in SPRO, please advise me the steps.
    Your quick help is really appreciated.
    Thanks
    Ganesh Reddy.

    Hi
    You have attempted to open query ZSD_MF02_Q001_PERFMANCE from the Query Designer. However, this query does not exist in the database in the system to which you have made a connection.
    You are able to open your Query in Browser because it is saved in the History. But actually, the query is deleted from the Analyzer(May be by other User).
    Best Approach:
    Goto Query designer and check whether the Query is available or not?
    Goto RSRT and make necessary Cache settings and Query Read Mode in Properties tab.
    Check the query in RSCRM_BAPI t-code for inconsistencies.
    You may get some clue.............
    Regards,
    Suman

  • Repository service implementation: custom property

    Hi,
    Is there any sample implementation of repository service for custom properties?
    I tried with eclipse PDK plug-in to create and deploy. but no success. Any pointers for repository service implementation docs ?
    thanks in advance for any help in this regard.
    John

    Hi John,
    there is no deep doc on RepServices. Primarily, search on the forums. Maybe Permissions on XML Forms resources is a good starting point for you?!
    Additionally, to add custom properties (I think you think about configuration properties?!) you'll have to understand the config framework and it's file structure.
    For this, have a look under src.config of you project created by the wizards; watch how they are deployed; and compare other configurations you can find within CM with their corresponding configuration files. That's the best way to get behind the secrets
    Hope it helps
    Detlev

  • Service Implementation Error in PO_APPROVAL Apps

    Any body can help in this,
    when we are trying to open the service implementation of 'ZGBAPP_POAPPROVAL ' seystem is redirection us to class builder page of ' /IWFND/CL_MGW_RUNT_RCLNT_PRXY' but it suppose to go to the display service page of GBAPP_POAPPROVAL.
    Tags edited by: Michael Appleby

    Hi Niladri,
    Adding to Masa's comments,
    It is taking you to class builder screen in gateway itself, coz you have assigned local alias to your app specific services.
    In general, if you click service implementation from /IWFND/MAINT_SERVICE after double clicking on PO approval service, you should see this screen : It will take you to your backend erp system.
    So please check if you have assigned system alias of your back end system for application specific services. For task processing service only it will be local alias, rest will be of of type /iwpgw/bwf (backend) (This is in case you have gateway and backend in different system, if 1 system only gw and erp is there, thn you have to give local )
    Also please specify your system architecture. Is GW system and ERP system is sitting in same system or different.
    Regards,
    Tejas

Maybe you are looking for