@jws:wsdl Tag
Specifies a WSDL file that is implemented by a web service or represented by a Service control.
@jws:wsdl file="fileName"
file
Required. Specifies the name of a WSDL file. fileName may begin with the # character, in which case the referenced WSDL file is expected to be found in line in the current file as the value of a @jws:define tag with name attribute value fileName. This arrangement is illustrated in the following example:
import weblogic.jws.control.ServiceControl; /** * @jws:location http-url="creditreport/IRS.jws" jms-url="creditreport/IRS.jws" * @jws:wsdl file="#IRSWsdl" */ public interface IRSControl extends ServiceControl { ... } /** @jws:define name="IRSWsdl" value:: <?xml version=1.0 encoding=utf-8?> <definitions ...> ...remainder of WSDL here... </definitions> :: */
The following rules apply to this tag's use:
When optionally applied to a class in a JWS file:
Only one @jws:wsdl tag may be present within the class' Javadoc comment block.
When optionally applied to an interface in a CTRL file defining a Service control:
Only one @jws:location tag may be present in the interface's Javadoc comment block.
Service Control: Using Another Web Service