openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: WebServices exposed
Date Tue, 05 Aug 2008 19:59:24 GMT

On Aug 5, 2008, at 12:07 PM, hofmanndavid wrote:

>
> I have a problem and have been looking around for some hours
>
> The example simple-webservice works perfectly but when I want to use  
> that
> webservice from another machine it just does not respond. It is like  
> openejb
> only answer requests from localhost.
>
> I need to have openejb in embedded mode into my application. I just  
> need
> openejb to expose one webservice. Is it possible ?
>
> I have not much experience with webservices, but if I could have  
> this done
> in this way it will save my life :)
>
> Please if you could give me any hint I will greatly appreciate that

Absolutely.   Try this adding these properties to the initial context:

         properties.setProperty("httpejbd.port", "4204");
         properties.setProperty("httpejbd.bind", "0.0.0.0");

-David


Mime
View raw message