On 7/26/06, Alex Boisvert <[EMAIL PROTECTED]> wrote:
Hi Guillaume,
Just saw your change and I'm wondering what version of PXE you're using
The one I have checked in changes in.
because AsyncProcess2 need a few more changes to get working with the
pxe-iapi branch.
Yeah, I have been able to deploy the service assembly successfully, but
nothing happened.
I'm actually in the process of updating all JBI examples so I want to
make sure I'm not stepping on your toes ;)
I have seen that the jbi component has been updated and i just wanted to
take a look.
Instead of discarding my changes, i have committed them.
Sorry, i guess I am stepping on your toes ;)
Feel free to discard my changes.
I've updated the instructions at
http://pxe.intalio.org/confluence/display/PXE/JBI+Deployment
This leads me to several questions / remarks.
* does the current jbi component expect a wsdl 1.1 wrapped message as
defined in the spec ?
* i have fixed SM-488, will you be able to check that ?
* from a JBI pov, it would be easier to use WSDL 2 (which would avoid the
need to wrap the message)
Would it be theorically possible to support it ? I know that bpel is
defined on wsdl 1.1, so i'm not
sure if it would be possible to use wsdl 2
* when a bpel process send a jbi exchange, it seems you have to completely
define the target jbi endpoint
in the deployment descriptor. I think it should be enhanced to support
only the service name or an
interface name (which would be the port type name defined in the wsdl)
We could also use URIs ( see
http://servicemix.goopen.org/site/uris.html) which leverage JBI external
endpoint
resolution.
and the PingPong example is known to work with the latest ServiceMix
snapshot.
Cool, I will try this one.
Cheers,
Guillaume Nodet
Now I need to review HelloWorld2 and AsyncProcess2.
alex
[EMAIL PROTECTED] wrote:
> Author: gnodet
> Date: Tue Jul 25 15:38:23 2006
> New Revision: 425543
>
> URL: http://svn.apache.org/viewvc?rev=425543&view=rev
> Log:
> Use latest servicemix version.
> Try to fix the jbi samples ...
>
> Added:
>
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml
> Modified:
>
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
> incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-
build.xml
> incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml
> incubator/ode/scratch/pxe-iapi/jbi/pom.xml
> incubator/ode/scratch/pxe-iapi/pom.xml
>
> Modified:
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
> URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml?rev=425543&r1=425542&r2=425543&view=diff
>
==============================================================================
> ---
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
(original)
> +++
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
Tue Jul 25 15:38:23 2006
> @@ -1,4 +1,4 @@
> -<project name="AsyncProcess2" default="sar" >
> +<project name="AsyncProcess2" default="jbi-sa" >
>
> <import file="../example-build.xml" />
>
>
> Added:
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml
> URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml?rev=425543&view=auto
>
==============================================================================
> ---
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml
(added)
> +++
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml
Tue Jul 25 15:38:23 2006
> @@ -0,0 +1,21 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
> +
> + <service-assembly>
> + <identification>
> + <name>AsyncProcess2</name>
> + <description>AsyncProcess2 example</description>
> + </identification>
> + <service-unit>
> + <identification>
> + <name>AsyncProcess2</name>
> + <description>AsyncProcess2 Service Unit</description>
> + </identification>
> + <target>
> + <artifacts-zip>AsyncProcess2-Process.zip</artifacts-zip>
> + <component-name>PxeBpelEngine</component-name>
> + </target>
> + </service-unit>
> + </service-assembly>
> +
> +</jbi>
>
> Modified:
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml
> URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml?rev=425543&r1=425542&r2=425543&view=diff
>
==============================================================================
> --- incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-
build.xml (original)
> +++ incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-
build.xml Tue Jul 25 15:38:23 2006
> @@ -20,6 +20,7 @@
> <property name="rrfilename" value="${ant.project.name}.rr" />
> <property name="wsdlfilename" value="${ant.project.name}.wsdl" />
> <property name="sufilename" value="${ant.project.name}-Process.zip"
/>
> + <property name="safilename" value="${ant.project.name}-sa.zip" />
>
> <property name="uri.wsdl" value="urn:/${ant.project.name}.wsdl" />
> <property name="url.bpel"
value="file:${basedir}/${ant.project.name}.bpel"
/>
> @@ -32,16 +33,18 @@
> <property name="cbpfile" location="${build.dir}/${cbpfilename}" />
> <property name="rrfile" location="${build.dir}/${rrfilename}" />
> <property name="sufile" location="${build.dir}/${sufilename}" />
> + <property name="safile" location="${build.dir}/${safilename}" />
>
> <target name="clean" description="Clean intermediate artifacts.">
> <delete dir="${build.dir}"/>
> </target>
>
>
> - <target name="jbi-sa" description="Generate JBI system assembly."
depends="bpelc">
> - <!-- TODO
> - <antcall target="_sar" />
> - -->
> + <target name="jbi-sa" description="Generate JBI system assembly."
depends="service-unit">
> + <zip destfile="${safile}">
> + <zipfileset file="${sufile}"/>
> + <zipfileset file="jbi.xml" prefix="META-INF"/>
> + </zip>
> </target>
>
> <target name="bpelc" description="Compile BPEL process."
depends="rr">
>
> Modified:
incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml
> URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml?rev=425543&r1=425542&r2=425543&view=diff
>
==============================================================================
> --- incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml
(original)
> +++ incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml
Tue Jul 25 15:38:23 2006
> @@ -54,6 +54,7 @@
> <path-element>lib/cglib.jar</path-element>
> <path-element>lib/asm.jar</path-element>
> <path-element>lib/antlr.jar</path-element>
> + <path-element>lib/quartz.jar</path-element>
>
> </component-class-path>
> <bootstrap-class-name>com.fs.pxe.jbi.PxeBootstrap
</bootstrap-class-name>
>
> Modified: incubator/ode/scratch/pxe-iapi/jbi/pom.xml
> URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi/pom.xml?rev=425543&r1=425542&r2=425543&view=diff
>
==============================================================================
> --- incubator/ode/scratch/pxe-iapi/jbi/pom.xml (original)
> +++ incubator/ode/scratch/pxe-iapi/jbi/pom.xml Tue Jul 25 15:38:23 2006
> @@ -29,7 +29,7 @@
> <artifactId>pxe-minerva</artifactId>
> </dependency>
> <dependency>
> - <groupId>incubator-servicemix</groupId>
> + <groupId>org.apache.servicemix</groupId>
> <artifactId>servicemix-jbi</artifactId>
> </dependency>
> <dependency>
>
> Modified: incubator/ode/scratch/pxe-iapi/pom.xml
> URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/pom.xml?rev=425543&r1=425542&r2=425543&view=diff
>
==============================================================================
> --- incubator/ode/scratch/pxe-iapi/pom.xml (original)
> +++ incubator/ode/scratch/pxe-iapi/pom.xml Tue Jul 25 15:38:23 2006
> @@ -75,7 +75,7 @@
> <junitVersion>3.8.1</junitVersion>
> <log4jVersion>1.2.12</log4jVersion>
> <saxonVersion>8.4</saxonVersion>
> - <servicemixVersion>3.0-SNAPSHOT</servicemixVersion>
> + <servicemixVersion>3.0-incubating-SNAPSHOT</servicemixVersion>
> <staxApiVersion>1.0</staxApiVersion>
> <staxVersion>1.1.2-dev</staxVersion>
> <wsdl4jVersion>1.5.1</wsdl4jVersion>
> @@ -681,7 +681,7 @@
> <version>${geronimoSpecsVersion}</version>
> </dependency>
> <dependency>
> - <groupId>incubator-servicemix</groupId>
> + <groupId>org.apache.servicemix</groupId>
> <artifactId>servicemix-jbi</artifactId>
> <version>${servicemixVersion}</version>
> </dependency>
>
>
>
>