Thank you for your reply,yes i use maven in the fuse IDE,but i am sorry,my service assembly zip was not built successfully
pascale4 wrote: > > How do you deploy service assembly? With maven? > I don't use maven but I start servicemix (cd $SERViCEMIX_HOME; > ./bin/servicemix) and I copy serviceassembly.zip in > $SERViCEMIX_HOME/install directory. > > Can you attach your service assembly zip? > > > beyond30lyc wrote: >> >> Hello,i want to expose .NET external web service to the jbi using your >> method.my http consumer project is named external-service-consumer,and >> the http provider is named external-service-provider,the assembly is >> named external-service-assembly. >> I have already installed the consumer and the provider.but when i deploy >> the assembly,an error occurs as below: >> [ERROR] mojo-execute : jbi:generate-jbi-service-assembly-descriptor >> Diagnosis: The service unit external-service-http-provider does not have >> a dependency which is packaged as a jbi-component or a project property >> 'componentName' >> FATAL ERROR: Error executing Maven for a project >> [ERROR] project-execute : >> com.mycompany:external-service-assembly:jbi-service-assembly:1.0-SNAPSHOT >> ( task-segment: [install, jbi:projectDeploy] ) >> Diagnosis: The service unit external-service-http-provider does not have >> a dependency which is packaged as a jbi-component or a project property >> 'componentName' >> FATAL ERROR: Error executing Maven for a project >> [INFO] jbi:projectDeploy >> [INFO] snapshot com.mycompany:external-service-assembly:1.0-SNAPSHOT: >> checking for updates from logicblaze >> [INFO] ------------------ Deployment Analysis -------------------- >> [INFO] A custom project has 2 child dependencies >> [INFO] - jbi-service-assembly : C:\Documents and >> Settings\Owner\.m2\repository\com\mycompany\external-service-assembly\1.0-SNAPSHOT\external-service-assembly-1.0-SNAPSHOT.zip >> [INFO] - jbi-component : C:\Documents and >> Settings\Owner\.m2\repository\org\apache\servicemix\servicemix-http\fuse-3.0.1\servicemix-http-fuse-3.0.1-installer.zip >> [INFO] - jbi-shared-library : C:\Documents and >> Settings\Owner\.m2\repository\org\apache\servicemix\servicemix-shared\fuse-3.0.1\servicemix-shared-fuse-3.0.1-installer.zip >> [INFO] ----------------------------------------------------------- >> [INFO] external-service-assembly is deployed >> [INFO] Stopping external-service-assembly >> [INFO] Undeploying C:\Documents and >> Settings\Owner\.m2\repository\com\mycompany\external-service-assembly\1.0-SNAPSHOT\external-service-assembly-1.0-SNAPSHOT.zip >> [INFO] Deploying jbi-service-assembly from C:\Documents and >> Settings\Owner\.m2\repository\com\mycompany\external-service-assembly\1.0-SNAPSHOT\external-service-assembly-1.0-SNAPSHOT.zip >> [INFO] Starting external-service-assembly >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] BUILD SUCCESSFUL >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Total time: 206 second >> [INFO] Finished at: Tue Jan 16 16:52:38 CST 2007 >> [INFO] Memory 10M/24M >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Error for project: A custom project (during install) >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] The service unit external-service-http-provider does not have a >> dependency which is packaged as a jbi-component or a project property >> 'componentName' >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace The service unit external-service-http-provider does not >> have a dependency which is packaged as a jbi-component or a project >> property 'componentName' >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] reactor-execute : D:\TOOLS\DEVELOPING >> TOOLS\eclipse\eclipse2\eclipse\workspace\external-service-assembly >> FATAL ERROR: Error executing Maven for a project >> [INFO] BUILD ERRORS >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 5 minutes 4 seconds >> [INFO] Finished at: Tue Jan 16 16:52:38 CST 2007 >> [INFO] Final Memory: 10M/24M >> [INFO] >> ------------------------------------------------------------------------ >> Exception in thread "main" java.lang.RuntimeException: Apache Maven build >> exception [Some builds failed] >> at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:110) >> Caused by: org.apache.maven.reactor.MavenExecutionException: Some builds >> failed >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:210) >> at >> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:690) >> at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:107) >> > -- View this message in context: http://www.nabble.com/Expose-external-web-service-with-http-component-%28very-simplified%29-tf3014055s12049.html#a8388362 Sent from the ServiceMix - User mailing list archive at Nabble.com.
