1 Reply Latest reply on Aug 7, 2007 6:36 AM by Felipe

    bpel - how to configure dynamic endpoint binding?

    Meghan Jog Newbie


      We have successfully deployed and tested BPEL processes on JBPM when endpoint address comes from the bundled webservice wsdl files. Now we have a usecase where we get the actual endpoint for webservice at runtime.

      We tried copying that value to 'partnerLink' in 'assign' activity. But BPEL process still tries to call that webservice on old endpoint.

      Is there something we can set in 'bpel-application.xml'? what the values for 'initiate' mode mean? specifically 'push' and 'pull'? Is 'static' supposed to work? Our initial test failed after modifying bpel-application like this -

      <?xml version="1.0" encoding="UTF-8"?>
      <bpelApplication name="Test8" xmlns="http://jbpm.org/bpel" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jbpm.org/bpel
       <partnerLink name="StockQuotePartnerLink">
       <partnerRole initiate="static">
       <wsa:EndpointReference xmlns:s="http://www.webserviceX.NET/">
       <wsa:ServiceName PortName="StockQuoteSoap">s:StockQuote</wsa:ServiceName>
       <!-- listing of locally published WSDL documents -->
       <wsdl location="../wsdl/resources/xml/StockQuote.wsdl" />

      Thank you,