You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by chandra shekher gupta <ch...@infoaxon.com> on 2007/05/08 12:42:03 UTC
Hi Nodet
Hi Nodet,
I created Binding component (Provider) no Service Engine.
And I deployed binding component and service assembly to Service mix deploy
directory.
This is my xbean file
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:consumer="http://servicemix.apache.org/consumer">
<http:endpoint service="consumer:service"
endpoint="soap"
role="provider"
locationURI="http://localhost:8192/example/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true" />
</beans>
Look this code too..
Public class MySpringComponentTest extends SpringTestSupport {
public void test() throws Exception {
DefaultServiceMixClient client = new DefaultServiceMixClient(jbi);
InOut me = client.createInOutExchange();
me.setService(new QName("urn:test", "service"));
me.getInMessage().setContent(new StringSource("<hello>Ski wekjrhwekjrh
wqekjrh kwejrhkColorado!</hello>"));
client.sendSync(me);
//////blah blah blah
I want to test BC serviceā¦
SA and BC is deployed propely in service mix ..
How can I accesss my service now ?
Is xbean.xml is right?
Please give your input
Regards
chandra
gnodet wrote:
>
> I would recommend you to read the User's Guide, mainly the JBI section at
> http://incubator.apache.org/servicemix/5-jbi.html
> And take a look at http://incubator.apache.org/servicemix/support.html.
> Sending very general questions is not the best way to get help as people
> do not really understand what the exact problem is.
>
>
> On 5/4/07, chandra shekher gupta <ch...@infoaxon.com> wrote:
>>
>>
>> I am creating ServiceMix Binding component can you please clarify it.
>>
>> Is it write to create first
>>
>> BC then SE and in last SA?
>>
>> Please Help me..i am stuck for long time.
>>
>> Regards
>> chandra
>>
>>
>> chandra shekher gupta wrote:
>> >
>> > Hi eerybody,
>> >
>> > We are Planning to build middleware business suite using ServiceMix.
>> > i recently started to explore servicemix(binary) and maven.
>> >
>> > I tried to follow Hello World BC tutoial.
>> >
>> > so first i created
>> > * helloorld-bc
>> > * helloorld-se
>> > * helloorld-sa
>> >
>> > then i created pom.xml on top level
>> >
>> > <?xml version="1.0" encoding="UTF-8"?>
>> > <project xmlns="http://maven.apache.org/POM/4.0.0"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> > http://maven.apache.org/maven-v4_0_0.xsd">
>> >
>> > <modelVersion>4.0.0</modelVersion>
>> >
>> > <groupId>org.apache.servicemix.samples.helloworld</groupId>
>> > <artifactId>chandra</artifactId>
>> > <packaging>pom</packaging>
>> > <version>1.0-SNAPSHOT</version>
>> > <name>Hello World JBI Component</name>
>> > <modules>
>> > <module>hello-world-sa</module>
>> > <module>hello-world-bc</module>
>> > <module>hello-world-su</module>
>> > </modules>
>> >
>> > </project>
>> >
>> > and when i build mvn clean install it is not creating deployable
>> installer
>> > .zip.
>> > Can anybody help me to give me right direction please.
>> >
>> > Thanks,
>> > chandra shekher gupta
>> > Infoaxon technologies limited.
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/create-HelloWorld-BC-tf3690773s12049.html#a10320474
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/create-HelloWorld-BC-tf3690773s12049.html#a10373496
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.