users@glassfish.java.net

Endpoing.publish "NOT SUPPORTED"

From: Mark Hansen <mark_at_javector.com>
Date: Tue, 14 Feb 2006 15:38:40 -0500

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