3 Replies Latest reply on May 23, 2007 1:14 AM by itprabha

    BPEL atm and purchase order test fails.

    itprabha

      Hi,

      I have deployed hello.war, atm.war, account.war and pruchase.war. The test cases for hellotest is completed successfully.

      But test cases for atm and purchaseOrder are failing with the following error messages.

      
      AtmFrontEndTest->testConnect-> Error
      
      Call invocation failed with code [Server] because of: The service is not in an appropiate state for the requested operation; nested exception is: javax.xml.rpc.soap.SOAPFaultException: The service is not in an appropiate state for the requested operation
      
      java.rmi.RemoteException: Call invocation failed with code [Server] because of: The service is not in an appropiate state for the requested operation; nested exception is: javax.xml.rpc.soap.SOAPFaultException: The service is not in an appropiate state for the requested operation at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:713) at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) at $Proxy3.connect(Unknown Source) at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.testConnect(AtmFrontEndTest.java:61) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23)Caused by: javax.xml.rpc.soap.SOAPFaultException: The service is not in an appropiate state for the requested operation at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100) at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486) at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702) ... 23 more
      
      



      for PurchaseOrder test

      
      PurchaseOrderTest->testSendPurchaseOrderAvailable-> Error
      
      jbpmbpel-client not bound
      javax.naming.NameNotFoundException: jbpmbpel-client not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:129) at $Proxy1.lookup(Unknown Source) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jbpm.bpel.tutorial.purchase.PurchaseOrderTest.setUp(PurchaseOrderTest.java:34) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23)
      
      


      I am using the following software,

      jboss-4.0.5.GA with ejb3.0 profile
      jdk1.5.0_06
      jbpm-bpel-1.1.Beta3


      I have tried to execute the atm-terminal as well, but I got the same error message like the above one.


      Please help me to resovle the above issues.

      Your help would be appreciated.

      Thanks & Regards,
      Prabhakar N.



        • 1. Re: BPEL atm and purchase order test fails.
          javilaalonso

          Have you deployed the other web services invoked by atm.war and pruchase.war. ?

          • 2. Re: BPEL atm and purchase order test fails.
            itprabha

            Hi,

            I believe all the web services are part of the war files.

            Regards,
            Prabhakar N.

            • 3. Re: BPEL atm and purchase order test fails.
              itprabha

              Hi,

              When looked at the url http://localhost:8080/jbossws/services, it displayed the following details.

              
              Registered Service Endpoints
              
              ServiceEndpointID
              ServiceEndpointAddress
              
              jboss.ws:context=shipping,endpoint=shippingServlet http://prabprabd:8080/shipping/shippingService?wsdl
              jboss.ws:context=account,endpoint=accountSystemServlet http://prabprabd:8080/account/accountSystem?wsdl
              jboss.ws:context=hello,endpoint=greeterServlet http://prabprabd:8080/hello/greeter?wsdl
              jboss.ws:context=purchase,endpoint=purchaseOrderServlet http://prabprabd:8080/purchase/purchaseOrder?wsdl
              jboss.ws:context=invoice,endpoint=invoiceServlet http://prabprabd:8080/invoice/invoiceService?wsdl
              jboss.ws:context=purchase,endpoint=invoiceCallbackServlet http://prabprabd:8080/purchase/invoiceCallback?wsdl
              jboss.ws:context=purchase,endpoint=shippingCallbackServlet http://prabprabd:8080/purchase/shippingCallback?wsdl
              jboss.ws:context=translator,endpoint=textTranslatorServlet http://prabprabd:8080/translator/text?wsdl
              jboss.ws:context=ticket,endpoint=ticketIssuerServlet http://prabprabd:8080/ticket/ticketIssuer?wsdl
              jboss.ws:context=atm,endpoint=frontEndServlet http://prabprabd:8080/atm/frontEnd?wsdl
              jboss.ws:context=scheduling,endpoint=schedulingServlet http://prabprabd:8080/scheduling/schedulingProcess?wsdl
              jboss.ws:context=translator,endpoint=documentTranslatorServlet http://prabprabd:8080/translator/document?wsdl