users@glassfish.java.net

Re: Endpoing.publish "NOT SUPPORTED"

From: Vijay Ramachandran <Vijay.Ramachandran_at_Sun.COM>
Date: Tue, 14 Feb 2006 12:53:46 -0800

Hi Mark,

Use of Endpoint.publish is not allowed in JavaEE by JSR109.

Vijay

On Tue, 2006-02-14 at 12:38, Mark Hansen wrote:
> When I try to run this in a static main method:
>
> Endpoint.publish("http://localhost:8080/oms", new RequestOrder());
>
> I get a java.lang.UnsupportedOperationException: NOT SUPPORTED
>
> Looking at the source code in the JAX-WS RI (which I guess is bundled as
> a JAR in Glassfish), I see that the class
> com.sun.net.httpserver.HttpServer is required. Where can I find that
> HttpServer class? Or is there some other way to get
> Endpoint.publish(...) working with Glassfish?
>
> -- Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>