Hi,

I have created one binding component as provider.
it  takes only string data in <hello>message</hello> and  return it.
It is not calling service engine right now.

this is my default xbean.xml file

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:replaceMe="http://servicemix.apache.org/replaceMe";>

  <http:endpoint service="replaceMe:withYourService"
                 endpoint="soap"
                 role="provider" 
                 locationURI="http://localhost:8192/example/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true" />             

</beans>


I have deployed the Binding component and service assembly in deploy of
Smix.
But i have not idea how to call the services.

if i take the example of  MySpringComponentTest...
{

 me.setService(new QName("urn:test", "service"));
me.getInMessage().setContent(new StringSource("<hello>Hi 
everybody</hello>"));
        client.sendSync(me);
}


i understand above testing  code.

now  please clarify my 2 points.

1. what changes i have to do xbean.xml?
2. how i can test it?

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#a10372273
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to