[jboss-user] [JBoss jBPM] - bpel - how to configure dynamic endpoint binding?

bpel-user do-not-reply at jboss.com
Tue Jul 10 21:04:18 EDT 2007


Hi,

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 
  |       http://jbpm.org/bpel/bpel_application_1_0.xsd">
  |   <partnerLinks>
  |     <partnerLink name="StockQuotePartnerLink">
  |       <partnerRole initiate="static">
  |         <wsa:EndpointReference xmlns:s="http://www.webserviceX.NET/">
  |           <wsa:Address>http://www.webservicex.net/stockquote.asmx</wsa:Address>
  |           <wsa:ServiceName PortName="StockQuoteSoap">s:StockQuote</wsa:ServiceName>
  |         </wsa:EndpointReference>
  |       </partnerRole>
  |     </partnerLink>
  |   </partnerLinks>
  |   <serviceCatalogs>
  |     <!-- listing of locally published WSDL documents -->
  |     <urlCatalog>
  |       <wsdl location="../wsdl/resources/xml/StockQuote.wsdl" />
  |     </urlCatalog>
  |   </serviceCatalogs>
  | </bpelApplication>

Thank you,
bpel-user

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062766#4062766

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062766



More information about the jboss-user mailing list