KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > tools > common > dd > webapp > Servlet


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /**
25  * This generated bean class Servlet matches the schema element servlet
26  *
27  * Generated on Tue Sep 02 18:08:42 PDT 2003
28  */

29
30 package com.sun.enterprise.tools.common.dd.webapp;
31
32 import org.w3c.dom.*;
33 import org.netbeans.modules.schema2beans.*;
34 import java.beans.*;
35 import java.util.*;
36 import com.sun.enterprise.tools.common.dd.WebserviceEndpoint;
37
38 // BEGIN_NOI18N
39

40 public class Servlet extends com.sun.enterprise.tools.common.dd.SunBaseBean
41 {
42
43     static Vector comparators = new Vector();
44
45     static public final String JavaDoc SERVLET_NAME = "ServletName"; // NOI18N
46
static public final String JavaDoc PRINCIPAL_NAME = "PrincipalName"; // NOI18N
47
static public final String JavaDoc WEBSERVICE_ENDPOINT = "WebserviceEndpoint"; // NOI18N
48

49     public Servlet() {
50         this(Common.USE_DEFAULT_VALUES);
51     }
52
53     public Servlet(int options)
54     {
55         super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
56         // Properties (see root bean comments for the bean graph)
57
this.createProperty("servlet-name", // NOI18N
58
SERVLET_NAME,
59             Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
60             String JavaDoc.class);
61         this.createProperty("principal-name", // NOI18N
62
PRINCIPAL_NAME,
63             Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
64             String JavaDoc.class);
65         this.createProperty("webservice-endpoint", // NOI18N
66
WEBSERVICE_ENDPOINT,
67             Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
68             WebserviceEndpoint.class);
69         this.initialize(options);
70     }
71
72     // Setting the default values of the properties
73
void initialize(int options)
74     {
75         
76     }
77
78     // This attribute is mandatory
79
public void setServletName(String JavaDoc value) {
80         this.setValue(SERVLET_NAME, value);
81     }
82
83     //
84
public String JavaDoc getServletName() {
85         return (String JavaDoc)this.getValue(SERVLET_NAME);
86     }
87
88     // This attribute is optional
89
public void setPrincipalName(String JavaDoc value) {
90         this.setValue(PRINCIPAL_NAME, value);
91     }
92
93     //
94
public String JavaDoc getPrincipalName() {
95         return (String JavaDoc)this.getValue(PRINCIPAL_NAME);
96     }
97
98     // This attribute is an array, possibly empty
99
public void setWebserviceEndpoint(int index, WebserviceEndpoint value) {
100         this.setValue(WEBSERVICE_ENDPOINT, index, value);
101     }
102
103     //
104
public WebserviceEndpoint getWebserviceEndpoint(int index) {
105         return (WebserviceEndpoint)this.getValue(WEBSERVICE_ENDPOINT, index);
106     }
107
108     // This attribute is an array, possibly empty
109
public void setWebserviceEndpoint(WebserviceEndpoint[] value) {
110         this.setValue(WEBSERVICE_ENDPOINT, value);
111     }
112
113     //
114
public WebserviceEndpoint[] getWebserviceEndpoint() {
115         return (WebserviceEndpoint[])this.getValues(WEBSERVICE_ENDPOINT);
116     }
117
118     // Return the number of properties
119
public int sizeWebserviceEndpoint() {
120         return this.size(WEBSERVICE_ENDPOINT);
121     }
122
123     // Add a new element returning its index in the list
124
public int addWebserviceEndpoint(WebserviceEndpoint value) {
125         return this.addValue(WEBSERVICE_ENDPOINT, value);
126     }
127
128     //
129
// Remove an element using its reference
130
// Returns the index the element had in the list
131
//
132
public int removeWebserviceEndpoint(WebserviceEndpoint value) {
133         return this.removeValue(WEBSERVICE_ENDPOINT, value);
134     }
135
136     //
137
public static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c) {
138         comparators.add(c);
139     }
140
141     //
142
public static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c) {
143         comparators.remove(c);
144     }
145     public void validate() throws org.netbeans.modules.schema2beans.ValidateException {
146         boolean restrictionFailure = false;
147         // Validating property servletName
148
if (getServletName() == null) {
149             throw new org.netbeans.modules.schema2beans.ValidateException("getServletName() == null", "servletName", this); // NOI18N
150
}
151         // Validating property principalName
152
if (getPrincipalName() != null) {
153         }
154         // Validating property webserviceEndpoint
155
for (int _index = 0; _index < sizeWebserviceEndpoint(); ++_index) {
156             WebserviceEndpoint element = getWebserviceEndpoint(_index);
157             if (element != null) {
158                 element.validate();
159             }
160         }
161     }
162
163     // Dump the content of this bean returning it as a String
164
public void dump(StringBuffer JavaDoc str, String JavaDoc indent){
165         String JavaDoc s;
166         Object JavaDoc o;
167         org.netbeans.modules.schema2beans.BaseBean n;
168         str.append(indent);
169         str.append("ServletName"); // NOI18N
170
str.append(indent+"\t"); // NOI18N
171
str.append("<"); // NOI18N
172
s = this.getServletName();
173         str.append((s==null?"null":s.trim())); // NOI18N
174
str.append(">\n"); // NOI18N
175
this.dumpAttributes(SERVLET_NAME, 0, str, indent);
176
177         str.append(indent);
178         str.append("PrincipalName"); // NOI18N
179
str.append(indent+"\t"); // NOI18N
180
str.append("<"); // NOI18N
181
s = this.getPrincipalName();
182         str.append((s==null?"null":s.trim())); // NOI18N
183
str.append(">\n"); // NOI18N
184
this.dumpAttributes(PRINCIPAL_NAME, 0, str, indent);
185
186         str.append(indent);
187         str.append("WebserviceEndpoint["+this.sizeWebserviceEndpoint()+"]"); // NOI18N
188
for(int i=0; i<this.sizeWebserviceEndpoint(); i++)
189         {
190             str.append(indent+"\t");
191             str.append("#"+i+":");
192             n = (org.netbeans.modules.schema2beans.BaseBean) this.getWebserviceEndpoint(i);
193             if (n != null)
194                 n.dump(str, indent + "\t"); // NOI18N
195
else
196                 str.append(indent+"\tnull"); // NOI18N
197
this.dumpAttributes(WEBSERVICE_ENDPOINT, i, str, indent);
198         }
199
200     }
201     public String JavaDoc dumpBeanNode(){
202         StringBuffer JavaDoc str = new StringBuffer JavaDoc();
203         str.append("Servlet\n"); // NOI18N
204
this.dump(str, "\n "); // NOI18N
205
return str.toString();
206     }}
207
208 // END_NOI18N
209

