Deploying Application Module as Web Service

I tried to deploy a simple application module with a simple view as a Web Service.
When i open url i can see a page to test the web service.
But if i try to see the Service description
http://192.10.10.196:7001/Test-Model-context-root/AppModuleService?WSDL
i get the following exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     at java.util.ArrayList.RangeCheck(ArrayList.java:547)
     at java.util.ArrayList.get(ArrayList.java:322)
     at oracle.j2ee.ws.common.addressing.AbstractAddressingInterceptor.addDefaultAddressingPolicyIfNotAlreadyThere(AbstractAddressingInterceptor.java:103)
     at oracle.j2ee.ws.server.WebServiceProcessor.advertiseWSDL(WebServiceProcessor.java:1144)
     at oracle.j2ee.ws.server.provider.ProviderWSDLHandler.addPolicy(ProviderWSDLHandler.java:253)
     at oracle.j2ee.ws.server.provider.ProviderWSDLHandler.handle(ProviderWSDLHandler.java:136)
     at oracle.j2ee.ws.server.provider.ProviderWSDLHandler.presentWSDL(ProviderWSDLHandler.java:102)
     at oracle.j2ee.ws.server.provider.ProviderServlet.presentWsdl(ProviderServlet.java:916)
     at oracle.j2ee.ws.server.provider.ProviderServlet.doGet(ProviderServlet.java:895)
     at oracle.j2ee.ws.server.provider.ProviderServlet.doGet(ProviderServlet.java:803)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Is this a bug? is there a workaround?
Anybody deploy application modules as webService?
Is there a documentation of how to use it?

Hi,
Are you deploying a master-detail with more than one fk association for example Departments-Employees- EmployeesMngr. If so, please leave all your hierarchies in just one direction and then create your SDOs again. I was obtaining this error because my hierarchies were causing an infinite loop and it wasn´t possible to retrieve all the data.
check the following tutorial and pause when I show the data structure of the project to have more deatails.
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/CreatingSDO-Demo/CreatingSDO.html
Juan Camilo

