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

Similar Messages

  • 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

  • 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.

  • Unable to publish WBEi object as Web Service in BOBJ 4.0

    We have an issue when publish WEBi object (say a table) as Web service with following error message:
    The server sent HTTP status code 503: Service Unavailable.
    Click on the Details button, here are details:
    com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(Unknown Source)     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown Source)     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown Source)     at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown Source)
         at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
         at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
         at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
         at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
         at com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
         at $Proxy56.getDaaWSList(Unknown Source)
         at com.businessobjects.extension_point.InfoStoreHelper.getDaaWSList(InfoStoreHelper.java:122)
         at com.businessobjects.extension_point.reportpanel.PublicationWarningPage$RetrieveDaaWSWorker.doInBackground(PublicationWarningPage.java:265)
         at com.businessobjects.extension_point.reportpanel.PublicationWarningPage$RetrieveDaaWSWorker.doInBackground(PublicationWarningPage.java:245)
         at javax.swing.SwingWorker$1.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at javax.swing.SwingWorker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    When I try to add a new web service host (actual hostname) in the Manage Web Services Hosts screen within the wizard, the url value ( e.g. http://hostname:8080/dswsbobje) also has the same message. i.e., "The server sent HTTP status code 503: Service Unavailable."
    The Publish service in http://hostname:8080/dswsbobje/services/listServices is active. When I goto pagehttp://hostname:8080/dswsbobje/services/Publish?wsdl, I see following contents:
      <?xml version="1.0" encoding="UTF-8" ?>
    + <definitions targetNamespace="http://publish.dsws.businessobjects.com/2007/06/01" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tns1="http://dsws.businessobjects.com/2007/06/01" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s0="http://publish.dsws.businessobjects.com/2007/06/01">
    Also in CMS, AdaptiveProcessingServer under Connectivity Services is enabled and running.
    Is there any additional setting required to make this "publishing as Web Service" available?
    Thanks a lot for your help!
    Bill

    Hi,
    What happens if you test your same workflow directly on the local BIP server ?   (i.e. by-passing proxy, firewall etc)
    Also, please Patch up to the latest version  (4.0 SP02 Patch2.11)  as there was an issue with WRC BI web Services previously.
    Regards,
    H

  • Error when publishing a PL/SQL Web Service with JDeveloper 10.1.3!!!!!!!!!

    Hi,
    When I publish a PL/SQL package as a web service in J2EE 1.4 (Jax-RPC) Web Service version get this error:
    oracle.j2ee.ws.common.tools.api.ValidationException: Error in database webservices assembly
         at oracle.j2ee.ws.tools.wsa.db.WSADBPlugin.processDBEndpoint(WSADBPlugin.java:329)
         at oracle.j2ee.ws.tools.wsa.Util.processDBEndpoint(Util.java:887)
         at oracle.jdeveloper.webservices.model.plsql.PLSQLGenerator.preparePLSQLPortTypes(PLSQLGenerator.java:734)
         at oracle.jdeveloper.webservices.model.plsql.PLSQLGenerator.doGeneration(PLSQLGenerator.java:233)
         at oracle.jdeveloper.webservices.model.Generator.generateImpl(Generator.java:447)
         at oracle.jdeveloper.webservices.model.Generator.generate(Generator.java:295)
         at oracle.jdeveloper.webservices.model.WebService.saveEditImpl(WebService.java:3971)
         at oracle.jdeveloper.webservices.model.WebService.mav$saveEditImpl(WebService.java)
         at oracle.jdeveloper.webservices.model.WebService$1.run(WebService.java:3817)
         at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    GRAVE: JPublisher error: please check assembler settings, database connection and database schema. Use debug=true for details.
    and when use J2EE 1.3 (Oracle) version WEb Service get this error:
    java.lang.NullPointerException
    at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
    at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)
    ..... Is this a BUG????
    please help!

    OK, This is the PL/SQL package:
    Function:
    FUNCTION Obtener_paises RETURN res_webservice AS
    v_respuesta res_webservice;
    i PLS_INTEGER:=1;
    CURSOR C_paises IS
    SELECT cpais, tpais
    FROM paises
    ORDER BY tpais;
    BEGIN
    v_respuesta := res_webservice(null,null);
    v_respuesta.error := res_error(null,null,null);
    v_respuesta.error.cerror := 0;
    v_respuesta.error.cerror_ora := 0;
    v_respuesta.error.terror := null;
    v_respuesta.datos := res_datos ();
    FOR v_pais IN C_paises LOOP
    v_respuesta.datos.extend;
    v_respuesta.datos(i) := reg_datos(null,null);
    v_respuesta.datos(i).codigo := v_pais.cpais;
    v_respuesta.datos(i).descripcion := v_pais.tpais;
    i := i + 1;
    END LOOP;
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:0');
    RETURN v_respuesta;
    EXCEPTION
    WHEN OTHERS THEN
    v_respuesta.error.cerror := 1;
    v_respuesta.error.cerror_ora := SQLCODE;
    v_respuesta.error.terror := substr(SQLERRM,1,80);
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:1 '||substr(SQLERRM,1,120));
    RETURN v_respuesta;
    END Obtener_paises;
    TYPES USED:
    CREATE OR REPLACE
    TYPE res_webservice AS OBJECT (error res_error, datos res_datos);
    CREATE OR REPLACE
    TYPE res_error AS OBJECT (cerror NUMBER(1), cerror_ora VARCHAR2(12), terror VARCHAR2(80));
    CREATE OR REPLACE
    TYPE res_datos AS TABLE OF reg_datos;
    CREATE OR REPLACE
    TYPE reg_datos AS OBJECT(codigo VARCHAR2(12), descripcion VARCHAR2(150));
    Thanks in advanced...
    Could happen this bacause of these defined types???

  • Problem in Consuming a Web Service running on Remedy

    Hi All – We have a web service running on ARSystem (
    Remedy) and all we would like to do is –
    -Invoke this web service from our Coldfusion page
    -Send some parameters in a method call for ‘Remedy
    WS’
    -This Webservice returns a simple String object.
    The WSDL looks like this..
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:s="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema elementFormDefault="qualified"
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2">
    <xsd:element name="OpCreate" type="s:CreateInputMap"
    />
    - <xsd:complexType name="CreateInputMap">
    - <xsd:sequence>
    <xsd:element name="Description" type="xsd:string" />
    <xsd:element name="Requester_Login_Name"
    type="xsd:string" />
    <xsd:element name="Requester_Name" type="xsd:string"
    />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="OpCreateResponse"
    type="s:CreateOutputMap" />
    - <xsd:complexType name="CreateOutputMap">
    <xsd:sequence />
    </xsd:complexType>
    <xsd:element name="AuthenticationInfo"
    type="s:AuthenticationInfo" />
    - <xsd:complexType name="AuthenticationInfo">
    - <xsd:sequence>
    <xsd:element name="userName" type="xsd:string" />
    <xsd:element name="password" type="xsd:string" />
    <xsd:element minOccurs="0" name="authentication"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="locale"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="timeZone"
    type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="OpCreateSoapOut">
    <wsdl:part element="s:OpCreateResponse" name="parameters"
    />
    </wsdl:message>
    - <wsdl:message name="ARAuthenticate">
    <wsdl:part element="s:AuthenticationInfo"
    name="parameters" />
    </wsdl:message>
    - <wsdl:message name="OpCreateSoapIn">
    <wsdl:part element="s:OpCreate" name="parameters" />
    </wsdl:message>
    - <wsdl:portType
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    - <wsdl:operation name="OpCreate">
    <wsdl:input message="s:OpCreateSoapIn" />
    <wsdl:output message="s:OpCreateSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    type="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    <soap:binding style="document" transport="
    http://schemas.xmlsoap.org/soap/http"
    />
    - <wsdl:operation name="OpCreate">
    <soap:operation
    soapAction="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2/OpCreate"
    style="document" />
    - <wsdl:input>
    <soap:header message="s:ARAuthenticate" part="parameters"
    use="literal" />
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Service">
    - <wsdl:port
    binding="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Soap">
    <soap:address location="
    http://<ServerName>/arsys/services/ARService?server=<ServerName>&webService=CHG_Change_Web Service_OpCreate_DisplayOnly_v2"
    />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My CF invocation is as given below..
    <cfscript>
    Ws=CreateObject("webservice","
    http://<servername>/arsys/WSDL/public/<servername>/CHG_Change_WebService_OpCreate_DisplayO nly_v2");
    result= ws.opCreate("test1","TEST2","test3");
    </cfscript>
    <cfoutput>|#result#|</cfoutput>
    AND I am getting this error below..
    Could not generate stub objects for web service invocation.
    Name:
    http://<servername>/arsys/WSDL/public/<servername>/CHG_Change_WebService_OpCreate_DisplayO nly_v2.
    WSDL:
    http://
    <servername>/arsys/WSDL/public/<servername>/CHG_Change_WebService_OpCreate_DisplayOnly_v2 .
    java.lang.NullPointerException It is recommended that you use a web
    browser to retrieve and examine the requested WSDL document for
    correctness. If the requested WSDL document can't be retrieved or
    it is dynamically generated, it is likely that the target web
    service has programming errors.
    Java Stack trace:
    java.lang.NullPointerException
    at
    org.apache.axis.wsdl.toJava.Utils.getNewQNameWithLastLocalPart(Utils.java:933)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeOperationMap(JavaStubWriter.java:610)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeFileBody(JavaStubWriter.java:169)
    at
    org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
    at
    org.apache.axis.wsdl.toJava.JavaBindingWriter.generate(JavaBindingWriter.java:147)
    at
    org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.ja va:423)
    at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:471)
    at org.apache.axis.wsdl.gen.Parser.run(Parser.java:395)
    at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:611)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcServiceImpl.java:213)
    at java.security.AccessController.doPrivileged(Native
    Method)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebService(XmlRpcServiceImpl.java:198)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService(XmlRpcServiceImpl.java:472)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.getWebServiceProxy(XmlRpcServiceImpl.java:427)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.getWebServiceProxy(XmlRpcServiceImpl.java:409)
    at coldfusion.runtime.CFPage.createObject(CFPage.java:5993)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5848)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5813)
    at
    cftest1252ecfm1199621501.runPage(D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm:11)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Would be sincerely thankful to ALL who could help me in
    resolving my problem as it’s a deadline for me today and I
    have some testing left to be done on some other modules as well.
    PLEASE PLEASE HELP!!
    Thanks.
    -S

    Ian, Thanks but service is running on REMEDY system and is
    written in Java. The new wsdl looks like this..( Please check the
    complex type input and return parameter). I cannot change the
    service permissions as its not in our control
    http://oldtas184/arsys/WSDL/
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:s="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema elementFormDefault="qualified"
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2">
    <xsd:element name="OpCreate" type="s:CreateInputMap"
    />
    - <xsd:complexType name="CreateInputMap">
    - <xsd:sequence>
    <xsd:element name="Description" type="xsd:string" />
    <xsd:element name="Requester_Login_Name"
    type="xsd:string" />
    <xsd:element name="Requester_Name" type="xsd:string"
    />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="OpCreateResponse"
    type="s:CreateOutputMap" />
    - <xsd:complexType name="CreateOutputMap">
    - <xsd:sequence>
    <xsd:element name="Description" type="xsd:string" />
    <xsd:element name="Requester_Login_Name"
    type="xsd:string" />
    <xsd:element name="Requester_Name" type="xsd:string"
    />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AuthenticationInfo"
    type="s:AuthenticationInfo" />
    - <xsd:complexType name="AuthenticationInfo">
    - <xsd:sequence>
    <xsd:element name="userName" type="xsd:string" />
    <xsd:element name="password" type="xsd:string" />
    <xsd:element minOccurs="0" name="authentication"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="locale"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="timeZone"
    type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="OpCreateSoapOut">
    <wsdl:part element="s:OpCreateResponse" name="parameters"
    />
    </wsdl:message>
    - <wsdl:message name="ARAuthenticate">
    <wsdl:part element="s:AuthenticationInfo"
    name="parameters" />
    </wsdl:message>
    - <wsdl:message name="OpCreateSoapIn">
    <wsdl:part element="s:OpCreate" name="parameters" />
    </wsdl:message>
    - <wsdl:portType
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    - <wsdl:operation name="OpCreate">
    <wsdl:input message="s:OpCreateSoapIn" />
    <wsdl:output message="s:OpCreateSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    type="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    <soap:binding style="document" transport="
    http://schemas.xmlsoap.org/soap/http"
    />
    - <wsdl:operation name="OpCreate">
    <soap:operation
    soapAction="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2/OpCreate"
    style="document" />
    - <wsdl:input>
    <soap:header message="s:ARAuthenticate" part="parameters"
    use="literal" />
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Service">
    - <wsdl:port
    binding="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Soap">
    <soap:address location="
    http://oldtas184/arsys/services/ARService?server=OLDTAS184&webService=CHG_Change_WebServic e_OpCreate_DisplayOnly_v2"
    />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I have modified my code a little to use a struct object and
    the code looks as below..
    <cfscript> CreateInputMap1 = structNew();
    CreateInputMap1.Description = "test";
    CreateInputMap1.Requester_Login_Name = "xxxxxx";
    CreateInputMap1.Requester_Name = "yyyyyyy";
    ws=CreateObject("webservice","
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl");
    result= ws.opCreate(CreateInputMap1);
    </cfscript>
    <cfoutput>#result#</cfoutput>
    But I still receive the same error..
    Error Occurred While Processing Request
    Could not generate stub objects for web service invocation.
    Name:
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl.
    WSDL:
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl.
    java.lang.NullPointerException It is recommended that you use a web
    browser to retrieve and examine the requested WSDL document for
    correctness. If the requested WSDL document can't be retrieved or
    it is dynamically generated, it is likely that the target web
    service has programming errors.
    The error occurred in
    D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm: line 18
    16 : CreateInputMap1.Requester_Name = "Vohra";
    17 :
    18 : ws=CreateObject("webservice","
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl");
    19 : // addSOAPRequestHeader(ws, "
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 /",
    "Description", "test", false);
    20 : // addSOAPRequestHeader(ws, "
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 /",
    "Requester_Login_Name", "John", false);
    Stack Trace (click to expand)
    at
    cftest1252ecfm1199621501.runPage(D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm:18)
    at
    cftest1252ecfm1199621501.runPage(D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm:18)
    java.lang.NullPointerException
    at
    org.apache.axis.wsdl.toJava.Utils.getNewQNameWithLastLocalPart(Utils.java:933)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeOperationMap(JavaStubWriter.java:610)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeFileBody(JavaStubWriter.java:169)
    at org.apache.axis.wsdl.toJava.JavaWriter.generate
    The REMEDY logs has this message - "Required element expected
    in the input XML document":

  • 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

  • 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

  • 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

  • Publish PL/SQL as Web Service

    I am new to Oracle Web Service. I went through Publish PL/SQL as Web Service tutorial and tested from browser. When I tested by
    http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService
    I got following message:
    "Error parsing the WSDL for this endpoint.
    oracle.wsdl.internal.WSDLException: oracle.xml.parser.v2.XMLParseException: Start of root element expected."
    I was able to display WSDL somehow by
    http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService?WSDL
    I have no clue what is the problem. Please help.
    Thanks.
    Yi Zhou
    [email protected]

    Hi,
    The problem could be because of wrong JDK version. Looks like you are using JDK1.4.2. Could you try checking with JDK 1.3.x
    If you still face problems, specify your environment details and at what stage you are getting the error.
    Sujatha.

  • System.Web.Services.Protocols.SoapHeaderException error in script task

    HI,
    My requirement is I have to create a XML of each row from a table and push one XML data of each row to a web services. This is a syncronous call to web services where it will send the response of each row XML.
    The WSDL file is having a method called MATCHXML having 4 parameters namely ControlXML, BatchXML, Username, Password. I have created the ControlXML & BatchXML through code and storing into a string variable seperatly. The WSDL alos contains 4 input called
    RequestUUID, ChannelID, ServiceRequestID & ServiceRequestVersion which has to be send to web services compulsory along with the method. In order to implement this, first I have added Web reference of the Web service URL into library, then invoked the method
    to hit the web services. The code looks likes as below:
    //Initiated an object of the class from the WSDL file
    Matching match = new Matching
    string result = match.MatchXML(controlXML,BatchXML,Username,Password)
    Then, at the above line it display the below error:
    SSIS package "HunterAutomation.dtsx" starting. Error: 0x1 at Generates XML file & Update variable: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.Services.Protocols.SoapHeaderException:
    Mandatory field is not set in EAI_SOAPINPUT; Element -> Environment.eaiCommon.BTID, Environment.eaiCommon.Header.ChannelID, Environment.eaiCommon.Header.RequestUUID, Environment.eaiCommon.Header.ServiceRequestId, Environment.eaiCommon.Header.ServiceRequestVersion
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at ST_ae3b1e5eadb64fdba5040f4efa743458.csproj.Hunter.Matching.Match(String controlXml, String batchXml, String username, String password) in C:\Users\CPUTRACKINGAPP\AppData\Local\Temp\3\SSIS\377534961d7f4fdb91565f9366317fdc\Web References\Hunter\Reference.cs:line
    93 at ST_ae3b1e5eadb64fdba5040f4efa743458.csproj.ScriptMain.Main() in C:\Users\CPUTRACKINGAPP\AppData\Local\Temp\3\SSIS\377534961d7f4fdb91565f9366317fdc\ScriptMain.cs:line 1307 --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object
    target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle
    typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
    Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
    at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript() Task failed: Generates XML file & Update
    variable Warning: 0x80019002 at For Loop Container: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of
    errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. Warning: 0x80019002 at HunterAutomation: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised
    (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS package "HunterAutomation.dtsx" finished: Failure.
    In order to solve the issue i have manual created the soap header code. Now Im not understanding how to send the soap header XML message along with the MATCHXML method. I am trying very hard to solve the issue from last 3 weeks but NO LUCK.
    Could anyone please help me out on this and I'm already running out of my deadlines.

    Ok, from the looks of it you're calling the web service from within an SSIS package. Are you able to call the web service in a stand-alone C# console app and is the error just occurring in the SSIS package or not? If it occurs in both situations, continue
    development in in the C# console app as this will make debugging easier. Also, in order to help you further, are you calling a web service under your control or not, and is the web service a WCF service or not?
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Web Service SOAP Adapter Error

    Hi all
    We just upgraded from PI7.0SP13 to SP18. We have a couple of Web Services running that worked fine in SP13. Now, after the upgrade they don't work anymore, and we get the following error when trying to execute the SOAP request:
    com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve binding for the given channelId: Binding:CID=a1a08d8558de39c691a8c80a4f524b1c;
         at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBindingByChannelId(AbstractLookupManager.java:361)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:424)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    I've tried all the things that I have found in the forum, e.g. CPA cache refresh, restart the system, make channel inactive and active again in ID, stop and start in channel monitoring, but nothing appears to be helping.
    Can anybody help?
    Thank you,
    Daniel

    Hi Prateek
    We do not use HTTPS. It is a simple Web Service that is called via HTTP with a request that calls a BAPI using the RFC adapter and returns the answer from the BAPI via the Web Service.
    <wsdl:service name="MI_GETACCOUNTADDRTOWRITE_OU_SYService">
         <wsdl:port name="MI_GETACCOUNTADDRTOWRITE_OU_SYPort" binding="p1:MI_GETACCOUNTADDRTOWRITE_OU_SYBinding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                   <soap:address location="http://<domain.name>:50000/XISOAPAdapter/MessageServlet?channel=:BS_GETACCOUNTADDRTOWRITE:CC_S_SOAP_GETACCOUNTADDRTOWRITE&amp;version=3.0&amp;Sender.Service=BS_GETACCOUNTADDRTOWRITE&amp;Interface=http%3A%2F%2Fxxxxxx.com%2Fxi%2Faccount%5EMI_GETACCOUNTADDRTOWRITE_OU_SY" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
              </wsdl:port>
         </wsdl:service>
    Thank you,
    Daniel

  • Application Server Role, Web Server (IIS): configuration error

    I am installing file en_sharepoint_server_2013_with_sp1_x64_dvd_3823428.iso on a Windows Server 2012 R2 that is a Virtual Machine in VMWare. After mounting the file I run prerequisiteinstaller.exe, which errors with:
    Application Server Role, Web Server (IIS): configuration error
    After some research I am pointed to KB2771431. I download Hotfix file Windows8-RT-KB2771431-x64.msu, which it says is for Windows Server 2012 but when attempting to install I get error:
    The update is not applicable to your computer.
    My question is where do I go from here?

    Can you try to install the most recent .NET Framework updates?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • HP Web Services Setup - Connection error. Check Internet connection.

    I am trying to enable HP Web Services but Connection error. Check Internet connection. .
    I use static ip with Preferred DNS Address: 8.8.8.8 and 8.8.4.4 and it does not work.
    I changed to DHCP also it does not work.
    I have a ZTE home modem router connected to the printer.
    This question was solved.
    View Solution.

    Hi MaBek,
    Can you check if your printers IP address is valid.
    If you have a laptop or PC connected to the same network, open a browser and type the IP address in the address bar and hit enter. 
    This should open a Embedded web Server page if the IP address is valid.
    Here you can navigate to Web Services tab and click on enable to enable web services.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • Consume Web Service In Coldfusion Error

    I'm having a problem using cfinvoke or adding this web service url in the coldfusion admin.
    <cfinvoke returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes" method="PostData">
    I get the error for cfinvoke
    "Cannot generate stub objects for web service invocation. "
    "Name:
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. WSDL:
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. java.io.IOException: ERROR: Missing element inFault "SQLException" in operation "SQLException", in binding GetRates It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors. "
    and in the administrator
    ""Error creating web service. Please ensure that you have entered a correct Web Service name or URL.""
    The url is 
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl
    page loads fine in a browser...
    I do see an issue being brought up here in the wsdl, but I have no idea why...this isnt my wsdl btw..
    <wsdl:operation name="GetRates">
    <wsdl:input message="ns:GetRatesRequest" wsaw:Action="urn:GetRates"/>
    <wsdl:output message="ns:GetRatesResponse" wsaw:Action="urn:GetRatesResponse"/>
    <wsdl:fault message="ns:SQLException" name="SQLException" wsaw:Action="urn:GetRatesSQLException"/>
    </wsdl:operation>
    line 3
    any ideas?
    Thanks for any help...

    Sorry didnt post everything for the sake of space
    I just ended up using .NET to deal with the service..CF just didnt even recognize the url as a valid web service let alone care if I was passing arguments to it.
    On a side note, CF admin doesnt recognize the url as a web service and dreamweaver doesnt recognize the url as a web service either.
    <cfinvoke method="PostLead" returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes">
    <cfinvokeargument name="SpecVersion" value="0">
    <cfinvokeargument name="ForteId" value="TESTID">
    <cfinvokeargument name="AuthKey" value="guestauthenticationkey">
    <cfinvokeargument name="LastName" value="0">
    <cfinvokeargument name="FirstName" value="0">
    <cfinvokeargument name="Address" value="0">
    <cfinvokeargument name="city" value="0">
    <cfinvokeargument name="state" value="0">
    <cfinvokeargument name="zip" value="0">
    <cfinvokeargument name="year" value="0">
    <cfinvokeargument name="vin" value="0">
    <cfinvokeargument name="make" value="0">
    <cfinvokeargument name="model" value="0">
    <cfinvokeargument name="phone" value="0">
    <cfinvokeargument name="crdate" value="0">
    <cfinvokeargument name="listcode" value="0">
    <cfinvokeargument name="odometer" value="0">
    <cfinvokeargument name="dually" value="0">
    <cfinvokeargument name="commercial" value="0">
    <cfinvokeargument name="convvan" value="0">
    <cfinvokeargument name="coverage" value="0">
    <cfinvokeargument name="term" value="0">
    <cfinvokeargument name="deduct" value="0">
    <cfinvokeargument name="av" value="0">
    <cfinvokeargument name="gps" value="0">
    <cfinvokeargument name="wt" value="0">
    <cfinvokeargument name="sg" value="0">
    <cfinvokeargument name="emis" value="0">
    <cfinvokeargument name="fintype" value="0">
    <cfinvokeargument name="finterm" value="0">
    <cfinvokeargument name="downpay" value="0">
    <cfinvokeargument name="cuscost" value="0">
    <cfinvokeargument name="paymeth" value="0">
    <cfinvokeargument name="cc" value="0">
    <cfinvokeargument name="expdt" value="0">
    <cfinvokeargument name="ccid" value="0">
    <cfinvokeargument name="routing" value="0">
    <cfinvokeargument name="banacct" value="0">
    <cfinvokeargument name="checking" value="0">
    <cfinvokeargument name="fbdt" value="0">
    <cfinvokeargument name="promo" value="0">
    <cfinvokeargument name="timeofday" value="0">
    <cfinvokeargument name="prefmeth" value="0">
    <cfinvokeargument name="email" value="0">
    </cfinvoke>

Maybe you are looking for