I created and deployed a camel cxfrs webservice on Glassfish 3.1. 

Here is a snippet from camel-config.xml

<cxf:rsServer id="sample-rest-server"
        serviceClass="com.personal.test.SampleRestService"/>

<route>
            <from uri="cxfrs:bean:sample-rest-server"/>
            <log message="MSG:Received cxf request "/>
</route>

The application deploys fine in GF 3.1. But when I look at the list of
deployed services, I see following:

Available RESTful services:
Endpoint address: http://localhost:46029
WADL : http://localhost:46029?_wadl

I am deploying it on a test server which is not my development machine. Here
are my questions. 

1. My rest of the application on glassfish is running on port 28080, why is
this service is running on a different port ?
2. Why is this port accessible through only localhost (NO FIREWALL). 


If somebody can help, it will be appreciated. 

Thanks




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Rest-WebService-with-cxfrs-is-only-accessible-through-localhost-tp5715179.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to