Build failed in Hudson: RiftSaw-ODE-2.1.x #3
by jboss-qa-internal@redhat.com
See <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/3/changes>
Changes:
[jeff.yuchang] * rename it to RiftSaw-ODE-2.1.x
[jeff.yuchang] * commit the fix for ODE unit test.
[jeff.yuchang] * update to 2.1.0-SNAPSHOT version.
[jeff.yuchang] * enable the clearOnComplete() method.
------------------------------------------
[...truncated 2302 lines...]
126 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
127 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
142 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MexProperty" with action "buildSchema".
288 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
289 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
291 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
292 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
294 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
295 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
296 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
297 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
300 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
301 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
302 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
303 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
304 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
305 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
306 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
308 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
310 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
311 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
313 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
314 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
317 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
318 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
319 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
320 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
322 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
323 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
324 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
325 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
326 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
327 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
334 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.ProcessConfPropertyDaoImpl" with action "buildSchema".
339 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
341 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
341 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.XmlDataProperty" with action "buildSchema".
341 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ProcessDAOImpl" with action "buildSchema".
341 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ProcessInstanceDAOImpl" with action "buildSchema".
342 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrelationSetDAOImpl" with action "buildSchema".
342 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageDAOImpl" with action "buildSchema".
342 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.PartnerLinkDAOImpl" with action "buildSchema".
342 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ScopeDAOImpl" with action "buildSchema".
343 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ActivityRecoveryDAOImpl" with action "buildSchema".
343 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.EventDAOImpl" with action "buildSchema".
352 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
353 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
353 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.XmlDataDAOImpl" with action "buildSchema".
354 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.VersionTrackerDAOImpl" with action "buildSchema".
357 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
358 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
359 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageExchangeDAOImpl" with action "buildSchema".
359 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.ProcessConfDaoImpl" with action "buildSchema".
377 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
378 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
379 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
380 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
383 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrSetProperty" with action "buildSchema".
383 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.DeploymentUnitDaoImpl" with action "buildSchema".
383 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageRouteDAOImpl" with action "buildSchema".
384 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrelatorDAOImpl" with action "buildSchema".
384 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.FaultDAOImpl" with action "buildSchema".
384 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Recording mapping and schema changes.
[echo] Done.
[echo] =====================
[echo]
[echo] =====================
[echo] Create DDL oracle
42 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.OracleDictionary".
48 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - No targets were given. Running on all classes listed in your configuration, or all persistent classes in the classpath if no classes are configured. Use -help to display tool usage information.
503 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
505 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
519 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MexProperty" with action "buildSchema".
682 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
684 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
685 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
686 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
694 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
696 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
697 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
698 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
703 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
704 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
705 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
706 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
708 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
709 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
710 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
711 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
714 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
715 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
716 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
717 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
719 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
720 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
721 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
722 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
723 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
724 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
725 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
726 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
727 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
728 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
732 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.ProcessConfPropertyDaoImpl" with action "buildSchema".
736 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
737 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
738 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.XmlDataProperty" with action "buildSchema".
738 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ProcessDAOImpl" with action "buildSchema".
738 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ProcessInstanceDAOImpl" with action "buildSchema".
738 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrelationSetDAOImpl" with action "buildSchema".
738 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageDAOImpl" with action "buildSchema".
738 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.PartnerLinkDAOImpl" with action "buildSchema".
739 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ScopeDAOImpl" with action "buildSchema".
739 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ActivityRecoveryDAOImpl" with action "buildSchema".
739 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.EventDAOImpl" with action "buildSchema".
753 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
754 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
759 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.XmlDataDAOImpl" with action "buildSchema".
759 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.VersionTrackerDAOImpl" with action "buildSchema".
763 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
764 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
765 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageExchangeDAOImpl" with action "buildSchema".
765 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.ProcessConfDaoImpl" with action "buildSchema".
778 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
779 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
780 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
781 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
782 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrSetProperty" with action "buildSchema".
782 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.DeploymentUnitDaoImpl" with action "buildSchema".
783 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageRouteDAOImpl" with action "buildSchema".
783 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrelatorDAOImpl" with action "buildSchema".
783 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.FaultDAOImpl" with action "buildSchema".
783 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Recording mapping and schema changes.
[echo] Done.
[echo] =====================
[echo]
[echo] =====================
[echo] Create DDL postgres
41 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
48 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - No targets were given. Running on all classes listed in your configuration, or all persistent classes in the classpath if no classes are configured. Use -help to display tool usage information.
127 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
128 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
143 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MexProperty" with action "buildSchema".
287 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
288 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
290 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
290 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
292 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
293 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
294 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
295 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
297 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
298 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
299 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
300 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
301 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
302 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
303 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
304 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
306 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
307 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
308 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
309 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
311 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
312 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
313 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
314 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
315 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
316 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
317 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
318 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
319 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
320 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
325 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.ProcessConfPropertyDaoImpl" with action "buildSchema".
330 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
331 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
332 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.XmlDataProperty" with action "buildSchema".
332 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ProcessDAOImpl" with action "buildSchema".
332 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ProcessInstanceDAOImpl" with action "buildSchema".
332 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrelationSetDAOImpl" with action "buildSchema".
333 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageDAOImpl" with action "buildSchema".
333 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.PartnerLinkDAOImpl" with action "buildSchema".
333 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ScopeDAOImpl" with action "buildSchema".
333 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.ActivityRecoveryDAOImpl" with action "buildSchema".
333 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.EventDAOImpl" with action "buildSchema".
342 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
343 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
344 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.XmlDataDAOImpl" with action "buildSchema".
344 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.VersionTrackerDAOImpl" with action "buildSchema".
347 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
348 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
349 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageExchangeDAOImpl" with action "buildSchema".
349 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.ProcessConfDaoImpl" with action "buildSchema".
360 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
361 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
363 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ResourceRouteDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
364 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.MetaData - The class "org.apache.ode.dao.jpa.bpel.ContextValueDAOImpl" listed in the openjpa.MetaDataFactory configuration property could not be loaded; ignoring.
365 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrSetProperty" with action "buildSchema".
365 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.store.DeploymentUnitDaoImpl" with action "buildSchema".
365 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.MessageRouteDAOImpl" with action "buildSchema".
365 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.CorrelatorDAOImpl" with action "buildSchema".
366 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Mapping tool running on type "class org.apache.ode.dao.jpa.bpel.FaultDAOImpl" with action "buildSchema".
366 ode-unit-test-embedded INFO [pool-1-thread-1] openjpa.Tool - Recording mapping and schema changes.
[echo] Done.
[echo] =====================
[INFO] Executed tasks
[INFO] [sql:execute {execution: create-derby-db}]
[INFO] Executing file: <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-jpa-db...>
[INFO] 55 of 55 SQL statements executed successfully
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [assembly:single {execution: default}]
[INFO] Reading assembly descriptor: src/main/assembly/bin.xml
[INFO] Building zip: <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-jpa-db...>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-jpa-db...> to /home/hudson/.m2/repository/org/jboss/soa/bpel/riftsaw-dao-jpa-db/2.1.0-SNAPSHOT/riftsaw-dao-jpa-db-2.1.0-SNAPSHOT.pom
[INFO] Installing <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-jpa-db...> to /home/hudson/.m2/repository/org/jboss/soa/bpel/riftsaw-dao-jpa-db/2.1.0-SNAPSHOT/riftsaw-dao-jpa-db-2.1.0-SNAPSHOT.zip
[HUDSON] Archiving <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-jpa-db...> to /home/hudson/hudson_workspace/jobs/RiftSaw-ODE-2.1.x/modules/org.jboss.soa.bpel$riftsaw-dao-jpa-db/builds/2010-06-16_00-16-19/archive/org.jboss.soa.bpel/riftsaw-dao-jpa-db/2.1.0-SNAPSHOT/pom.xml
[HUDSON] Archiving /home/hudson/.m2/repository/org/jboss/soa/bpel/riftsaw-dao-jpa-db/2.1.0-SNAPSHOT/riftsaw-dao-jpa-db-2.1.0-SNAPSHOT.pom to /home/hudson/hudson_workspace/jobs/RiftSaw-ODE-2.1.x/modules/org.jboss.soa.bpel$riftsaw-dao-jpa-db/builds/2010-06-16_00-16-19/archive/org.jboss.soa.bpel/riftsaw-dao-jpa-db/2.1.0-SNAPSHOT/riftsaw-dao-jpa-db-2.1.0-SNAPSHOT.pom
[HUDSON] Archiving <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-jpa-db...> to /home/hudson/hudson_workspace/jobs/RiftSaw-ODE-2.1.x/modules/org.jboss.soa.bpel$riftsaw-dao-jpa-db/builds/2010-06-16_00-16-19/archive/org.jboss.soa.bpel/riftsaw-dao-jpa-db/2.1.0-SNAPSHOT/ode-db-derby-ojpa-2.1.0-SNAPSHOT.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building ODE :: Hibernate DAO DDL Generation
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [antrun:run {execution: schemagen}]
[INFO] Executing tasks
create-schema:
[echo]
[echo] =====================
[echo] Create DDL derby
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
[HUDSON] Archiving <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-hibern...> to /home/hudson/hudson_workspace/jobs/RiftSaw-ODE-2.1.x/modules/org.jboss.soa.bpel$riftsaw-dao-hib-db/builds/2010-06-16_00-16-19/archive/org.jboss.soa.bpel/riftsaw-dao-hib-db/2.1.0-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
<http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-hibern...>:39: The following error occurred while executing this line:
<http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-hibern...>:85: Schema text failed: Could not parse mapping document from file <http://hudson.qa.jboss.com/hudson/job/RiftSaw-ODE-2.1.x/ws/ODE/dao-hibern...>
duplicate import: HActivityRecovery refers to both org.apache.ode.daohib.bpel.hobj.HActivityRecovery and org.apache.ode.dao.hib.bpel.hobj.HActivityRecovery (try using auto-import="false")
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 48 seconds
[INFO] Finished at: Wed Jun 16 00:20:11 EDT 2010
[INFO] Final Memory: 55M/108M
[INFO] ------------------------------------------------------------------------
channel stopped
14 years, 8 months
riftsaw SVN: r763 - trunk/integration-tests.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-18 11:46:00 -0400 (Fri, 18 Jun 2010)
New Revision: 763
Modified:
trunk/integration-tests/pom.xml
Log:
Woops - checked in exclusion of all but one test.
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2010-06-18 15:44:51 UTC (rev 762)
+++ trunk/integration-tests/pom.xml 2010-06-18 15:46:00 UTC (rev 763)
@@ -553,13 +553,8 @@
</systemProperties>
<testFailureIgnore>true</testFailureIgnore>
<includes>
- <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java</include>
- <!--
- <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanFaultTestCase.java</include>
- <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java</include>
<include>**/*TestCase.java</include>
<include>**/*Test.java</include>
- -->
</includes>
<!-- https://jira.jboss.org/jira/browse/RIFTSAW-34 -->
<excludes>
14 years, 9 months
riftsaw SVN: r762 - branches/RiftSaw-2.1.x/integration-tests.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-18 11:44:51 -0400 (Fri, 18 Jun 2010)
New Revision: 762
Modified:
branches/RiftSaw-2.1.x/integration-tests/pom.xml
Log:
Woops - checked in exclusion of all but one test.
Modified: branches/RiftSaw-2.1.x/integration-tests/pom.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/pom.xml 2010-06-18 15:29:47 UTC (rev 761)
+++ branches/RiftSaw-2.1.x/integration-tests/pom.xml 2010-06-18 15:44:51 UTC (rev 762)
@@ -553,13 +553,8 @@
</systemProperties>
<testFailureIgnore>true</testFailureIgnore>
<includes>
- <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java</include>
- <!--
- <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanFaultTestCase.java</include>
- <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java</include>
<include>**/*TestCase.java</include>
<include>**/*Test.java</include>
- -->
</includes>
<!-- https://jira.jboss.org/jira/browse/RIFTSAW-34 -->
<excludes>
14 years, 9 months
riftsaw SVN: r761 - in branches/RiftSaw-2.1.x/integration-tests: src/test/java/org/jboss/soa/bpel/tests/samples and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-18 11:29:47 -0400 (Fri, 18 Jun 2010)
New Revision: 761
Added:
branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml
Modified:
branches/RiftSaw-2.1.x/integration-tests/build.xml
branches/RiftSaw-2.1.x/integration-tests/pom.xml
Log:
Added missing integration test for invoking normal loan approval request, to accompany the loan fault integration test.
Modified: branches/RiftSaw-2.1.x/integration-tests/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/build.xml 2010-06-18 15:28:38 UTC (rev 760)
+++ branches/RiftSaw-2.1.x/integration-tests/build.xml 2010-06-18 15:29:47 UTC (rev 761)
@@ -140,6 +140,7 @@
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world_extended_timeout/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world_no_extended_timeout/build.xml" />
+ <ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_fault/build.xml" />
<ant antfile="src/test/resources/samples/Tutorial_bpel_atm/build.xml" />
Modified: branches/RiftSaw-2.1.x/integration-tests/pom.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/pom.xml 2010-06-18 15:28:38 UTC (rev 760)
+++ branches/RiftSaw-2.1.x/integration-tests/pom.xml 2010-06-18 15:29:47 UTC (rev 761)
@@ -553,8 +553,13 @@
</systemProperties>
<testFailureIgnore>true</testFailureIgnore>
<includes>
+ <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java</include>
+ <!--
+ <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanFaultTestCase.java</include>
+ <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java</include>
<include>**/*TestCase.java</include>
<include>**/*Test.java</include>
+ -->
</includes>
<!-- https://jira.jboss.org/jira/browse/RIFTSAW-34 -->
<excludes>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java 2010-06-18 15:29:47 UTC (rev 761)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_loan_approval sample from an ESB service.
+ */
+public class QuickstartESBBPELLoanApprovalTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_esb_bpel_loan_approval";
+
+ public QuickstartESBBPELLoanApprovalTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartESBBPELLoanApprovalTestCase.class,
+ TEST_NAME, "Quickstart_esb_bpel_loan_approval.esb,../Quickstart_bpel_loan_approval/Quickstart_bpel_loan_approval-1.jar,../Quickstart_bpel_loan_approval/Quickstart_bpel_loan_approval.war"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendESBMessage("<request><firstName>Fred</firstName><name>Bloggs</name><amount>1000</amount></request>",
+ "LoanApprovalBPELESB", "LoanApproval");
+
+ if (result == null || result.contains("<accept>yes</accept>") == false) {
+ fail("Invalid result");
+ }
+ }
+}
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml 2010-06-18 15:29:47 UTC (rev 761)
@@ -0,0 +1,28 @@
+<project name="Quickstart_esb_bpel_loan_approval" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <zip destfile="${deploy.dir}/${ant.project.name}/${sample.esb.name}">
+ <zipfileset dir="${test.dir}" includes="deployment.xml" fullpath="META-INF/deployment.xml"/>
+ <zipfileset dir="${test.dir}" includes="jboss-esb.xml" fullpath="META-INF/jboss-esb.xml"/>
+ <zipfileset dir="${test.dir}" includes="jbm-queue-service.xml" fullpath="jbm-queue-service.xml"/>
+ </zip>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml 2010-06-18 15:29:47 UTC (rev 761)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_gw</depends>
+</jbossesb-deployment>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml 2010-06-18 15:29:47 UTC (rev 761)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml 2010-06-18 15:29:47 UTC (rev 761)
@@ -0,0 +1,51 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_approval_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_approval_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="LoanApprovalBPELESB"
+ name="LoanApproval"
+ description="Successful loan approval">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="loanApproval"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
+ <property name="operation" value="request" />
+ <property name="abortOnFault" value="true" />
+ </action>
+ <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
14 years, 9 months
riftsaw SVN: r760 - in trunk/integration-tests: src/test/java/org/jboss/soa/bpel/tests/samples and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-18 11:28:38 -0400 (Fri, 18 Jun 2010)
New Revision: 760
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml
Modified:
trunk/integration-tests/build.xml
trunk/integration-tests/pom.xml
Log:
Added missing integration test for invoking normal loan approval request, to accompany the loan fault integration test.
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-06-18 13:56:11 UTC (rev 759)
+++ trunk/integration-tests/build.xml 2010-06-18 15:28:38 UTC (rev 760)
@@ -140,6 +140,7 @@
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world_extended_timeout/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world_no_extended_timeout/build.xml" />
+ <ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_fault/build.xml" />
<ant antfile="src/test/resources/samples/Tutorial_bpel_atm/build.xml" />
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2010-06-18 13:56:11 UTC (rev 759)
+++ trunk/integration-tests/pom.xml 2010-06-18 15:28:38 UTC (rev 760)
@@ -553,8 +553,13 @@
</systemProperties>
<testFailureIgnore>true</testFailureIgnore>
<includes>
+ <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java</include>
+ <!--
+ <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanFaultTestCase.java</include>
+ <include>org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java</include>
<include>**/*TestCase.java</include>
<include>**/*Test.java</include>
+ -->
</includes>
<!-- https://jira.jboss.org/jira/browse/RIFTSAW-34 -->
<excludes>
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELLoanApprovalTestCase.java 2010-06-18 15:28:38 UTC (rev 760)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_loan_approval sample from an ESB service.
+ */
+public class QuickstartESBBPELLoanApprovalTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_esb_bpel_loan_approval";
+
+ public QuickstartESBBPELLoanApprovalTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartESBBPELLoanApprovalTestCase.class,
+ TEST_NAME, "Quickstart_esb_bpel_loan_approval.esb,../Quickstart_bpel_loan_approval/Quickstart_bpel_loan_approval-1.jar,../Quickstart_bpel_loan_approval/Quickstart_bpel_loan_approval.war"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendESBMessage("<request><firstName>Fred</firstName><name>Bloggs</name><amount>1000</amount></request>",
+ "LoanApprovalBPELESB", "LoanApproval");
+
+ if (result == null || result.contains("<accept>yes</accept>") == false) {
+ fail("Invalid result");
+ }
+ }
+}
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml 2010-06-18 15:28:38 UTC (rev 760)
@@ -0,0 +1,28 @@
+<project name="Quickstart_esb_bpel_loan_approval" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <zip destfile="${deploy.dir}/${ant.project.name}/${sample.esb.name}">
+ <zipfileset dir="${test.dir}" includes="deployment.xml" fullpath="META-INF/deployment.xml"/>
+ <zipfileset dir="${test.dir}" includes="jboss-esb.xml" fullpath="META-INF/jboss-esb.xml"/>
+ <zipfileset dir="${test.dir}" includes="jbm-queue-service.xml" fullpath="jbm-queue-service.xml"/>
+ </zip>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/deployment.xml 2010-06-18 15:28:38 UTC (rev 760)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_gw</depends>
+</jbossesb-deployment>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jbm-queue-service.xml 2010-06-18 15:28:38 UTC (rev 760)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_approval_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_loan_approval/jboss-esb.xml 2010-06-18 15:28:38 UTC (rev 760)
@@ -0,0 +1,51 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_approval_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_approval_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="LoanApprovalBPELESB"
+ name="LoanApproval"
+ description="Successful loan approval">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="loanApproval"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
+ <property name="operation" value="request" />
+ <property name="abortOnFault" value="true" />
+ </action>
+ <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
14 years, 9 months
riftsaw SVN: r759 - in trunk/integration-tests: src/test/java/org/jboss/soa/bpel/tests and 5 other directories.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-06-18 09:56:11 -0400 (Fri, 18 Jun 2010)
New Revision: 759
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml
trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml
Modified:
trunk/integration-tests/build.xml
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java
Log:
* add integration test for activity recover feature.
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-06-18 13:33:39 UTC (rev 758)
+++ trunk/integration-tests/build.xml 2010-06-18 13:56:11 UTC (rev 759)
@@ -151,6 +151,7 @@
<ant antfile="src/test/resources/testcases/RiftSaw_154/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_70/build.xml" />
+ <ant antfile="src/test/resources/testcases/RiftSaw_209/build.xml" />
<ant antfile="src/test/resources/tutorials/BluePrint1/build.xml" />
<ant antfile="src/test/resources/tutorials/BluePrint2/build.xml" />
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java 2010-06-18 13:33:39 UTC (rev 758)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java 2010-06-18 13:56:11 UTC (rev 759)
@@ -133,7 +133,7 @@
// Temporary wait until able to sync detect deployed ok
try {
synchronized(this) {
- wait(10000);
+ wait(20* 1000);
}
} catch(Exception e) {
e.printStackTrace();
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.testcases;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the RiftSaw_10_doclit testcase.
+ */
+public class RiftSaw209TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "RiftSaw_209";
+
+ public RiftSaw209TestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(RiftSaw209TestCase.class,
+ TEST_NAME, "RiftSaw_209-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/RiftSaw_209WS");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://sop/hw"
+ targetNamespace="http://sop/hw"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ id="CustomerSchema">
+
+
+<xs:complexType name="CustomerType">
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" name="CustomerID" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Name" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Address" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="City" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Country" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="PostalCode" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Phone" nillable="false" type="xs:int"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="DOB" nillable="false" type="xs:date"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Occupation" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="EmployerName" nillable="true" type="xs:string"/>
+ </xs:sequence>
+</xs:complexType>
+
+
+<xs:element name="Customer" type="CustomerType" nillable="false"/>
+
+
+</xs:schema>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<xs:schema attributeFormDefault="unqualified"
+ elementFormDefault="qualified" id="CustomerSchema"
+ targetNamespace="http://pg/demo/crm/customerschema"
+ xmlns="http://pg/demo/crm/customerschema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:complexType name="CustomerType1">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="CustomerID"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Name"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Address"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="City"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Country"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="PostalCode"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Phone"
+ nillable="false" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="DOB"
+ nillable="false" type="xs:date"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Occupation"
+ nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="EmployerName"
+ nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="Customer1" nillable="false" type="CustomerType1"/>
+</xs:schema>
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<s0:definitions name="CustomerManagementDefinitions" targetNamespace="http://pg.demo.crm.CustomerManagement" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://pg/demo/crm/customerservice/schema" xmlns:s2="http://pg.demo.crm.CustomerManagement" xmlns:s3="http://schemas.xmlsoap.org/wsdl/soap/">
+ <s0:types>
+ <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://pg/demo/crm/customerservice/schema" xmlns:s0="http://pg.demo.crm.CustomerManagement" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:serviceschema="http://pg/demo/crm/customerservice/schema" xmlns:ss="http://pg/demo/crm/customerschema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import namespace="http://pg/demo/crm/customerschema" schemaLocation="Customer1.xsd"/>
+ <xs:element name="getCustomerInfo">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Customer_ID" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getCustomerInfoResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="CustomerInfo" type="ss:CustomerType1"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </s0:types>
+ <s0:message name="getCustomerInfo">
+ <s0:part element="s1:getCustomerInfo" name="parameters"/>
+ </s0:message>
+ <s0:message name="getCustomerInfoResponse">
+ <s0:part element="s1:getCustomerInfoResponse" name="parameters"/>
+ </s0:message>
+ <s0:portType name="CustomerManagementPortType">
+ <s0:operation name="getCustomerInfo" parameterOrder="parameters">
+ <s0:input message="s2:getCustomerInfo"/>
+ <s0:output message="s2:getCustomerInfoResponse"/>
+ </s0:operation>
+ </s0:portType>
+ <s0:binding name="CustomerManagementSoapBinding" type="s2:CustomerManagementPortType">
+ <s3:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <s0:operation name="getCustomerInfo">
+ <s3:operation style="document"/>
+ <s0:input>
+ <s3:body parts="parameters" use="literal"/>
+ </s0:input>
+ <s0:output>
+ <s3:body parts="parameters" use="literal"/>
+ </s0:output>
+ </s0:operation>
+ </s0:binding>
+ <s0:service name="CustomerManagement">
+ <s0:port binding="s2:CustomerManagementSoapBinding" name="CustomerManagementSoapPort">
+ <s3:address location="http://localhost:7001/Customer/2_0/CustomerManagement"/>
+ </s0:port>
+ </s0:service>
+</s0:definitions>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:hw="http://sop/hw" xmlns:pg.demo.crm.CustomerManagement="http://pg.demo.crm.CustomerManagement">
+ <process name="hw:sop_hw">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="client">
+ <service name="hw:sop_hw" port="sop_hwPort"/>
+ </provide>
+ <invoke partnerLink="PL_GetCustomer">
+ <service name="pg.demo.crm.CustomerManagement:CustomerManagement" port="CustomerManagementSoapPort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,204 @@
+<!-- sop_hw BPEL Process [Generated by the Eclipse BPEL Designer] -->
+<bpel:process name="sop_hw"
+ targetNamespace="http://sop/hw"
+ suppressJoinFailure="yes"
+ xmlns:tns="http://sop/hw"
+ xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:ns1="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://pg/demo/crm/customerschema" xmlns:ns3="http://pg.demo.crm.CustomerManagement" xmlns:ns="http://pg/demo/crm/customerservice/schema">
+
+<!--
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+
+ -->
+ <!-- Import the client WSDL -->
+ <bpel:import namespace="http://pg.demo.crm.CustomerManagement" location="CustomerManagement.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
+ <bpel:import location="sop_hwArtifacts.wsdl" namespace="http://sop/hw"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+
+ <!-- ================================================================= -->
+ <!-- PARTNERLINKS -->
+ <!-- List of services participating in this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:partnerLinks>
+ <!-- The 'client' role represents the requester of this service. -->
+ <bpel:partnerLink name="client"
+ partnerLinkType="tns:sop_hw"
+ myRole="sop_hwProvider"
+ />
+
+ <bpel:partnerLink name="PL_GetCustomer" partnerLinkType="tns:GetCustomer" partnerRole="getcustomer"></bpel:partnerLink>
+ </bpel:partnerLinks>
+
+ <!-- ================================================================= -->
+ <!-- VARIABLES -->
+ <!-- List of messages and XML documents used within this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:variables>
+ <!-- Reference to the message passed as input during initiation -->
+ <bpel:variable name="input" messageType="tns:sop_hwRequestMessage"/>
+
+ <!--
+ Reference to the message that will be returned to the requester
+ -->
+ <bpel:variable name="output"
+ messageType="tns:sop_hwResponseMessage"/>
+ <bpel:variable name="temp" type="ns1:string"></bpel:variable>
+ <bpel:variable name="gc_input" messageType="ns3:getCustomerInfo"></bpel:variable>
+ <bpel:variable name="gc_output" messageType="ns3:getCustomerInfoResponse"></bpel:variable>
+
+
+ <bpel:variable name="l_custfullname" type="ns1:string"></bpel:variable>
+ <bpel:variable name="temp2" type="ns1:string"></bpel:variable>
+ </bpel:variables>
+
+ <!-- ================================================================= -->
+ <!-- ORCHESTRATION LOGIC -->
+ <!-- Set of activities coordinating the flow of messages across the -->
+ <!-- services integrated within this business process -->
+ <!-- ================================================================= -->
+ <bpel:sequence name="main">
+
+ <!-- Receive input from requester.
+ Note: This maps to operation defined in sop_hw.wsdl
+ -->
+
+
+
+ <!-- Generate reply to synchronous request -->
+
+ <bpel:receive name="receiveInput" partnerLink="client" portType="tns:sop_hw" operation="process" variable="input" createInstance="yes" />
+ <bpel:sequence name="Sequence">
+ <bpel:assign validate="no" name="AssignName">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:sop_hwResponse xmlns:tns="http://sop/hw" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:result></tns:result>
+</tns:sop_hwResponse>
+</bpel:literal></bpel:from>
+ <bpel:to variable="output" part="payload"></bpel:to>
+ </bpel:copy>
+
+ <bpel:copy><bpel:from part="payload" variable="input">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:input/tns:Name]]></bpel:query>
+ </bpel:from>
+ <bpel:to variable="temp"></bpel:to>
+
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from>
+
+ <![CDATA[concat($temp, ' Hello sujatha !!')]]>
+ </bpel:from><bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[tns:result]]>
+ </bpel:query>
+ </bpel:to>
+
+
+ </bpel:copy>
+ </bpel:assign>
+
+ <bpel:assign validate="no" name="init_gc_input">
+ <bpel:copy>
+ <bpel:from><bpel:literal><serviceschema:getCustomerInfo xmlns:p="http://pg/demo/crm/customerschema" xmlns:serviceschema="http://pg/demo/crm/customerservice/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <serviceschema:Customer_ID></serviceschema:Customer_ID>
+</serviceschema:getCustomerInfo>
+</bpel:literal></bpel:from>
+ <bpel:to variable="gc_input" part="parameters"></bpel:to>
+ </bpel:copy>
+
+ <bpel:copy>
+ <bpel:from variable="temp"></bpel:from>
+ <bpel:to part="parameters" variable="gc_input">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns:Customer_ID]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke name="Invoke" partnerLink="PL_GetCustomer"
+ operation="getCustomerInfo"
+ portType="ns3:CustomerManagementPortType"
+ inputVariable="gc_input"
+ outputVariable="gc_output"
+ >
+
+ <ext:failureHandling xmlns:ext="http://ode.apache.org/activityRecovery">
+ <ext:faultOnFailure>true</ext:faultOnFailure>
+ <ext:retryFor>0</ext:retryFor>
+ <ext:retryDelay>30</ext:retryDelay>
+ </ext:failureHandling>
+
+ <bpel:catchAll><bpel:sequence><bpel:reply name="ReplyOutput" partnerLink="client" portType="tns:sop_hw" operation="process" variable="output" /></bpel:sequence></bpel:catchAll></bpel:invoke>
+ <bpel:assign validate="no" name="getFullName">
+ <bpel:copy>
+ <bpel:from><bpel:literal><ns2:sop_hwResponse xmlns:ns2="http://sop/hw" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:result></ns2:result>
+</ns2:sop_hwResponse>
+</bpel:literal></bpel:from>
+ <bpel:to variable="output" part="payload"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="parameters" variable="gc_output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns:CustomerInfo/ns2:Name]]></bpel:query>
+ </bpel:from>
+ <bpel:to variable="l_custfullname"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from variable="l_custfullname"></bpel:from>
+ <bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:if name="CheckNameSujatha">
+ <bpel:condition><![CDATA[$l_custfullname='Sujatha Kuppuraju' ]]></bpel:condition>
+ <bpel:assign validate="no" name="Assign">
+ <bpel:copy>
+ <bpel:from><bpel:literal><ns2:sop_hwResponse xmlns:ns2="http://sop/hw" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:result></ns2:result>
+</ns2:sop_hwResponse>
+</bpel:literal></bpel:from>
+ <bpel:to variable="output" part="payload"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal xml:space="preserve">YOU ARE SUJATHA KUPPURAJU</bpel:literal>
+ </bpel:from>
+ <bpel:to variable="temp">
+ </bpel:to>
+ </bpel:copy>
+
+ <bpel:copy><bpel:from expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[concat($temp, ' U R Office in ', $gc_output.parameters/ns:CustomerInfo/ns2:Address)]]>
+ </bpel:from>
+ <bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[tns:result]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:else>
+ <bpel:assign validate="no" name="Assign1">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal xml:space="preserve">YOU ARE NOT SUJATHA</bpel:literal>
+ </bpel:from>
+ <bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:else>
+ </bpel:if>
+ </bpel:sequence>
+
+ <bpel:reply name="replyOutput"
+ partnerLink="client"
+ portType="tns:sop_hw"
+ operation="process"
+ variable="output"
+ />
+ </bpel:sequence>
+</bpel:process>
+
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://sop/hw" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://pg.demo.crm.CustomerManagement" name="sop_hw" targetNamespace="http://sop/hw">
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ TYPE DEFINITION - List of types participating in this BPEL process
+ The BPEL Designer will generate default request and response types
+ but you can define or import any XML Schema type and use them as part
+ of the message types.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <plnk:partnerLinkType name="GetCustomer">
+ <plnk:role name="getcustomer" portType="wsdl:CustomerManagementPortType"/>
+ </plnk:partnerLinkType>
+ <import location="CustomerManagement.wsdl" namespace="http://pg.demo.crm.CustomerManagement"/>
+ <types>
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://sop/hw" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://sop/hw">
+
+ <include schemaLocation="Customer.xsd">
+ </include>
+
+ <element name="sop_hwRequest">
+ <complexType>
+ <sequence>
+ <element name="input" type="ns2:CustomerType"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="sop_hwResponse">
+ <complexType>
+ <sequence>
+ <element name="result" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ MESSAGE TYPE DEFINITION - Definition of the message types used as
+ part of the port type defintions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <message name="sop_hwRequestMessage">
+ <part element="tns:sop_hwRequest" name="payload"/>
+ </message>
+ <message name="sop_hwResponseMessage">
+ <part element="tns:sop_hwResponse" name="payload"/>
+ </message>
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ PORT TYPE DEFINITION - A port type groups a set of operations into
+ a logical service unit.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+
+ <!-- portType implemented by the sop_hw BPEL process -->
+ <portType name="sop_hw">
+ <operation name="process">
+ <input message="tns:sop_hwRequestMessage"/>
+ <output message="tns:sop_hwResponseMessage"/>
+ </operation>
+ </portType>
+
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ PARTNER LINK TYPE DEFINITION
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <plnk:partnerLinkType name="sop_hw">
+ <plnk:role name="sop_hwProvider" portType="tns:sop_hw"/>
+ </plnk:partnerLinkType>
+
+ <binding name="sop_hwBinding" type="tns:sop_hw">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="process">
+ <soap:operation soapAction="http://sop/hw/process"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="sop_hw">
+ <port binding="tns:sop_hwBinding" name="sop_hwPort">
+ <soap:address location="http://localhost:8080/RiftSaw_209WS"/>
+ </port>
+ </service>
+</definitions>
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,30 @@
+<project name="RiftSaw_209" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/testcases/${ant.project.name}" />
+
+ <property name="jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,19 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hw="http://sop/hw">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <hw:sop_hwRequest>
+ <hw:input>
+ <hw:CustomerID>1</hw:CustomerID>
+ <hw:Name>test</hw:Name>
+ <hw:Address>test address</hw:Address>
+ <hw:City>city</hw:City>
+ <hw:Country>country</hw:Country>
+ <hw:PostalCode>2</hw:PostalCode>
+ <hw:Phone>7</hw:Phone>
+ <hw:DOB>12</hw:DOB>
+ <hw:Occupation>23</hw:Occupation>
+ <hw:EmployerName>65</hw:EmployerName>
+ </hw:input>
+ </hw:sop_hwRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml 2010-06-18 13:56:11 UTC (rev 759)
@@ -0,0 +1,3 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><sop_hwResponse xmlns='http://sop/hw'>
+ <tns:result xmlns:tns='http://sop/hw'>test Hello sujatha !!</tns:result>
+</sop_hwResponse></env:Body></env:Envelope>
14 years, 9 months
riftsaw SVN: r758 - in branches/RiftSaw-2.1.x/integration-tests: src/test/java/org/jboss/soa/bpel/tests and 5 other directories.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-06-18 09:33:39 -0400 (Fri, 18 Jun 2010)
New Revision: 758
Added:
branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml
Modified:
branches/RiftSaw-2.1.x/integration-tests/build.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java
Log:
* update the delay time to 20 sec for integration test.
* add integration test for activity recovery feature.
Modified: branches/RiftSaw-2.1.x/integration-tests/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/build.xml 2010-06-18 07:52:57 UTC (rev 757)
+++ branches/RiftSaw-2.1.x/integration-tests/build.xml 2010-06-18 13:33:39 UTC (rev 758)
@@ -151,6 +151,7 @@
<ant antfile="src/test/resources/testcases/RiftSaw_154/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_70/build.xml" />
+ <ant antfile="src/test/resources/testcases/RiftSaw_209/build.xml" />
<ant antfile="src/test/resources/tutorials/BluePrint1/build.xml" />
<ant antfile="src/test/resources/tutorials/BluePrint2/build.xml" />
Modified: branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java 2010-06-18 07:52:57 UTC (rev 757)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestSetup.java 2010-06-18 13:33:39 UTC (rev 758)
@@ -133,7 +133,7 @@
// Temporary wait until able to sync detect deployed ok
try {
synchronized(this) {
- wait(10000);
+ wait(20* 1000);
}
} catch(Exception e) {
e.printStackTrace();
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw209TestCase.java 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.testcases;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the RiftSaw_10_doclit testcase.
+ */
+public class RiftSaw209TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "RiftSaw_209";
+
+ public RiftSaw209TestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(RiftSaw209TestCase.class,
+ TEST_NAME, "RiftSaw_209-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/RiftSaw_209WS");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer.xsd 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://sop/hw"
+ targetNamespace="http://sop/hw"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ id="CustomerSchema">
+
+
+<xs:complexType name="CustomerType">
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" name="CustomerID" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Name" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Address" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="City" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Country" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="PostalCode" nillable="false" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Phone" nillable="false" type="xs:int"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="DOB" nillable="false" type="xs:date"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Occupation" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="EmployerName" nillable="true" type="xs:string"/>
+ </xs:sequence>
+</xs:complexType>
+
+
+<xs:element name="Customer" type="CustomerType" nillable="false"/>
+
+
+</xs:schema>
\ No newline at end of file
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/Customer1.xsd 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<xs:schema attributeFormDefault="unqualified"
+ elementFormDefault="qualified" id="CustomerSchema"
+ targetNamespace="http://pg/demo/crm/customerschema"
+ xmlns="http://pg/demo/crm/customerschema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:complexType name="CustomerType1">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="CustomerID"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Name"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Address"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="City"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Country"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="PostalCode"
+ nillable="false" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Phone"
+ nillable="false" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="DOB"
+ nillable="false" type="xs:date"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="Occupation"
+ nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="EmployerName"
+ nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="Customer1" nillable="false" type="CustomerType1"/>
+</xs:schema>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/CustomerManagement.wsdl 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<s0:definitions name="CustomerManagementDefinitions" targetNamespace="http://pg.demo.crm.CustomerManagement" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://pg/demo/crm/customerservice/schema" xmlns:s2="http://pg.demo.crm.CustomerManagement" xmlns:s3="http://schemas.xmlsoap.org/wsdl/soap/">
+ <s0:types>
+ <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://pg/demo/crm/customerservice/schema" xmlns:s0="http://pg.demo.crm.CustomerManagement" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:serviceschema="http://pg/demo/crm/customerservice/schema" xmlns:ss="http://pg/demo/crm/customerschema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import namespace="http://pg/demo/crm/customerschema" schemaLocation="Customer1.xsd"/>
+ <xs:element name="getCustomerInfo">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Customer_ID" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getCustomerInfoResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="CustomerInfo" type="ss:CustomerType1"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </s0:types>
+ <s0:message name="getCustomerInfo">
+ <s0:part element="s1:getCustomerInfo" name="parameters"/>
+ </s0:message>
+ <s0:message name="getCustomerInfoResponse">
+ <s0:part element="s1:getCustomerInfoResponse" name="parameters"/>
+ </s0:message>
+ <s0:portType name="CustomerManagementPortType">
+ <s0:operation name="getCustomerInfo" parameterOrder="parameters">
+ <s0:input message="s2:getCustomerInfo"/>
+ <s0:output message="s2:getCustomerInfoResponse"/>
+ </s0:operation>
+ </s0:portType>
+ <s0:binding name="CustomerManagementSoapBinding" type="s2:CustomerManagementPortType">
+ <s3:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <s0:operation name="getCustomerInfo">
+ <s3:operation style="document"/>
+ <s0:input>
+ <s3:body parts="parameters" use="literal"/>
+ </s0:input>
+ <s0:output>
+ <s3:body parts="parameters" use="literal"/>
+ </s0:output>
+ </s0:operation>
+ </s0:binding>
+ <s0:service name="CustomerManagement">
+ <s0:port binding="s2:CustomerManagementSoapBinding" name="CustomerManagementSoapPort">
+ <s3:address location="http://localhost:7001/Customer/2_0/CustomerManagement"/>
+ </s0:port>
+ </s0:service>
+</s0:definitions>
\ No newline at end of file
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/bpel-deploy.xml 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:hw="http://sop/hw" xmlns:pg.demo.crm.CustomerManagement="http://pg.demo.crm.CustomerManagement">
+ <process name="hw:sop_hw">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="client">
+ <service name="hw:sop_hw" port="sop_hwPort"/>
+ </provide>
+ <invoke partnerLink="PL_GetCustomer">
+ <service name="pg.demo.crm.CustomerManagement:CustomerManagement" port="CustomerManagementSoapPort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hw.bpel 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,204 @@
+<!-- sop_hw BPEL Process [Generated by the Eclipse BPEL Designer] -->
+<bpel:process name="sop_hw"
+ targetNamespace="http://sop/hw"
+ suppressJoinFailure="yes"
+ xmlns:tns="http://sop/hw"
+ xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:ns1="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://pg/demo/crm/customerschema" xmlns:ns3="http://pg.demo.crm.CustomerManagement" xmlns:ns="http://pg/demo/crm/customerservice/schema">
+
+<!--
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+
+ -->
+ <!-- Import the client WSDL -->
+ <bpel:import namespace="http://pg.demo.crm.CustomerManagement" location="CustomerManagement.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
+ <bpel:import location="sop_hwArtifacts.wsdl" namespace="http://sop/hw"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+
+ <!-- ================================================================= -->
+ <!-- PARTNERLINKS -->
+ <!-- List of services participating in this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:partnerLinks>
+ <!-- The 'client' role represents the requester of this service. -->
+ <bpel:partnerLink name="client"
+ partnerLinkType="tns:sop_hw"
+ myRole="sop_hwProvider"
+ />
+
+ <bpel:partnerLink name="PL_GetCustomer" partnerLinkType="tns:GetCustomer" partnerRole="getcustomer"></bpel:partnerLink>
+ </bpel:partnerLinks>
+
+ <!-- ================================================================= -->
+ <!-- VARIABLES -->
+ <!-- List of messages and XML documents used within this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:variables>
+ <!-- Reference to the message passed as input during initiation -->
+ <bpel:variable name="input" messageType="tns:sop_hwRequestMessage"/>
+
+ <!--
+ Reference to the message that will be returned to the requester
+ -->
+ <bpel:variable name="output"
+ messageType="tns:sop_hwResponseMessage"/>
+ <bpel:variable name="temp" type="ns1:string"></bpel:variable>
+ <bpel:variable name="gc_input" messageType="ns3:getCustomerInfo"></bpel:variable>
+ <bpel:variable name="gc_output" messageType="ns3:getCustomerInfoResponse"></bpel:variable>
+
+
+ <bpel:variable name="l_custfullname" type="ns1:string"></bpel:variable>
+ <bpel:variable name="temp2" type="ns1:string"></bpel:variable>
+ </bpel:variables>
+
+ <!-- ================================================================= -->
+ <!-- ORCHESTRATION LOGIC -->
+ <!-- Set of activities coordinating the flow of messages across the -->
+ <!-- services integrated within this business process -->
+ <!-- ================================================================= -->
+ <bpel:sequence name="main">
+
+ <!-- Receive input from requester.
+ Note: This maps to operation defined in sop_hw.wsdl
+ -->
+
+
+
+ <!-- Generate reply to synchronous request -->
+
+ <bpel:receive name="receiveInput" partnerLink="client" portType="tns:sop_hw" operation="process" variable="input" createInstance="yes" />
+ <bpel:sequence name="Sequence">
+ <bpel:assign validate="no" name="AssignName">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:sop_hwResponse xmlns:tns="http://sop/hw" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:result></tns:result>
+</tns:sop_hwResponse>
+</bpel:literal></bpel:from>
+ <bpel:to variable="output" part="payload"></bpel:to>
+ </bpel:copy>
+
+ <bpel:copy><bpel:from part="payload" variable="input">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:input/tns:Name]]></bpel:query>
+ </bpel:from>
+ <bpel:to variable="temp"></bpel:to>
+
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from>
+
+ <![CDATA[concat($temp, ' Hello sujatha !!')]]>
+ </bpel:from><bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[tns:result]]>
+ </bpel:query>
+ </bpel:to>
+
+
+ </bpel:copy>
+ </bpel:assign>
+
+ <bpel:assign validate="no" name="init_gc_input">
+ <bpel:copy>
+ <bpel:from><bpel:literal><serviceschema:getCustomerInfo xmlns:p="http://pg/demo/crm/customerschema" xmlns:serviceschema="http://pg/demo/crm/customerservice/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <serviceschema:Customer_ID></serviceschema:Customer_ID>
+</serviceschema:getCustomerInfo>
+</bpel:literal></bpel:from>
+ <bpel:to variable="gc_input" part="parameters"></bpel:to>
+ </bpel:copy>
+
+ <bpel:copy>
+ <bpel:from variable="temp"></bpel:from>
+ <bpel:to part="parameters" variable="gc_input">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns:Customer_ID]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke name="Invoke" partnerLink="PL_GetCustomer"
+ operation="getCustomerInfo"
+ portType="ns3:CustomerManagementPortType"
+ inputVariable="gc_input"
+ outputVariable="gc_output"
+ >
+
+ <ext:failureHandling xmlns:ext="http://ode.apache.org/activityRecovery">
+ <ext:faultOnFailure>true</ext:faultOnFailure>
+ <ext:retryFor>0</ext:retryFor>
+ <ext:retryDelay>30</ext:retryDelay>
+ </ext:failureHandling>
+
+ <bpel:catchAll><bpel:sequence><bpel:reply name="ReplyOutput" partnerLink="client" portType="tns:sop_hw" operation="process" variable="output" /></bpel:sequence></bpel:catchAll></bpel:invoke>
+ <bpel:assign validate="no" name="getFullName">
+ <bpel:copy>
+ <bpel:from><bpel:literal><ns2:sop_hwResponse xmlns:ns2="http://sop/hw" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:result></ns2:result>
+</ns2:sop_hwResponse>
+</bpel:literal></bpel:from>
+ <bpel:to variable="output" part="payload"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="parameters" variable="gc_output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns:CustomerInfo/ns2:Name]]></bpel:query>
+ </bpel:from>
+ <bpel:to variable="l_custfullname"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from variable="l_custfullname"></bpel:from>
+ <bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:if name="CheckNameSujatha">
+ <bpel:condition><![CDATA[$l_custfullname='Sujatha Kuppuraju' ]]></bpel:condition>
+ <bpel:assign validate="no" name="Assign">
+ <bpel:copy>
+ <bpel:from><bpel:literal><ns2:sop_hwResponse xmlns:ns2="http://sop/hw" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:result></ns2:result>
+</ns2:sop_hwResponse>
+</bpel:literal></bpel:from>
+ <bpel:to variable="output" part="payload"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal xml:space="preserve">YOU ARE SUJATHA KUPPURAJU</bpel:literal>
+ </bpel:from>
+ <bpel:to variable="temp">
+ </bpel:to>
+ </bpel:copy>
+
+ <bpel:copy><bpel:from expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[concat($temp, ' U R Office in ', $gc_output.parameters/ns:CustomerInfo/ns2:Address)]]>
+ </bpel:from>
+ <bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[tns:result]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:else>
+ <bpel:assign validate="no" name="Assign1">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal xml:space="preserve">YOU ARE NOT SUJATHA</bpel:literal>
+ </bpel:from>
+ <bpel:to part="payload" variable="output">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:else>
+ </bpel:if>
+ </bpel:sequence>
+
+ <bpel:reply name="replyOutput"
+ partnerLink="client"
+ portType="tns:sop_hw"
+ operation="process"
+ variable="output"
+ />
+ </bpel:sequence>
+</bpel:process>
+
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/bpel/sop_hwArtifacts.wsdl 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://sop/hw" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://pg.demo.crm.CustomerManagement" name="sop_hw" targetNamespace="http://sop/hw">
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ TYPE DEFINITION - List of types participating in this BPEL process
+ The BPEL Designer will generate default request and response types
+ but you can define or import any XML Schema type and use them as part
+ of the message types.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <plnk:partnerLinkType name="GetCustomer">
+ <plnk:role name="getcustomer" portType="wsdl:CustomerManagementPortType"/>
+ </plnk:partnerLinkType>
+ <import location="CustomerManagement.wsdl" namespace="http://pg.demo.crm.CustomerManagement"/>
+ <types>
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://sop/hw" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://sop/hw">
+
+ <include schemaLocation="Customer.xsd">
+ </include>
+
+ <element name="sop_hwRequest">
+ <complexType>
+ <sequence>
+ <element name="input" type="ns2:CustomerType"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="sop_hwResponse">
+ <complexType>
+ <sequence>
+ <element name="result" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ MESSAGE TYPE DEFINITION - Definition of the message types used as
+ part of the port type defintions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <message name="sop_hwRequestMessage">
+ <part element="tns:sop_hwRequest" name="payload"/>
+ </message>
+ <message name="sop_hwResponseMessage">
+ <part element="tns:sop_hwResponse" name="payload"/>
+ </message>
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ PORT TYPE DEFINITION - A port type groups a set of operations into
+ a logical service unit.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+
+ <!-- portType implemented by the sop_hw BPEL process -->
+ <portType name="sop_hw">
+ <operation name="process">
+ <input message="tns:sop_hwRequestMessage"/>
+ <output message="tns:sop_hwResponseMessage"/>
+ </operation>
+ </portType>
+
+
+<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ PARTNER LINK TYPE DEFINITION
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <plnk:partnerLinkType name="sop_hw">
+ <plnk:role name="sop_hwProvider" portType="tns:sop_hw"/>
+ </plnk:partnerLinkType>
+
+ <binding name="sop_hwBinding" type="tns:sop_hw">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="process">
+ <soap:operation soapAction="http://sop/hw/process"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="sop_hw">
+ <port binding="tns:sop_hwBinding" name="sop_hwPort">
+ <soap:address location="http://localhost:8080/RiftSaw_209WS"/>
+ </port>
+ </service>
+</definitions>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/build.xml 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,30 @@
+<project name="RiftSaw_209" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/testcases/${ant.project.name}" />
+
+ <property name="jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${jar.name}" />
+ </target>
+
+</project>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_request1.xml 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,19 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hw="http://sop/hw">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <hw:sop_hwRequest>
+ <hw:input>
+ <hw:CustomerID>1</hw:CustomerID>
+ <hw:Name>test</hw:Name>
+ <hw:Address>test address</hw:Address>
+ <hw:City>city</hw:City>
+ <hw:Country>country</hw:Country>
+ <hw:PostalCode>2</hw:PostalCode>
+ <hw:Phone>7</hw:Phone>
+ <hw:DOB>12</hw:DOB>
+ <hw:Occupation>23</hw:Occupation>
+ <hw:EmployerName>65</hw:EmployerName>
+ </hw:input>
+ </hw:sop_hwRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/testcases/RiftSaw_209/messages/hello_response1.xml 2010-06-18 13:33:39 UTC (rev 758)
@@ -0,0 +1,3 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><sop_hwResponse xmlns='http://sop/hw'>
+ <tns:result xmlns:tns='http://sop/hw'>test Hello sujatha !!</tns:result>
+</sop_hwResponse></env:Body></env:Envelope>
14 years, 9 months
riftsaw SVN: r757 - branches/RiftSaw-ODE-2.1.x/bpel-runtime/src/main/java/org/apache/ode/bpel/engine.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-06-18 03:52:57 -0400 (Fri, 18 Jun 2010)
New Revision: 757
Modified:
branches/RiftSaw-ODE-2.1.x/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
Log:
* RIFTSAW-223, fix this issue.
Modified: branches/RiftSaw-ODE-2.1.x/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
===================================================================
--- branches/RiftSaw-ODE-2.1.x/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java 2010-06-17 15:08:32 UTC (rev 756)
+++ branches/RiftSaw-ODE-2.1.x/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java 2010-06-18 07:52:57 UTC (rev 757)
@@ -580,6 +580,11 @@
public void reply(final PartnerLinkInstance plinkInstnace, final String opName, final String mexId, Element msg,
QName fault) throws FaultException {
String mexRef = _imaManager.release(plinkInstnace, opName, mexId);
+
+ if (mexRef == null) {
+ throw new FaultException(_bpelProcess.getOProcess().constants.qnMissingRequest);
+ }
+
reply2(plinkInstnace, opName, mexId, msg, fault, false, mexRef);
}
14 years, 9 months