Title: RE: Exposing an EJB as a doc-literal web service

Actually, the build-in Axis EJB Provider can expose the EJB as a doc-literal web service.  In the simplest case, all you have to do is change one line in your deploy.wsdd:

From

<service name="MyService" provider="java:EJB">

to

<service name="MyService" provider="java:EJB" style="wrapped" use="literal">

If you want to use straight up doc-lit and not wrapped style, just set style="document" instead. 

-Wei

-----Original Message-----
From: Rahul Jain [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 07, 2004 10:12 AM
To: [EMAIL PROTECTED]
Subject: Exposing an EJB as a doc-literal web service

Hi,

Can somebody plz gudie me how I would expose an EJB as a doc-literal web
service? The build-in Axis EJB Provider exposes it as a RPC service only.

Thanks.

Rahul.

_________________________________________________________________
Looking to buy a house? Get informed with the Home Buying Guide from MSN
House & Home. http://coldwellbanker.msn.com/

Reply via email to