Thanks Bruce for clarifying that for me. Accept my apologies if, by referring to you as a third person, the apparent distance this created seemed impolite. I was trying to involve the participation of others who might have had something to say on the matter too.
I'll get back to you with the next problem, :) Owen. -----Original Message----- From: Bruce Snyder [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 12:52 PM To: [email protected] Subject: Re: Maven archetype for jsr181 component. On 4/2/07, Owen Thomas <[EMAIL PROTECTED]> wrote: > Oh yea... one other thing. > > I assumed that I had followed as Bruce's instructions correctly when the > only component I had in my service assembly was the jsr-181 service > engine. I assume that I did not need an HTTP binding component or > something similar to talk to the service engine from outside ServiceMix > because (I could have been mistaken) his instructions did not appear to > specify it. I now see that I neglected to include the step to create the HTTP consumer. In order to access the JSR181 SU that you created from outside the JBI container (e.g., using SoapUI), you will need to expose it with an HTTP consumer. Below is the command to create this SU: mvn archetype:create \ -DarchetypeGroupId=org.apache.servicemix.tooling \ -DarchetypeArtifactId=servicemix-http-consumer-service-unit \ -DarchetypeVersion=3.1-incubating \ -DgroupId=<insert-java-package-name-here> \ -DartifactId=<insert-project-name-here> \ -DremoteRepositories=http://people.apache.org/repo/m2-incubating-reposit ory Instructions on configuring the HTTP consumer are available here: http://incubator.apache.org/servicemix/servicemix-http.html Then the HTTP consumer SU can be be bundled into the SA by adding a dependency in the SA's pom.xml for the HTTP consumer. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor - http://castor.org/
