You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by new2servicemix <va...@gmail.com> on 2008/01/23 14:52:37 UTC

Exposing a Web Service Through ServiceMix.

Hello,

I am new to ServiceMix and have read most of the documentation available on
the website. This is what I want to achieve.

1) I have a WebService on a Jboss container.
2) I want to configure a consumer and provider endpoints on ESB. 
3) Application will send request to consumer endpoint which should be
forwarded to provider endpoint.
4) Provider endpoint will call the webservice described in point 1 and
return it to the client.

Please let me know which JBI component to use, and how to configure it. Any
example configuration to achieve this will help a lot.
-- 
View this message in context: http://www.nabble.com/Exposing-a-Web-Service-Through-ServiceMix.-tp15042098s12049p15042098.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: building trunk

Posted by Bruce Snyder <br...@gmail.com>.
On Jan 24, 2008 2:03 AM,  <ma...@uk.bnpparibas.com> wrote:
> hi all
>  i managed to get trunk from svn... however, when i build it it gives me
> the following error
>
> [INFO] Plugin could not be found - check that the goal name is correct:
> Unable t
> o download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.servicemix.tooling
> -DartifactI
> d=jbi-maven-plugin \
>         -Dversion=3.3-SNAPSHOT -Dpackaging=maven-plugin
> -Dfile=/path/to/file

You need to follow the build instructions here:

http://servicemix.apache.org/building.html

The two step process is required for the initial build to get a copy
of the jbi-maven-plugin into your local Maven repo for the version of
SMX that you're building.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

building trunk

Posted by ma...@uk.bnpparibas.com.
hi all
 i managed to get trunk from svn... however, when i build it it gives me 
the following error

[INFO] Plugin could not be found - check that the goal name is correct: 
Unable t
o download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.servicemix.tooling 
-DartifactI
d=jbi-maven-plugin \
        -Dversion=3.3-SNAPSHOT -Dpackaging=maven-plugin 
-Dfile=/path/to/file


  org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  servicemix-m2-repo 
(http://svn.apache.org/repos/asf/servicemix/m2-repo/),
  apache-incubating 
(http://people.apache.org/repo/m2-incubating-repository),
  apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository/),
  codehaus (http://repository.codehaus.org/),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  dist.codehaus.org (http://dist.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org/),
  apache-releases 
(http://people.apache.org/repo/m2-ibiblio-rsync-repository)


am i forgetting any repositories/plugin repositories?

when i started using svcmix 3.2.1, i have added this to my maven settings

<pluginRepository>
                          <id>apache-incubating</id>
 <url>http://people.apache.org/repo/m2-incubating-repository</url>
                </pluginRepository>


<repository>
                    <id>apache-incubating</id>
 <url>http://people.apache.org/repo/m2-incubating-repository</url>
                </repository>



anyone  could help?

thanks and regards
 marco



This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.


Re: Exposing a Web Service Through ServiceMix.

Posted by Freeman Fang <fr...@iona.com>.
Hi,

You can use servicemix-http component as well, something like
App1 on Jboss ---> servicemix-http cosumner --> servicemix-http provider 
--> Axis Web Services on Jboss

Best Regards

Freeman

new2servicemix wrote:
> Thanks for the reply,
>
> I would like to understand why servicemix-http component cannot be used. My
> exact scenario is
>
> App1 on Jboss---> ESB-->Axis Web Services on Jboss
>
> How to achieve this scenario ?
>
> Thanks.
>
>
> Freeman Fang wrote:
>   
>> Hi,
>>
>> I believe you can do it with servicemix-cxf-bc, [1] is a test what is 
>> very similiar as your scenario.
>> [1]http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
>>
>> Best Regards
>>
>> Freeman
>>
>> new2servicemix wrote:
>>     
>>> Hello,
>>>
>>> I am new to ServiceMix and have read most of the documentation available
>>> on
>>> the website. This is what I want to achieve.
>>>
>>> 1) I have a WebService on a Jboss container.
>>> 2) I want to configure a consumer and provider endpoints on ESB. 
>>> 3) Application will send request to consumer endpoint which should be
>>> forwarded to provider endpoint.
>>> 4) Provider endpoint will call the webservice described in point 1 and
>>> return it to the client.
>>>
>>> Please let me know which JBI component to use, and how to configure it.
>>> Any
>>> example configuration to achieve this will help a lot.
>>>   
>>>       
>>     
>
>   

Re: Exposing a Web Service Through ServiceMix.

Posted by new2servicemix <va...@gmail.com>.
Thanks for the reply,

I would like to understand why servicemix-http component cannot be used. My
exact scenario is

App1 on Jboss---> ESB-->Axis Web Services on Jboss

How to achieve this scenario ?

Thanks.


Freeman Fang wrote:
> 
> Hi,
> 
> I believe you can do it with servicemix-cxf-bc, [1] is a test what is 
> very similiar as your scenario.
> [1]http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
> 
> Best Regards
> 
> Freeman
> 
> new2servicemix wrote:
>> Hello,
>>
>> I am new to ServiceMix and have read most of the documentation available
>> on
>> the website. This is what I want to achieve.
>>
>> 1) I have a WebService on a Jboss container.
>> 2) I want to configure a consumer and provider endpoints on ESB. 
>> 3) Application will send request to consumer endpoint which should be
>> forwarded to provider endpoint.
>> 4) Provider endpoint will call the webservice described in point 1 and
>> return it to the client.
>>
>> Please let me know which JBI component to use, and how to configure it.
>> Any
>> example configuration to achieve this will help a lot.
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/Exposing-a-Web-Service-Through-ServiceMix.-tp15042098s12049p15059198.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exposing a Web Service Through ServiceMix.

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

I believe you can do it with servicemix-cxf-bc, [1] is a test what is 
very similiar as your scenario.
[1]http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java

Best Regards

Freeman

new2servicemix wrote:
> Hello,
>
> I am new to ServiceMix and have read most of the documentation available on
> the website. This is what I want to achieve.
>
> 1) I have a WebService on a Jboss container.
> 2) I want to configure a consumer and provider endpoints on ESB. 
> 3) Application will send request to consumer endpoint which should be
> forwarded to provider endpoint.
> 4) Provider endpoint will call the webservice described in point 1 and
> return it to the client.
>
> Please let me know which JBI component to use, and how to configure it. Any
> example configuration to achieve this will help a lot.
>