incubator-agila-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tngu...@symcor.com
Subject Re: No process instance (recipient) found
Date Wed, 08 Feb 2006 15:34:04 GMT

Davide,

In this email, I post the bpel file and wsdef file.

Matthieu,

I am using Axis 1.1 to generate the wsdl file, any problem if I am using
Axis 1.1 instead of 1.2 ? (I know Agila using Axis 1.2).

Thanks
Tu


                                                                           
             Matthieu Riou                                                 
             <matthieu.riou@gm                                             
             ail.com>                                                   To 
                                       agila-user@incubator.apache.org     
             02/08/2006 03:17                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: No process instance (recipient) 
             Please respond to         found                               
             agila-user@incuba                                             
              tor.apache.org                                               
                                                                           
                                                                           
                                                                           
                                                                           




Could you also post the message you're sending?

Thanks,

Matthieu.

>I try to send a message to the engine and I got this error, and I
could notsee the message in the instance.  My bpel process may be
wrong.  How do yougive define a LocalPort, so that I can send the
message to the engine.[Agila] DEBUG
[http-8080-Processor23]MessageControllerImpl.acknowledge(322) | Step
5.[Agila] DEBUG [http-8080-Processor23]
AgilaEngineImpl.acknowledge(72) | Anactivity instance has been
found.[Agila] INFO
[http-8080-Processor23]DBSessionManager.commitTransaction(100) |
Commiting transaction with thread :
Thread[http-8080-Processor23,5,main][Agila] WARN
[http-8080-Processor23] AgilaEngineImpl.acknowledge(135) | Noprocess
instance (recipient) found, that is waiting for message.[Agila] DEBUG
[http-8080-Processor23] EngineWSA.sendToEngine(118) |Producing reply:
<?xml versionu003d"1.0"
encodingu003d"UTF-8"?><message><return-code>1</return-code></message>I
don't know you guys see what's wrong in this bpel and wsdl file: (or
anysuggestion?)Bpel definition file:<process
nameu003d"tecpbpel"targetNamespaceu003d"http://www.symcor.com/tecp/process/
"suppressJoinFailureu003d"yes"xmlns:tnsu003d"
http://www.symcor.com/tecp/definition/"xmlnsu003d"
http://schemas.xmlsoap.org/ws/2003/03/business-process/">
     <partnerLinks>            <partnerLink nameu003d"tecp"
partnerLinkTypeu003d"tns:tecpbpelLT"myRoleu003d"initiator"/>
 <partnerLink
nameu003d"exceptionservice"partnerLinkTypeu003d"tns:exceptionServiceLT"
myRoleu003d"handleException"/>      </partnerLinks>      <variables>
         <variable nameu003d"receiveInput"
messageTypeu003d"tns:inputRequest"/>            <variable
nameu003d"input"messageTypeu003d"tns:processExceptionItemsRequest"/>
         <variable
nameu003d"output"messageTypeu003d"tns:processExceptionItemsResponse"/>
     </variables>      <sequence>            <receive
nameu003d"receiveInput"
partnerLinku003d"tecp"portTypeu003d"tns:servicePT"
operationu003d"service"
variableu003d"receiveInput"createInstanceu003d"yes">
</receive>            <assign>                  <copy>
       <from variableu003d"receiveInput"></from>
 <to variableu003d"output"></to>                  </copy>
</assign>            <invoke
nameu003d"callExceptionService"partnerLinku003d"exceptionservice"
portTypeu003d"tns:ExceptionService"operationu003d"tns:processExceptionItem"
inputVariableu003d"input"outputVariableu003d"output">
</invoke>            <reply nameu003d"reply" partnerLinku003d"tecp"
portTypeu003d"tns:servicePT"operationu003d"service"
variableu003d"output">            </reply>
</sequence></process>WSDL definition file<xml
versionu003d"1.0"?><definitions nameu003d"tecpbpel"
targetNamespaceu003d"http://www.symcor.com/tecp/definition/"
xmlns:tnsu003d"http://www.symcor.com/tecp/definition/"
xmlns:plnku003d"http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
     xmlns:wsdlu003d"http://schemas.xmlsoap.org/wsdl/"
