users@glassfish.java.net

Re: Endpoing.publish "NOT SUPPORTED"

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

Then, what is a use case for Endpoint.publish ?? Is this intended for
Java SE ??

Vijay Ramachandran wrote:

>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
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>