Download WebLogic Web Service

Transcript
s o ur ce 2 wsd d
Attributes
The following table describes the attributes of the source2wsdd Ant task.
Table B-10 Attributes of the source2wsdd Ant Task
Attribute
Description
Data
Type
Required?
ddFile
Full pathname of the Web Services deployment
descriptor file (web-services.xml) which will
contain the generated deployment descriptor
information.
String
Yes.
ejblink
Specifies the value of the <ejb-link> child element
of the <stateless-ejb> element in the generated
deployment descriptor file for a stateless session
EJB-implemented Web Service. Use this attribute only
if you are generating the web-services.xml file
from an EJB.
String
No.
Note:
The source2wsdd Ant task does not use this
attribute to determine the EJB which it needs to
introspect. Rather, it uses this attribute to
determine what value it should use for the
<ejb-link> element in the generated
web-services.xml file. Use the
javaSource attribute to point to the actual
EJB source file.
If you specify
this attribute,
the required
javaSource
attribute must
point to the
EJB source
file.
The format of this attribute is as follows:
jar-name#ejb-name
jar-name refers to the name of the JAR file, contained
within the Web Service EAR file, that contains the
stateless session EJB. The name should include
pathnames relative to the top level of the EAR file.
ejb-name refers to the name of the stateless session
EJB, corresponding to the <ejb-name> element in the
ejb-jar.xml deployment descriptor file in the EJB
JAR file.
Example: myapp.jar#StockQuoteBean
Programming WebLogic Web Services
B-43