Hmm... if you want to run those two system tests, it would be better to download the servicemix source code, which you can see from this link[1]. The better way to get familiar with it is to see the $SERVICEMIX_HOME/examples/wsdl-first, run this sample need to use maven, detail instruction you can see from the README file.
1.http://servicemix.apache.org/source.html On Jan 13, 2008 10:17 AM, nvijayak <[EMAIL PROTECTED]> wrote: > > > Thanks. So these test cases copied at the end of your reply test the main > wsdl-first service right? I know this will sound like a silly question. I > am > not quite sure where I need to place these test cases and how to execute > them. Does servicemix provide any build script to compile them and to > execute it? I tried importing into eclipse and launching from there but it > seems to complain of launch errors. The other option is that I can create > a > seperate project completely set the classpath and execute from there. But > probably there is someway of doing this from servicemix? > > Thanks, > Nithya > > > Jeff Yu wrote: > > > > Ok, take a step back, I am thinking you are a bit confused with jbi > > binding > > component & service engine. > > The servicemix-http component is a binding component. Logically, binding > > component doesn't provide any business logic, it essentially is a birdge > > to > > communicate with external service. > > service-engine provides the business logic in the JBI container, such as > > servicemix-jsr181 component. > > > > couple errors that you made in your example, firstly, it should be > > xbean.xmlnot > > xbean.wsdl. 2nd, your HttpProviderService class provides business logic, > > it > > should not in the binding component. You can also refer to [1],[2], or > the > > $servicemix/examples/wsdl-first and other examples to know better. > > > > [1] > > > http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-http/src/test/java/org/apache/servicemix/http/ProviderEndpointTest.java > > [2] > > > http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java > > > > > > -- > View this message in context: > http://www.nabble.com/Example-for-http-provider-su-tp14706426s12049p14781472.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Thanks Jeff