210
211 /*
212         The following schema file has been used for generation:
213
214 <!--
215   XML DTD for Sun ONE Application Server specific Web Application
216   deployment descriptor. This is a companion DTD for web-app_2_4.xsd
217
218   $Revision: 1.3 $
219 -->
220
221 <!-- root element for vendor specific web application (module) configuration -->
222 <!ELEMENT sun-web-app (context-root?, security-role-mapping*, servlet*, session-config?,
223                        ejb-ref*, resource-ref*, resource-env-ref*, service-ref*,
224                        cache?, class-loader?,
225                        jsp-config?, locale-charset-info?, property*,
226                    message-destination*, webservice-description*)>
227
228 <!--
229  Context Root for the web application when the war file is a standalone module.
230  When the war module is part of the J2EE Application, use the application.xml
231 -->
232 <!ELEMENT context-root (#PCDATA)>
233
234 <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
235 <!ELEMENT role-name (#PCDATA)>
236
237 <!ELEMENT principal-name (#PCDATA)>
238 <!ELEMENT group-name (#PCDATA)>
239
240 <!ELEMENT servlet (servlet-name, principal-name?, webservice-endpoint*)>
241
242 <!ELEMENT session-config (session-manager?, session-properties?, cookie-properties?)>
243
244 <!ELEMENT session-manager (manager-properties?, store-properties?)>
245 <!ATTLIST session-manager persistence-type CDATA "memory">
246
247 <!ELEMENT manager-properties (property*)>
248 <!ELEMENT store-properties (property*)>
249 <!ELEMENT session-properties (property*)>
250 <!ELEMENT cookie-properties (property*)>
251
252 <!ELEMENT jndi-name (#PCDATA)>
253
254 <!ELEMENT resource-env-ref (resource-env-ref-name, jndi-name)>
255 <!ELEMENT resource-env-ref-name (#PCDATA)>
256            
257 <!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
258 <!ELEMENT res-ref-name (#PCDATA)>
259
260 <!ELEMENT default-resource-principal ( name, password)>
261
262 <!--
263 This node holds information about a logical message destination
264 -->
265 <!ELEMENT message-destination (message-destination-name, jndi-name)>
266
267 <!--
268 This node holds the name of a logical message destination
269 -->
270 <!ELEMENT message-destination-name (#PCDATA)>
271
272 <!--
273 This text nodes holds a name string.
274 -->
275 <!ELEMENT name (#PCDATA)>
276
277 <!--
278 This element holds password text.
279 -->
280 <!ELEMENT password (#PCDATA)>
281
282
283 <!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
284 <!ELEMENT ejb-ref-name (#PCDATA)>
285
286 <!-- cache element configures the cache for web application. iAS 7.0 web container
287      supports one such cache object per application: i.e. <cache> is a sub element
288      of <ias-web-app>. A cache can have zero or more cache-mapping elements and
289      zero or more customizable cache-helper classes.
290                                                                                    
291         max-entries Maximum number of entries this cache may hold. [4096]
292         timeout-in-seconds Default timeout for the cache entries in seconds. [30]
293         enabled Is this cache enabled? [false]
294 -->
295 <!ELEMENT cache (cache-helper*, default-helper?, property*, cache-mapping*)>
296 <!ATTLIST cache max-entries CDATA "4096"
297                  timeout-in-seconds CDATA "30"
298                  enabled CDATA "false">
299
300 <!-- cache-helper specifies customizable class which implements CacheHelper interface.
301
302      name Unique name for the helper class; this is referenced in
303                               the cache-mapping elements (see below).
304                               "default" is reserved for the built-in default helper.
305      class-name Fully qualified class name of the cache-helper; this class
306                               must extend the com.sun.appserv.web.CacheHelper class.
307 -->
308 <!ELEMENT cache-helper (property*)>
309 <!ATTLIST cache-helper name CDATA #REQUIRED
310                        class-name CDATA #REQUIRED>
311
312 <!--
313 Default, built-in cache-helper properties
314 -->
315 <!ELEMENT default-helper (property*)>
316
317 <!--
318 cache-mapping element defines what to be cached, the key to be used, any other
319 constraints to be applied and a customizable cache-helper to programmatically
320 hook this information.
321 -->
322 <!ELEMENT cache-mapping ((servlet-name | url-pattern),
323                         (cache-helper-ref |
324                         (timeout?, refresh-field?, http-method*, key-field*, constraint-field*)))>
325
326 <!--
327 servlet-name element defines a named servlet to which this caching is enabled.
328 the specified name must be present in the web application deployment descriptor
329 (web.xml)
330 -->
331 <!ELEMENT servlet-name (#PCDATA)>
332
333 <!--
334 url-pattern element specifies the url pattern to which caching is to be enabled.
335 See Servlet 2.3 specification section SRV. 11.2 for the applicable patterns.
336 -->
337 <!ELEMENT url-pattern (#PCDATA)>
338
339 <!--
340 cache-helper-ref s a reference to the cache-helper used by this cache-mapping
341 -->
342 <!ELEMENT cache-helper-ref (#PCDATA)>
343
344 <!--
345 timeout element defines the cache timeout in seconds applicable for this mapping.
346 default is to use cache object's timeout. The timeout value is specified statically
347 ere (e.g. <timeout> 60 </timeout> or dynamically via fields in the relevant scope.
348
349    name Name of the field where this timeout could be found
350    scope Scope of the field. default scope is request attribute.
351 -->
352 <!ELEMENT timeout (#PCDATA)>
353 <!ATTLIST timeout name CDATA #REQUIRED
354                    scope CDATA 'request.attribute'>
355
356 <!--
357 http-method specifies HTTP method eligible for caching default is GET.
358 -->
359 <!ELEMENT http-method (#PCDATA)>
360
361 <!--
362 specifies the request parameter name that triggers refresh. the cached entry
363 is refreshed when there such a request parameter is set to "true"
364 example:
365 <cache-mapping>
366     <url-pattern> /quote </url-pattern>
367     <refresh-field name="refresh" scope="request.parameter"/>
368 </cache-mapping>
369 -->
370 <!ELEMENT refresh-field EMPTY>
371 <!ATTLIST refresh-field name CDATA #REQUIRED
372                         scope CDATA 'request.parameter'>
373 <!--
374 key-field specifies a component of the key; container looks for the named
375 field in the given scope to access the cached entry. Default is to use
376 the Servlet Path (the path section that corresponds to the servlet mapping
377 which activated this request). See Servlet 2.3 specification section SRV 4.4
378 on Servlet Path.
379
380   name Name of the field to look for in the given scope
381   scope Scope of the field. default scope is request parameter.
382 -->
383 <!ELEMENT key-field EMPTY>
384 <!ATTLIST key-field name CDATA #REQUIRED
385                     scope CDATA 'request.parameter'>
386
387 <!--
388 constraint-field specifies a field whose value is used as a cacheability constraint.
389   
390   name Name of the field to look for in the given scope
391   scope Scope of the field. Default scope is request parameter.
392   cache-on-match Should this constraint check pass, is the response cacheable?
393                            Default is true (i.e. cache the response on success match).
394                            Useful to turn off caching when there is an attribute in the
395                            scope (e.g. don't cache when there is an attribute called UID
396                            in the session.attribute scope).
397   cache-on-match-failure Should the constraint check fail, is response not cacheable?
398                            Default is false (i.e. a failure in enforcing the constraint
399                            would negate caching). Useful to turn on caching when the
400                            an an attribute is not present (e.g. turn on caching
401                            when there is no session or session attribute called UID).
402
403   Example 1: don't cache when there is a session attribute
404   <constraint-field name="UID" scope="session.attribute" cache-on-match="false">
405
406   Example 2: do cache only when there is no session attribute
407   <constraint-field name="UID" scope="session.attribute"
408                     cache-on-match-failure="false">
409 -->
410 <!ELEMENT constraint-field (constraint-field-value*)>
411 <!ATTLIST constraint-field name CDATA #REQUIRED
412                             scope CDATA 'request.parameter'
413                             cache-on-match CDATA 'true'
414                             cache-on-match-failure CDATA 'false'>
415
416 <!--
417 value element specifies the applicable value and a matching expression for a constraint-field
418   match-expr Expression used to match the value. Default is 'equals'.
419
420   Example 1: cache when the category matches with any value other than a specific value
421   <constraint-field name="category" scope="request.parameter>
422     <value match-expr="equals" cache-on-match-failure="true">
423          bogus
424     </value>
425   </constraint-field>
426 -->
427 <!ELEMENT constraint-field-value (#PCDATA)>
428 <!ATTLIST constraint-field-value match-expr CDATA 'equals'
429                             cache-on-match CDATA 'true'
430                             cache-on-match-failure CDATA 'false'>
431
432 <!ELEMENT class-loader EMPTY>
433 <!ATTLIST class-loader extra-class-path CDATA #IMPLIED
434                        delegate CDATA 'true'>
435
436 <!ELEMENT jsp-config (property*)>
437
438 <!ELEMENT locale-charset-info (locale-charset-map+, parameter-encoding?)>
439 <!ATTLIST locale-charset-info default-locale CDATA #REQUIRED>
440
441 <!ELEMENT locale-charset-map (description?)>
442 <!ATTLIST locale-charset-map locale CDATA #REQUIRED
443                              agent CDATA #IMPLIED
444                              charset CDATA #REQUIRED>
445
446 <!ELEMENT parameter-encoding EMPTY>
447 <!ATTLIST parameter-encoding form-hint-field CDATA #IMPLIED
448                  default-charset CDATA #IMPLIED>
449
450 <!--
451 Syntax for supplying properties as name value pairs
452 -->
453 <!ELEMENT property (description?)>
454 <!ATTLIST property name CDATA #REQUIRED
455                    value CDATA #REQUIRED>
456
457 <!ELEMENT description (#PCDATA)>
458
459 <!--
460 This text nodes holds a value string.
461 -->
462 <!ELEMENT value (#PCDATA)>
463
464
465 <!--
466                     W E B S E R V I C E S
467 -->
468 <!--
469 Runtime settings for a web service reference. In the simplest case,
470 there is no runtime information required for a service ref. Runtime info
471 is only needed in the following cases :
472  * to define the port that should be used to resolve a container-managed port
473  * to define default Stub/Call property settings for Stub objects
474  * to define the URL of a final WSDL document to be used instead of
475 the one packaged with a service-ref
476 -->
477 <!ELEMENT service-ref ( service-ref-name, port-info*, call-property*, wsdl-override?, service-impl-class?, service-qname? )>
478
479 <!--
480 Coded name (relative to java:comp/env) for a service-reference
481 -->
482 <!ELEMENT service-ref-name ( #PCDATA )>
483
484 <!--
485 Information for a port within a service-reference.
486
487 Either service-endpoint-interface or wsdl-port or both
488 (service-endpoint-interface and wsdl-port) should be specified.
489
490 If both are specified, wsdl-port represents the
491 port the container should choose for container-managed port selection.
492
493 The same wsdl-port value must not appear in
494 more than one port-info entry within the same service-ref.
495
496 If a particular service-endpoint-interface is using container-managed port
497 selection, it must not appear in more than one port-info entry
498 within the same service-ref.
499
500 -->
501 <!ELEMENT port-info ( service-endpoint-interface?, wsdl-port?, stub-property*, call-property* )>
502
503 <!--
504 Fully qualified name of service endpoint interface
505 -->
506 <!ELEMENT service-endpoint-interface ( #PCDATA )>
507 <!--
508 Port used in port-info.
509 -->
510 <!ELEMENT wsdl-port ( namespaceURI, localpart )>
511
512 <!--
513 JAXRPC property values that should be set on a stub before it's returned to
514 to the web service client. The property names can be any properties supported
515 by the JAXRPC Stub implementation. See javadoc for javax.xml.rpc.Stub
516 -->
517 <!ELEMENT stub-property ( name, value )>
518
519 <!--
520 JAXRPC property values that should be set on a Call object before it's
521 returned to the web service client. The property names can be any
522 properties supported by the JAXRPC Call implementation. See javadoc
523 for javax.xml.rpc.Call
524 -->
525 <!ELEMENT call-property ( name, value )>
526
527 <!--
528 This is a valid URL pointing to a final WSDL document. It is optional.
529 If specified, the WSDL document at this URL will be used during
530 deployment instead of the WSDL document associated with the
531 service-ref in the standard deployment descriptor.
532
533 Examples :
534
535   // available via HTTP
536   <wsdl-override>http://localhost:8000/myservice/myport?WSDL</wsdl-override>
537
538   // in a file
539   <wsdl-override>file:/home/user1/myfinalwsdl.wsdl</wsdl-override>
540
541 -->
542 <!ELEMENT wsdl-override ( #PCDATA )>
543
544 <!--
545 Name of generated service implementation class. This is not set by the
546 deployer. It is derived during deployment.
547 -->
548 <!ELEMENT service-impl-class ( #PCDATA )>
549
550 <!--
551 The service-qname element declares the specific WSDL service
552 element that is being refered to. It is not set by the deployer.
553 It is derived during deployment.
554 -->
555 <!ELEMENT service-qname (namespaceURI, localpart)>
556
557 <!--
558 Runtime information about a web service.
559
560 wsdl-publish-location is optionally used to specify
561 where the final wsdl and any dependent files should be stored. This location
562 resides on the file system from which deployment is initiated.
563
564 -->
565 <!ELEMENT webservice-description ( webservice-description-name, wsdl-publish-location? )>
566
567 <!--
568 Unique name of a webservice within a module
569 -->
570 <!ELEMENT webservice-description-name ( #PCDATA )>
571
572 <!--
573 file: URL of a directory to which a web-service-description's wsdl should be
574 published during deployment. Any required files will be published to this
575 directory, preserving their location relative to the module-specific
576 wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
577
578 Example :
579
580   For an ejb.jar whose webservices.xml wsdl-file element contains
581     META-INF/wsdl/a/Foo.wsdl
582
583   <wsdl-publish-location>file:/home/user1/publish
584   </wsdl-publish-location>
585
586   The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
587
588 -->
589 <!ELEMENT wsdl-publish-location ( #PCDATA )>
590
591 <!--
592 Information about a web service endpoint.
593 -->
594 <!ELEMENT webservice-endpoint ( port-component-name, endpoint-address-uri?, login-config?, transport-guarantee?, service-qname?, tie-class?, servlet-impl-class? )>
595
596 <!--
597 Unique name of a port component within a module
598 -->
599 <!ELEMENT port-component-name ( #PCDATA )>
600
601 <!--
602 Relative path combined with web server root to form fully qualified
603 endpoint address for a web service endpoint. For servlet endpoints, this
604 value is relative to the servlet's web application context root. In
605 all cases, this value must be a fixed pattern(i.e. no "*" allowed).
606 If the web service endpoint is a servlet that only implements a single
607 endpoint has only one url-pattern, it is not necessary to set
608 this value since the container can derive it from web.xml.
609 -->
610 <!ELEMENT endpoint-address-uri ( #PCDATA )>
611
612 <!--
613 The name of tie implementation class for a port-component. This is
614 not specified by the deployer. It is derived during deployment.
615 -->
616 <!ELEMENT tie-class (#PCDATA)>
617
618 <!--
619 Optional authentication configuration for an EJB web service endpoint.
620 Not needed for servet web service endpoints. Their security configuration
621 is contained in the standard web application descriptor.
622 -->
623 <!ELEMENT login-config ( auth-method )>
624
625 <!--
626 The auth-method element is used to configure the authentication
627 mechanism for the web application. As a prerequisite to gaining access
628 to any web resources which are protected by an authorization
629 constraint, a user must have authenticated using the configured
630 mechanism.
631 -->
632
633 <!ELEMENT auth-method (#PCDATA)>
634
635 <!--
636 Name of application-written servlet impl class contained in deployed war.
637 This is not set by the deployer. It is derived by the container
638 during deployment.
639 -->
640 <!ELEMENT servlet-impl-class (#PCDATA)>
641
642 <!--
643 The transport-guarantee element specifies that the communication
644 between client and server should be NONE, INTEGRAL, or
645 CONFIDENTIAL. NONE means that the application does not require any
646 transport guarantees. A value of INTEGRAL means that the application
647 requires that the data sent between the client and server be sent in
648 such a way that it can't be changed in transit. CONFIDENTIAL means
649 that the application requires that the data be transmitted in a
650 fashion that prevents other entities from observing the contents of
651 the transmission. In most cases, the presence of the INTEGRAL or
652 CONFIDENTIAL flag will indicate that the use of SSL is required.
653 -->
654
655 <!ELEMENT transport-guarantee (#PCDATA)>
656
657 <!--
658 Runtime settings for a web service reference. In the simplest case,
659 there is no runtime information required for a service ref. Runtime info
660 is only needed in the following cases :
661  * to define the port that should be used to resolve a container-managed port
662  * to define default Stub/Call property settings for Stub objects
663  * to define the URL of a final WSDL document to be used instead of
664 the one packaged with a service-ref
665 -->
666
667 <!--
668 The localpart element indicates the local part of a QNAME.
669 -->
670 <!ELEMENT localpart (#PCDATA)>
671
672 <!--
673 The namespaceURI element indicates a URI.
674 -->
675 <!ELEMENT namespaceURI (#PCDATA)>
676
677 */

678
Popular Tags