Chanchal Tyagi
2012-01-23 06:47:43 UTC
Hi ,
I have used grizzly 1.9.35 and cxf 2.4 for soap based https webservice .
Now i am trying to use grizzly 2.1.8 with cxf 2.4 but could not find API to
create HTTPContext object.
Earlier code was :
final HttpContext context =
GrizzlyHttpContextFactory.createHttpContext(server, contextPath, path);
//server is com.sun.grizzly.http.embed.GrizzlyWebServer;
endpoint = javax.xml.ws.Endpoint.create(soapEndpointService);
endpoint.publish(context); // Use grizzly HTTP context for
publishing
This works fine and i am able to publish webservice on grizzly web server.
Now in 2.1.8
I have created server as instance of
org.glassfish.grizzly.http.server.HttpServer
But not sure how to create HttpContext object as GrizzlyHttpContextFactory
takes GrizzlyWebServe instance as parameter.
Please help!!
Thanks
-Chanchal
I have used grizzly 1.9.35 and cxf 2.4 for soap based https webservice .
Now i am trying to use grizzly 2.1.8 with cxf 2.4 but could not find API to
create HTTPContext object.
Earlier code was :
final HttpContext context =
GrizzlyHttpContextFactory.createHttpContext(server, contextPath, path);
//server is com.sun.grizzly.http.embed.GrizzlyWebServer;
endpoint = javax.xml.ws.Endpoint.create(soapEndpointService);
endpoint.publish(context); // Use grizzly HTTP context for
publishing
This works fine and i am able to publish webservice on grizzly web server.
Now in 2.1.8
I have created server as instance of
org.glassfish.grizzly.http.server.HttpServer
But not sure how to create HttpContext object as GrizzlyHttpContextFactory
takes GrizzlyWebServe instance as parameter.
Please help!!
Thanks
-Chanchal