0 Replies Latest reply on Jan 4, 2006 1:08 AM by Roy Forever

    About WSDL message's part name

    Roy Forever Newbie

      Excuse me,

      I would like to know what is the reason the message's part name cannot same?

      Part of WSDL

      <message name="SynchronousProcessRequestMessage">
       <part type="my:SynchronousProcessRequestType" name="payload1"/>
      </message>
      <message name="SynchronousProcessResponseMessage">
       <part type="my:SynchronousProcessResponseType" name="payload1"/>
      </message>
      

      Read the deployed WSDL
      13:48:41,609 FATAL [InternalException] Exception:
      java.lang.Exception: The OperationDesc for process was not synchronized to a method of synchronousProcess.testing.Synchr
      onousProcess.
       at org.jboss.axis.InternalException.<init>(InternalException.java:106)
       at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:870)
       at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1217)
       at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1063)
       at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:984)
       at org.jboss.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:732)
       at org.jboss.webservice.server.InvokerProvider.initServiceDesc(InvokerProvider.java:95)
       at org.jboss.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:388)
       at org.jboss.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:560)
       at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
       at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
       at org.jboss.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:526)
       at org.jboss.axis.configuration.FileProvider.getService(FileProvider.java:288)
       at org.jboss.axis.AxisEngine.getService(AxisEngine.java:253)
       at org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:58)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      


      If I modify part name to make sure all names are unique
      <message name="SynchronousProcessRequestMessage">
       <part type="my:SynchronousProcessRequestType" name="payload1"/>
      </message>
      <message name="SynchronousProcessResponseMessage">
       <part type="my:SynchronousProcessResponseType" name="payload2"/>
      </message>
      

      Read the deployed WSDL without any error.

      Is it a bug of jBPM BPEL or my misunderstanding?
      In addition, I am using jbpm-bpel-1.0-alpha4 in jboss-4.0.2

      Thank you very much ^^
      Roy