Download Programming WebLogic Web Services

Transcript
C. source2wsdd Tag Reference
Overview of Using source2wsdd Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
@wlws:webservice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
@wlws:operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
@wlws:part partname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
@wlws:exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-11
D. Customizing WebLogic Web Services
Publishing a Static WSDL File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Creating a Custom WebLogic Web Service Home Page . . . . . . . . . . . . . . . . . . . . . . . . . D-2
Configuring Basic Microsoft MIME Types in the Generated web.xml . . . . . . . . . . . . . . D-3
E. Assembling a WebLogic Web Service Manually
Overview of Assembling a WebLogic Web Service Manually . . . . . . . . . . . . . . . . . . . . E-1
Assembling a WebLogic Web Service Manually: Main Steps . . . . . . . . . . . . . . . . . . . . . E-2
Understanding the web-services.xml File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-2
Creating the web-services.xml File Manually: Main Steps . . . . . . . . . . . . . . . . . . . . . . . E-3
Creating the <components> Element. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-5
Creating <operation> Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-6
Specifying the Type of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-6
Specifying the Parameters and Return Value of the Operation . . . . . . . . . . . . . E-8
Examining Different Types of web-services.xml Files. . . . . . . . . . . . . . . . . . . . . . . . . . . E-9
EJB Component Web Service with Built-In Data Types . . . . . . . . . . . . . . . . . . . . . . E-9
EJB Component Web Service with Non-Built-In Data Types . . . . . . . . . . . . . . . . . E-10
EJB Component and SOAP Message Handler Chain Web Service. . . . . . . . . . . . . E-13
SOAP Message Handler Chain Web Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-14
xviii
Programming WebLogic Web Services