xmlns:soapu003d"http://schemas.xmlsoap.org/wsdl/soap/"
xmlnsu003d"http://schemas.xmlsoap.org/wsdl/">    <types>
<schema attributeFormDefaultu003d"unqualified"
elementFormDefaultu003d"qualified"
xmlnsu003d"http://www.w3.org/2001/XMLSchema"                >
<complexType nameu003d"SearchResultSummary">                <sequence>
                <element nameu003d"account" nillableu003d"true"
typeu003d"string"/>                 <element nameu003d"amount"
typeu003d"double"/>                 <element nameu003d"exceptionDate"
nillableu003d"true"typeu003d"long"/>                 <element
nameu003d"fi" nillableu003d"true" typeu003d"string"/>
<element nameu003d"mailTransit" nillableu003d"true"typeu003d"string"/>
                <element nameu003d"reasonCode" nillableu003d"true"
typeu003d"string"/>                 <element nameu003d"sequence"
nillableu003d"true" typeu003d"string"/>                 <element
nameu003d"transitID" nillableu003d"true" typeu003d"string"/>
      <element nameu003d"SLA" nillableu003d"true" typeu003d"string"/>
               <element nameu003d"completionDate" typeu003d"long"/>
            </sequence>         </complexType>       </schema></types>
   <message nameu003d"inputRequest">        <part
nameu003d"inputSummaries" typeu003d"tns:SearchResultSummary"/>
</message>    <message nameu003d"processExceptionItemsRequest">
<part nameu003d"summaries" typeu003d"tns:SearchResultSummary"/>
</message>      <message nameu003d"processExceptionItemsResponse">
   <part
nameu003d"processExceptionItemsReturn"typeu003d"tns:SearchResultSummary"/>
   </message>    <portType nameu003d"servicePT">      <operation
nameu003d"service">            <input messageu003d"tns:inputRequest"
/>            <output messageu003d"tns:processExceptionItemsResponse"
/>      </operation>    </portType>    <portType
nameu003d"ExceptionService">        <operation
nameu003d"processExceptionItem" parameterOrderu003d"summaries">
    <input messageu003d"tns:processExceptionItemsRequest"/>
<output messageu003d"tns:processExceptionItemsResponse"/>
</operation>    </portType>       <binding
nameu003d"ExceptionServiceSoapBinding"typeu003d"tns:ExceptionService">
     <soap:binding
styleu003d"rpc"transportu003d"http://schemas.xmlsoap.org/soap/http"/>
      <operation nameu003d"processExceptionItem">
<soap:operation soapActionu003d""/>            <input>
 <soap:body useu003d"encoded"namespaceu003d"http://www.symcor.com/tecp
"encodingStyleu003d"http://schemas.xmlsoap.org/soap/encoding/"/>
           </input>            <output>                  <soap:body
useu003d"encoded"namespaceu003d"http://www.symcor.com/tecp
"encodingStyleu003d"http://schemas.xmlsoap.org/soap/encoding/"/>
           </output>        </operation>    </binding>   <service
nameu003d"ExceptionServiceService">      <port
nameu003d"ExceptionService"bindingu003d"tns:ExceptionServiceSoapBinding">
        <soap:addresslocationu003d"
http://localhost:8080/tecpWS/services/ExceptionService"/>
     </port>   </service>    <plnk:partnerLinkType
nameu003d"tecpbpelLT">        <plnk:role nameu003d"initiator">
   <plnk:portType nameu003d"tns:servicePT"/>        </plnk:role>
</plnk:partnerLinkType>     <plnk:partnerLinkType
nameu003d"exceptionServiceLT">        <plnk:role
nameu003d"handleException">            <plnk:portType
nameu003d"tns:ExceptionService"/>        </plnk:role>
</plnk:partnerLinkType></definitions>ThanksTu



Mime
View raw message