Similar Messages

  • Publishing Application Modules as Web Services runs into error

    Hello,
    I want to create a web service based upon and ADF BC Application (in other words, based upon a data control).
    I want to expose the ADF BC Application functionality (DML, calling of procedures) via Web Service.
    I read in the Developers Guid for Forms4GL Developers, parapragh 33.4 (Publishing Application Modules as Web Services), how this can be done:
    How to Enable the J2EE Web Service Option for an Application Module
    To enable your application module as a web service:
    1. Enable a custom Java class for your application module and add to it one or more
    custom methods that you want to appear on the web service interface.
    2. Open the Application Module editor and on the Client Interface tab, select one or
    more custom methods to appear on the client interface.
    3. With the Application Module editor still open, on the Remote panel, select
    Remoteable Application Module, select J2EE Web Service in the Available list
    and shuttle it to the selected list.
    4. Then click OK to save your changes.
    When I follow this series of actions I get the following error:
    Failed to validate method
    oracle.javatools.parser.java.v2.classfile.ClClass$ClMethod@3146a021
    java.lang.IllegalStateException: Failed to validate method oracle.javatools.parser.java.v2.classfile.ClClass$ClMethod@3164a021 whether it is publishable
         at oracle.jbo.dt.jdevx.JdvWebServicePlatform2.getMethodPublishableStatus(JdvWebServicePlatform2.java:254)
         at oracle.jbo.dt.objects.JboWebServicePlatform.generateWebServiceCode(JboWebServicePlatform.java:308)
         at oracle.jbo.dt.objects.JboWebServicePlatform.createServer(JboWebServicePlatform.java:100)
         at oracle.jbo.dt.objects.JboDeployPlatform.createRemoteClass(JboDeployPlatform.java:2077)
         at oracle.jbo.dt.ui.module.AMSaveRemoteThread.doGeneration(AMRemotePanel.java:671)
         at oracle.jbo.dt.ui.module.AMSaveRemoteThread.run(AMRemotePanel.java:658)
    Who has any ideas?
    Regards Leon Smiers

    repost

  • What is the best way to deploy application that uses web services?

    Hi all,
    I'm having some problems figuring out the best way to deploy our app now that we've switched over to using web services.
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like.
    Here's a little background:
    We have a large PowerBuilder/Oracle application. The db consists of over 500 tables and the client consists of several thousand PB components. A user creates "transactions" which contain a series of "sub-transactions" within. Most of the data is collected and stored locally in the client in a series of datastores. When the "finalize" happens, the records are validated and sent to the database.
    We are in the process of moving each of the subtransactions (currently in the PB client) into subPROCESSES on a java project. We are using the JAX-WS framework to develop the web services in Netbeans. These web services aren't much more than remote xml as the messaging technology. For writing data back to the database, we are using the Java Persistence API to function outside of an EJB container but will shortly be migrating to the Glassfish application server to use several of the EJB container frameworks including the EntityManager.
    We haven't attempted any type of deployment and are unsure of where to start. Any suggestions would be so helpful and appreciated!
    Thanks!
    Edited by: doubleEspresso on Jan 10, 2008 8:06 AM

    >
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like. >Correct, while Java Web Start has 'web' in the name, it has little if anything to do with web applications - certainly not providing much toward their installation. It is for launching rich client GUI based (AWT, Swing, SWT..) applications onto the end-user's desktop.
    There are some parts of JWS that might seem peripherally useful to the installation of a web-app., but it is really not a 'good fit'.
    >
    ..Any suggestions would be so helpful and appreciated!>You might try the forums for the 'web tier' APIs.
    <http://forum.java.sun.com/category.jspa?categoryID=20>
    Or perhaps the forum 'Java Technologies for Web Services' (under 'enterprise technologies')
    <http://forum.java.sun.com/forum.jspa?forumID=331>
    This one in 'BigAdmin' seems particularly relevant, 'Set up and Deploy'
    <http://forum.java.sun.com/forum.jspa?forumID=550>

  • Deadlock in application module's web service.

    Hi,
    Please find the log attached.
    This webservice will be instaniated 70-80 times in one minute.
    This is in production.
    Please let me know what would be the problem?
    Thanks,
    Tulasi Raghuveer.
    <Dec 4, 2010 7:55:53 AM EST> <Warning> <oracle.j2ee.ws.common.jaxws.JAXWSMessages> <BEA-000000> <Exception while executing the business logic: Please select the terminal>
    <Dec 4, 2010 8:03:34 AM EST> <Error> <oracle.wsm.resources.policymanager> <WSM-02054> <Failure in looking up EJB component PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote.>
    <Dec 4, 2010 8:03:34 AM EST> <Error> <oracle.wsm.resources.policyaccess> <WSM-06108> <Error initializing the Oracle WSM Policy Resolver because incorrect configuration is passed>
    <Dec 4, 2010 8:03:57 AM EST> <Critical> <WebLogicServer> <BEA-000394> <
    DEADLOCK DETECTED:
    ==================
    [deadlocked thread] [ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'java.lang.Object@5c0a53c0' that is held by thread '[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
    java.beans.Introspector.getBeanInfo(Introspector.java:156)
    oracle.jbo.common.JboBeanUtils.getPropertyDescriptor(JboBeanUtils.java:32)
    oracle.jbo.common.JboBeanUtils.getProperty(JboBeanUtils.java:80)
    oracle.jbo.common.JboAbstractMap.internalGet(JboAbstractMap.java:97)
    oracle.jbo.rules.JboValidatorContext.internalGet(JboValidatorContext.java:201)
    oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
    oracle.jbo.rules.AbstractValidator$1ExprValidatorValueSupplier.getExprVarVal(AbstractValidator.java:1127)
    oracle.jbo.ExprEval$ExprValueSupplierOverrideMap.internalGet(ExprEval.java:148)
    oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
    oracle.jbo.ExprEval$ExprEvalGroovyWrapper.getProperty(ExprEval.java:299)
    oracle.jbo.ExprEval$ExprValueSupplierGroovyBinding.getVariable(ExprEval.java:459)
    groovy.lang.Script.getProperty(Script.java:54)
    org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:47)
    org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:241)
    bc4j.com_wfs_datahub_model_entity_CustomerDeliveryReceiptEO_CustomerDeliveryReceiptEO_Rule_0.gs.run(bc4j.com_wfs_datahub_model_entity_CustomerDeliveryReceiptEO_CustomerDeliveryReceiptEO_Rule_0.gs.groovy:4)
    oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
    oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
    oracle.jbo.ExprEval.evaluate(ExprEval.java:749)
    oracle.jbo.rules.JboExpressionValidator.validateValueWithContext(JboExpressionValidator.java:71)
    oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:234)
    oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:379)
    oracle.jbo.rules.JboExpressionValidator.validate(JboExpressionValidator.java:77)
    oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2793)
    oracle.jbo.server.EntityCache.validate(EntityCache.java:2982)
    oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:2129)
    oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2218)
    oracle.jbo.server.ViewRowImpl.validate(ViewRowImpl.java:658)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMImpl.java:98)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:2470)
    oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:2414)
    com.wfs.datahub.uimodel.applicationmodule.service.server.serviceinterface.ECustomerDeliveryReceiptAMServiceImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMServiceImpl.java:76)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    oracle.jbo.server.svc.ServiceContextInterceptor.removeCurrentADFContext(ServiceContextInterceptor.java:52)
    sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    $Proxy129.createCustomerDeliveryReceipt(Unknown Source)
    com.wfs.datahub.uimodel.applicationmodule.service.server.serviceinterface.ECustomerDeliveryReceiptAMServiceImpl_26aty8_ECustomerDeliveryReceiptAMServiceImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMServiceImpl_26aty8_ECustomerDeliveryReceiptAMServiceImpl.java:56)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    $Proxy122.createCustomerDeliveryReceipt(Unknown Source)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:307)
    oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:161)
    oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:428)
    oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
    oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
    oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
    oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
    oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
    oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [deadlocked thread] [ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'java.beans.PropertyDescriptor@2f084813' that is held by thread '[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
    java.beans.PropertyDescriptor.getReadMethod(PropertyDescriptor.java:158)
    java.beans.Introspector.processPropertyDescriptors(Introspector.java:683)
    java.beans.Introspector.getTargetPropertyInfo(Introspector.java:615)
    java.beans.Introspector.getBeanInfo(Introspector.java:407)
    java.beans.Introspector.getBeanInfo(Introspector.java:164)
    groovy.lang.MetaClassImpl$15.run(MetaClassImpl.java:2928)
    java.security.AccessController.doPrivileged(Native Method)
    groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2926)
    groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2909)
    org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:154)
    org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:183)
    org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:204)
    org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:698)
    org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:731)
    org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:723)
    oracle.jbo.ExprEval$ExprEvalGroovyWrapper.invokeMethod(ExprEval.java:390)
    org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:46)
    org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
    bc4j.com_wfs_datahub_model_entity_CustomerDeliveryReceiptLineEO_Id.gs.run(bc4j.com_wfs_datahub_model_entity_CustomerDeliveryReceiptLineEO_Id.gs.groovy:1)
    oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
    oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
    oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:761)
    oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2029)
    oracle.jbo.server.EntityImpl.initDefaultExpressionAttributes(EntityImpl.java:880)
    oracle.jbo.server.EntityImpl.create(EntityImpl.java:833)
    oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:956)
    oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1144)
    oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:428)
    oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:445)
    oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5066)
    oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1889)
    oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2416)
    oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2457)
    oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2438)
    oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:9889)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.matchLine(ECustomerDeliveryReceiptAMImpl.java:517)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createCdrLine(ECustomerDeliveryReceiptAMImpl.java:393)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMImpl.java:124)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:2470)
    oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:2414)
    com.wfs.datahub.uimodel.applicationmodule.service.server.serviceinterface.ECustomerDeliveryReceiptAMServiceImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMServiceImpl.java:76)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    oracle.jbo.server.svc.ServiceContextInterceptor.removeCurrentADFContext(ServiceContextInterceptor.java:52)
    sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    $Proxy129.createCustomerDeliveryReceipt(Unknown Source)
    com.wfs.datahub.uimodel.applicationmodule.service.server.serviceinterface.ECustomerDeliveryReceiptAMServiceImpl_26aty8_ECustomerDeliveryReceiptAMServiceImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMServiceImpl_26aty8_ECustomerDeliveryReceiptAMServiceImpl.java:56)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    $Proxy122.createCustomerDeliveryReceipt(Unknown Source)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:307)
    oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:161)
    oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:428)
    oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
    oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
    oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
    oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
    oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
    oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [deadlocked thread] [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'java.lang.Object@5c0a53c0' that is held by thread '[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
    java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1277)
    java.beans.Introspector.internalFindMethod(Introspector.java:1312)
    java.beans.Introspector.findMethod(Introspector.java:1383)
    java.beans.Introspector.findMethod(Introspector.java:1363)
    java.beans.PropertyDescriptor.getReadMethod(PropertyDescriptor.java:179)
    groovy.lang.MetaClassImpl.applyPropertyDescriptors(MetaClassImpl.java:2218)
    groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:1997)
    groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2938)
    groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2909)
    org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:154)
    org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:183)
    org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:204)
    org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:698)
    org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:731)
    org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:723)
    oracle.jbo.ExprEval$ExprEvalGroovyWrapper.invokeMethod(ExprEval.java:390)
    org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:46)
    org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
    bc4j.com_wfs_datahub_model_entity_SupplierHandoffReceiptLineEO_Id.gs.run(bc4j.com_wfs_datahub_model_entity_SupplierHandoffReceiptLineEO_Id.gs.groovy:2)
    oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
    oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
    oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:761)
    oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2029)
    oracle.jbo.server.EntityImpl.initDefaultExpressionAttributes(EntityImpl.java:880)
    oracle.jbo.server.EntityImpl.create(EntityImpl.java:833)
    oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:956)
    oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1144)
    oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:428)
    oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:445)
    oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5066)
    oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1889)
    oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2416)
    oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2457)
    oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2422)
    oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9852)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createSHRLine(ECustomerDeliveryReceiptAMImpl.java:346)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createCdrLine(ECustomerDeliveryReceiptAMImpl.java:370)
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMImpl.java:124)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:2470)
    oracle.jbo.server.svc.ServiceImpl.invokeCustom(ServiceImpl.java:2414)
    com.wfs.datahub.uimodel.applicationmodule.service.server.serviceinterface.ECustomerDeliveryReceiptAMServiceImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMServiceImpl.java:76)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    oracle.jbo.server.svc.ServiceContextInterceptor.removeCurrentADFContext(ServiceContextInterceptor.java:52)
    sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    $Proxy129.createCustomerDeliveryReceipt(Unknown Source)
    com.wfs.datahub.uimodel.applicationmodule.service.server.serviceinterface.ECustomerDeliveryReceiptAMServiceImpl_26aty8_ECustomerDeliveryReceiptAMServiceImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMServiceImpl_26aty8_ECustomerDeliveryReceiptAMServiceImpl.java:56)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invok

    Hi Frank,
    I am great fan of you.
    I am glad talking to you.
    Coming to this post.
    Each web service call creates an order in the DB.
    If you see the log.
    At thread 17.
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createCustomerDeliveryReceipt(ECustomerDeliveryReceiptAMImpl.java:98)
    Here i have the code to create a new row.
    Similarly at thread 7
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.matchLine(ECustomerDeliveryReceiptAMImpl.java:517)
    I have the code to create a new row.
    At Thread 1
    com.wfs.datahub.uimodel.applicationmodule.service.ECustomerDeliveryReceiptAMImpl.createSHRLine(ECustomerDeliveryReceiptAMImpl.java:346)
    I have the code to create a new row.
    At all the places i am generating the primary key using this expression in entity object primary key attribute.
    (new oracle.jbo.server.SequenceImpl("SUPPLIER_HANDOFF_RECEIPT_SEQ", object.getDBTransaction())).getSequenceNumber();
    I dont know why i am getting a deadlock. I dont know for which resource we have a lock and waiting for which object?
    Please let me know if you can say anything on this.
    Thanks,
    Tulasi Raghuveer.

  • Benefits of exposing function module as web services

    Hi All,
    We are developing a case study about exposing function modules as web services.
    Those web services would be later used for integration to SAP box with a Java application.
    Kindly help me with the pros and cons of exposing function modules as web services when compared to SAP PI. Also please do quote some examples, wherever possible.
    Thanks,
    Varun

    Hi Varun,
    Pros--->
    1)Exposing FM as Web Services is indeed a good choice when you want service consumer to be platform and language independent.
    i.e it can be consumed by .Net, java or any other language.
    2) You are moving towards SOA
    3) Composing Business Process by concatenating different functional modules is easy.
    4) Complexity is less while consuming services Java, CAF etc.
    Cons----> Performance for Web Services is comparatively less than JCo .
    If you are bringing PI in between landscape, you are increasing one more layer of middleware which would also hit performance.
    The benefit which PI can give is monitoring your company wide integrations at one central point when you have huge systems.
    Hope this helps.
    Piyush

  • JDeveloper Configuration to Deploy the pl/sql web services to external oc4j

    Hello
    I am using JDeveloper 10.1.3.1.0,
    I have a created a pl/sql webservice and when i deply, it was working
    successfully with embedded OC4j.
    I want to deply that web serive to external oc4j.
    Could any suggest me, what are configurations required to set in external oc4j
    to deploy the pl/sql web services.
    Regards
    Malathi

    Hi
    We have already registered the application server and Database in the connections navigator.In the Application server,we have created different domains.
    We used to deploy the bpel process to particular domain in the appplication server.
    But for the web services,when we deply the web service, we were getting only the application server name,how can we deploy our process to external oc4j(Application server)?
    Regards
    Malathi

  • Composite Application with RESTful Web Services

    Hello!
    Is it possible to build Composite Application with RESTful Web Services only. I use Glassfishe 2.1 and OpenESB 2.1.
    Can you point me on some tutorials on the net to read about using RESTful Web Services in BPEL?

    Hi Gabriel,
    Let me try to answer some of your questions:
    1) The "Requires Secure Access" attribute of a resource handler controls whether this handler must be accessed/consumed only over SSL (HTTPS). Oracle Database Cloud Schema Service is only offered over SSL, so this attribute does not have any effect on RESTful services deployed in this environment (because secure access is always required and there is no other way). That said, if you want to access such web service from your own APEX instance, your instance must have Oracle Wallet configured with appropriate SSL certificate.
    2) The URI parameters are not required. If your web service returns data for many entities (for example, list of employees in employees/), you may not need a parameter. If your web service returns data for one specific entity (for example, details of one employee in employees/{id}), you may want to identify that entity with a URI parameter.
    3) You can have many URI parameters, for example: customers/{id}/orders/{order_id}.
    4) Yes, these are the same HTTP methods/verbs you would use from PHP.
    5) If you are trying this POST example from your own APEX instance (not Oracle Database Cloud Schema Service) and you are trying to access a web service over SSL, then it is likely that the Oracle Wallet used by your instance does not include the required SSL certificate(s), or the Oracle Wallet is not configured at all.
    6) I recommend to check RESTful Web Services for the Oracle Database Cloud white paper and Oracle REST Data Services Developers Guide. Oracle REST Data Services is the technology that enables RESTful services in the Oracle Database Cloud Schema Service.
    You can certainly create your own web services in the Oracle Database Cloud Schema Service and consume them from the same environment.
    Vlad

  • Exposing ABAP function modules as web services

    Hi All,
    I am trying to expose function modules as web service but when i click on 'Web service Homepage' button it is throwing error :
    "Setting for J2EE server do not exist".
    Could you please guide me through this?
    Regards,
    Abhijeet.

    hi
    r u releasing the web service for FMs
    here r the steps.
    To release FMs as webservice it should be RFC enabled.
    then goto SE80 and search for the FM u want to release web service.
    then right click on the FM
    then Create->web service
    then give the web service name then continue.
    click on chk box for relase run time.
    then assign one request and package
    now goto WSADMIN tcode ahere u can see ur webservice and then use that.
    mark points if helpful
    Regs
    Manas Ranjan Panda

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • Migrating BAPI & RFC function modules into web services

    What is the advantage of migrating BAPI & RFC function modules into web services?

    Hi.
    That's a very good question. Why did you ask it, are you considering doing so?
    I wouldn't think there would be any performance advantages using WebServices.
    You could make your BAPI's available for other systems than Web Dynpro or SAP systems by turning them into WebServices.
    That could be an issue when you want to use different integration engines perhaps.
    A WebService might also be better for dealing with large number of requests I guess.
    When dealing with XML you can also use the advantage of XSLT for validating your data.
    The main advantages would still be the availability of your service for non-SAP systems.
    /Mikael

  • Deploying application to the web with Developer Server

    Hi everyone,
    Does anyone out there has any notes or step-by-step configuration
    guide on deploying application on the web with Developer Server
    only (not with OAS)? I know that you can use it with Microsoft
    IIS 3.0 or 4.0 (as the web server) but don't know how to set it
    up. Appreciate if someone out there could help. Thanks.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pedro Diaz Robles ([email protected]):
    I need exeperience comments and guidelines experience for deploying Forms in the WEB.<HR></BLOCKQUOTE>
    Be more specific !!

  • Deploying application with several web modules having the same context root

    Hi,
    I would like to be able to deploy an application in Weblogic 12c having one ejb module and several web modules with the same context root. Even though the web modules have the same context root, each of them is deployed to a different virtual host.
    Weblogic allows deploying the modules this way as long as their targets are different (i.e. each having a distinct virtual host). However this works only when I don't select a target for the .ear:
    Component Type Current Targets
    application.ear Enterprise Application (None specified)
    application.jar EJB AdminServer
    web1.war WEBAPP virtualHost1
    web2.war WEBAPP virtualHost2
    However if I select as target for the .ear to be AdminServer, the deployment doesn't work anymore, complaining that the context roots are in conflict.
    If I remove web2.war from the .ear and deploy the .ear and .jar to AdminServer and web1.war to virtualHost1, the deployment works but the strange thing is that the web application can be accessed also through the AdminServer's main network channel, even though I would expect that it should be accessible only through virtualHost1 network channel. I believe this is the reason why there are context root conflicts when specifying a target for the .ear, because both wars are made accessible to the main network channel.
    The reason why I want to keep the wars inside the same .ear is because I want to make them access the application's local EJBs (since as far as I know it's not possible to access a local EJB outside the application even if they belong to the same VM).
    Is there a way to deploy the web modules only to the virtual hosts without being targeted to the main network channel?
    Regards,
    Alexandru

    Murphy's Law: If anything can go wrong it will
    A corollary to Murphy's law: When everything fails, read the manual.
    Web application funda: Every web application must have its own context root. So, if wkfsocos is one
    web application then, wkfsocos1 is another web application -
    and hence must have its own context root.
    Hello Aman,
    If you are in E-Commerce version 4.0, then read this
    [ISA_Buildtool document |https://service.sap.com/~sapdownload/011000358700001920472003E/ISA_BuildTool_10.pdf]
    to create a copy of the application in its own context root.
    From your URL pattern I guess you are in E-Commerce version 4.0.
    If you are in E-Commerce 5.0 or above, then the
    [Extension Guide |http://service.sap.com/~sapdownload/011000358700006120622006E/]gives steps to create a copy with its own context root for use in modification.
    (See the chapter on - Creating a project specific Web Application with own context root )
    Both these links require access to SAP Service Marketplace. You can also find the
    documents through /instguides shortcut in Service Marketplace.
    Easwar Ram
    http://www.parxlns.com

  • Unable to deploy a war(includes web services)packaged into EAR on jboss 5.0

    I am new to web services and wanted to develop one
    I used the following softwares / IDE
    Eclipse 3.4.2
    Apache Ant 1.7
    Jboss AS 5.0.1
    JBoss ws 2.0
    jbossws-native-bin-dist 3.2.1GA
    sun jdk 1.6.0_12
    So i started off quite well configuring all that is required to create a web service
    i took the help of eclipse ide tools like create web service and create web service clients.
    when i created the web project in eclipse i selected the option add project to ear.
    and finally i start the jboss server with in eclipse and add project the ear file that contains the war file.
    just when i thought all is fine the server throws an error
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    I have searched jira to find a solution for this , but i think i couldnt find an appropriate solution
    I am not sure if the search critirea i entered was close to the issue.
    The log pasted below is the one when i start jboss from with in eclipse .
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeployment(AbstractDeploymentModelBuilder.java:119)
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeploymentModel(AbstractDeploymentModelBuilder.java:62)
    at org.jboss.webservices.integration.deployers.deployment.WSDeploymentBuilder.build(WSDeploymentBuilder.java:82)
    at org.jboss.webservices.integration.deployers.WSDeploymentDeployer.internalDeploy(WSDeploymentDeployer.java:66)
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    ... 24 more
    13:01:52,945 WARN [HDScanner] Failed to process changes
    org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    DEPLOYMENTS IN ERROR:
    Deployment "vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/" is in error due to the following reason(s): java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Please help.

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

  • Deploy a JAX-WS web service to OC4J?

    I have a JAX-WS Web Service that I need to deploy to OC4J. I've manged to set JDeveloper up to use ANT to build the server interfaces using jaxws and jaxb 2.0.
    I've been able to deploy the web service to Sun's App Server, but I can't find any documentation that tells me how to deploy to OC4J. It doesn't matter if I have to deploy using ANT or thru JDeveloper, I just have to be able to deploy.
    Any suggestions?

    Here is a sample target to deploy on oc4j 10.1.3:
    &lt;project name="research" default="all" basedir="." xmlns:o="antlib:oracle">
    &lt;property file="../build.properties"/>
    &lt;property name="app.name" value="research"/>
    &lt;property name="web.name" value="${app.name}-web"/>
    &lt;property name="context.root" value="project-o/${app.name}"/>
    &lt;property name="oc4j.admin.user" value="oc4jadmin"/>
    &lt;property name="oc4j.binding.module" value="default-web-site"/>
    &lt;property name="oc4j.admin.port" value="23791"/>
    &lt;property name="oc4j.admin.password" value="welcome"/>
    &lt;property name="deployeruri" value="deployer:oc4j:${oc4j.host}:${oc4j.admin.port}" />
    &lt;target name="deploy" description="deploy application">
    &lt;echo>${deployeruri}</echo>
    &lt;o:deploy file="dist/${app.name}.ear"
    deploymentname="${app.name}"
    deployeruri="${deployeruri}"
    userid="${oc4j.admin.user}" password="${oc4j.admin.password}"
    logfile="deploy-ear.log"/>
    &lt;o:bindWebApp deploymentname="${app.name}"
    deployeruri="${deployeruri}"
    userid="${oc4j.admin.user}"
    password="${oc4j.admin.password}" webmodule="${web.name}"
    websitename="${oc4j.binding.module}"
    contextroot="/${context.root}"/>
    &lt;/target>
    You may have to tweak a few properties to work in your environment.
    Hope this helps,
    Eric

  • How to deploy a report with web service datasource

    Hi Guys,
               I have a RPT file(report) which is using some web service call to get data source and Information.
               I am not able to deploy it properly as It gives " Error in file testReport Unknown Database Connector Error " while click at preview at server Central management Console.
    Please tell me some way to resolve the issue.
    I am not sure If I need to configure something at C:\Business Objects\common\3.5\java\CRConfig.xml for web service.
    Actually, We are using web service call from report it self and probably there are some steps missed by me for deployment.
    Sincerely,
    Sanjay Patel
    Edited by: Adlyd Joseph on Mar 19, 2009 6:57 AM

    Hi Sanjay
    First you create a report using the data source in Crystal Reports DesignerStand Alone Application and then save it to repository.
    This is the easiest way to do it.
    You can refer to Crystal Reports User guide and also BOXI Admin guide for the version you are using.
    You can download the above from help.sap.com
    Hope this helps!!
    Regards
    Sourashree

Maybe you are looking for