Hello

I use PXE on Servicemix-3.0-Snapshot from 2006-04-26 on Tomcat 5.5.16.

On BPEL-Process I call via jbiBridge a webservice called worklistService.
This call is asynchron.
For callback BPEL-Process from worklistService i need to use WS-Adressing
information from webservice-header. This information are not supplied. Are
there any options to configure servicemix for supporting WS-Addressing.

My service-definitions in applicationContext.xml:

<?xml version="1.0" encoding="UTF-8"?>
<beans  xmlns="http://xbean.org/schemas/spring/1.0";
                xmlns:sm="http://servicemix.apache.org/config/1.0";
                xmlns:http="http://servicemix.apache.org/http/1.0";
                
xmlns:process="http://bpel.nesko.fin.be.ch/statemachine/process/Form";
        
xmlns:startprozess="http://ws.nesko.fin.be.ch/statemachine/process/startProzess";
                xmlns:wl="http://ws.statemachine.nesko.fin.be.ch/worklist";      
        
                >               

        <!-- the JBI container -->
        <sm:container   id="jbi"
                                rootDir="#rootDir"
                                useMBeanServer="true"
                                        createMBeanServer="true" 
                                installationDirPath="#installDir"
                                deploymentDirPath="#deployDir"
                                        monitorInstallationDirectory="true" 
                                dumpStats="true"
                                        statsInterval="10" 
                                transactionManager="#transactionManager">

    <sm:activationSpecs>
        <!-- START SNIPPET: HTTP-Endpoint -->
        <sm:activationSpec componentName="httpEndpoints">
                <sm:component>
                        <http:component>
                                <http:endpoints>
                                        
                                        <http:endpoint 
service="process:FormErfassenStandardProcessService"
                                                                        
endpoint="FromErfassenStandardProcessPort"
                                                                role="consumer" 
                                                           
locationURI="http://localhost:8192/statemachine/process/FormErfassenStandardProcessService";
                                                            
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; 
                                                        soap="true" />          
                       
                                    </http:endpoints>
                                </http:component>
                        </sm:component>
                </sm:activationSpec>
                <!-- END SNIPPET: HTTP-Endpoint -->  
        <!-- START SNIPPET: Worklist Soap Endpoint Definition -->
        <sm:activationSpec componentName="worklistSoap"                         
                        
                                                   
service="wl:CreateTaskService"
                                                   endpoint="CreateTaskService" 
                                                   
                                                   >
                        <sm:component>
                                <bean 
class="org.apache.servicemix.components.saaj.SaajBinding">
                                        <property name="soapEndpoint">
                                                <bean 
class="javax.xml.messaging.URLEndpoint">
                                                        <constructor-arg
value="http://localhost:8889/statemachine/services/WorklistService"/>
                                        </bean>
                                </property>
                        </bean>
                        </sm:component>
                </sm:activationSpec>
                <!-- END SNIPPET: Worklist Soap Endpoint Definition -->        
    </sm:activationSpecs>
  </sm:container>
  
  <!-- Transaction Manager -->
  <bean id="transactionContextManager"
class="org.jencks.factory.TransactionContextManagerFactoryBean"/>
  <bean id="transactionManager"
class="org.jencks.factory.GeronimoTransactionManagerFactoryBean" /> 

  <!-- Directories relative to web app -->
  <bean id="servletContext"
class="org.springframework.web.context.support.ServletContextFactoryBean" />
  <bean id="rootDir" class="org.springframework.web.util.WebUtils"
factory-method="getRealPath">
    <constructor-arg ref="servletContext" />
    <constructor-arg value="/wdir" />
  </bean>
  <bean id="installDir" class="org.springframework.web.util.WebUtils"
factory-method="getRealPath">
    <constructor-arg ref="servletContext" />
    <constructor-arg value="/install" />
  </bean>
  <bean id="deployDir" class="org.springframework.web.util.WebUtils"
factory-method="getRealPath">
    <constructor-arg ref="servletContext" />
    <constructor-arg value="/deploy" />
  </bean>
</beans>


Thanks for your help.
Oliver
--
View this message in context: 
http://www.nabble.com/WS-Addressing-from-pxe-over-JBI-t1785537.html#a4863047
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to