You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by parameshwarabv <pa...@rediffmail.com> on 2010/08/25 07:35:59 UTC
Problem with LocationURI of cxf-bc with servicemix 3.3.2
Hello,
Recently i upgraded to servicemix 3.3.2 version from 3.2.3. With
this iam facing problem with hosting webservice using servicemix-cxf-bc.
In my xbean i have mentioned
locationURI="http://localhost:14001/Services/ServiceA". This is hosted in a
mchine who's ip is 10.58.121.60.
Now from a remote machine if i make webservice call using
"http://10.58.121.60:14001/Services/ServiceA" address, then i get connection
refused error. The same configuration was working in 3.2.3 where cxf-bc of
component is of 2008.01 version. with 3.3.2 cxf-bc of version 2010.01
but if i change the hosting address to
locationURI="http://10.58.121.60:14001/Services/ServiceA", remote call works
fine.
Is this is how it is expected to work or is it a bug in 3.3.2, or is there
some configuration that i need to specify in my xbean for localhost
configuration to work remotely via the IP address?
--
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-with-LocationURI-of-cxf-bc-with-servicemix-3-3-2-tp2652200p2652200.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Problem with LocationURI of cxf-bc with servicemix 3.3.2
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Yeah, this is how it is expected to work now.
Use localhost generally means you can only access this address from
localhost machine, but not from a remote machine.
If you want to access from remote machine, use a specific address
which you want to access, or just use http://0.0.0.0:port/.. to bind
it to all available network interface on your machine which host smx.
Freeman
On 2010-8-25, at 下午1:35, parameshwarabv wrote:
>
> Hello,
>
> Recently i upgraded to servicemix 3.3.2 version from
> 3.2.3. With
> this iam facing problem with hosting webservice using servicemix-cxf-
> bc.
>
> In my xbean i have mentioned
> locationURI="http://localhost:14001/Services/ServiceA". This is
> hosted in a
> mchine who's ip is 10.58.121.60.
>
> Now from a remote machine if i make webservice call using
> "http://10.58.121.60:14001/Services/ServiceA" address, then i get
> connection
> refused error. The same configuration was working in 3.2.3 where cxf-
> bc of
> component is of 2008.01 version. with 3.3.2 cxf-bc of version 2010.01
>
> but if i change the hosting address to
> locationURI="http://10.58.121.60:14001/Services/ServiceA", remote
> call works
> fine.
>
> Is this is how it is expected to work or is it a bug in 3.3.2, or is
> there
> some configuration that i need to specify in my xbean for localhost
> configuration to work remotely via the IP address?
>
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Problem-with-LocationURI-of-cxf-bc-with-servicemix-3-3-2-tp2652200p2652200.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org