You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Fat Bull <25...@qq.com> on 2014/02/24 03:50:22 UTC

I can't proxy a webService with serviceMix

Hi:
    I am a Beginner with serviceMix, and I'm trying to deploy a proxy for a
external web service.

    But I can't reach the proxy service.I think maybe I made some XML
faults, but i've no idea where is wrong.

    Can you help me check the content of XML ?

    The file [My_Question.docx] discribes what I did.

    Thank you very much!



My_Question.docx
<http://servicemix.396122.n5.nabble.com/file/n5719267/My_Question.docx>  
Hello.wsdl <http://servicemix.396122.n5.nabble.com/file/n5719267/Hello.wsdl>  
xbean.xml <http://servicemix.396122.n5.nabble.com/file/n5719267/xbean.xml>  



--
View this message in context: http://servicemix.396122.n5.nabble.com/I-can-t-proxy-a-webService-with-serviceMix-tp5719267.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: I can't proxy a webService with serviceMix

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,


If you're new to ServiceMix, you probably want to avoid starting with
JBI and use a Camel route with CXF endpoints instead for accessing the
remote webservice.  You can start with a simple Camel file like
http://servicemix.apache.org/docs/4.5.x/quickstart/camel.html and then
add a CXF endpoint in there (more information about this in
http://camel.apache.org/cxf.html)

Not sure we already have a full example around for doing that - I
can't seem to find one at the moment, but I'm sure someone will
correct me if I'm wrong.  If there's no example yet, we should
definitely add one.


Regards,

Gert Vanthienen


On Mon, Feb 24, 2014 at 3:50 AM, Fat Bull <25...@qq.com> wrote:
> Hi:
>     I am a Beginner with serviceMix, and I'm trying to deploy a proxy for a
> external web service.
>
>     But I can't reach the proxy service.I think maybe I made some XML
> faults, but i've no idea where is wrong.
>
>     Can you help me check the content of XML ?
>
>     The file [My_Question.docx] discribes what I did.
>
>     Thank you very much!
>
>
>
> My_Question.docx
> <http://servicemix.396122.n5.nabble.com/file/n5719267/My_Question.docx>
> Hello.wsdl <http://servicemix.396122.n5.nabble.com/file/n5719267/Hello.wsdl>
> xbean.xml <http://servicemix.396122.n5.nabble.com/file/n5719267/xbean.xml>
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/I-can-t-proxy-a-webService-with-serviceMix-tp5719267.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: I can't proxy a webService with serviceMix

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

We have a test case exactly as your scenario, please take a look at it[1], should be a good start

[1]https://svn.apache.org/repos/asf/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



On 2014-2-24, at 上午10:50, Fat Bull wrote:

> Hi:
>    I am a Beginner with serviceMix, and I'm trying to deploy a proxy for a
> external web service.
> 
>    But I can't reach the proxy service.I think maybe I made some XML
> faults, but i've no idea where is wrong.
> 
>    Can you help me check the content of XML ?
> 
>    The file [My_Question.docx] discribes what I did.
> 
>    Thank you very much!
> 
> 
> 
> My_Question.docx
> <http://servicemix.396122.n5.nabble.com/file/n5719267/My_Question.docx>  
> Hello.wsdl <http://servicemix.396122.n5.nabble.com/file/n5719267/Hello.wsdl>  
> xbean.xml <http://servicemix.396122.n5.nabble.com/file/n5719267/xbean.xml>  
> 
> 
> 
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/I-can-t-proxy-a-webService-with-serviceMix-tp5719267.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.