Download Programming WebLogic Web Services

Transcript
sourc e2w sdd
Table B-9 Attributes of the <security> Element of the servicegen Ant Task
Attribute
Description
Data
Type
Required?
password
Specifies the password used in the username token of the
SOAP response message.
String
Only if your
SOAP
messages
require a
username
token.
String
Only if you
want to
digitally sign
the SOAP
message.
String
Only if you
want to
digitally sign
the SOAP
message.
String
Only if your
SOAP
messages
require a
username
token.
If you do not specify this attribute, the SOAP response
message will not include a username token specification.
signKeyName
The name of the key and certificate pair, stored in
WebLogic Server’s keystore, used to digitally sign the
SOAP message.
If you do not specify this attribute, no part of the SOAP
message will be digitally signed.
signKeyPass
The password of the key and certificate pair, stored in
WebLogic Server’s keystore, used to digitally sign the
SOAP message.
If you do not specify this attribute, no part of the SOAP
message will be digitally signed.
username
Specifies the username used in the username token of the
SOAP response message.
If you do not specify this attribute, the SOAP response
message will not include a username token specification.
source2wsdd
The source2wsdd Ant task generates a web-services.xml deployment descriptor file from the
Java source file for a stateless session EJB- or Java class-implemented WebLogic Web Service.
You can also specify that the WSDL that describes the Web Service be generated.
The source2wsdd Ant task sets the name of the Web Service to the class name of the Java class
or EJB that implements the Web Service. This name will also be the public name of the Web
Service published in its WSDL.
The source2wsdd Ant task does not generate data type mapping information for any non-built-in
data types used as parameters or return values of the methods of your EJB or Java class If your
Programming WebLogic Web Services
B-41