This element defines a Web service.
Children must appear in the order shown.
Attributes
attribute name
|
data type
|
usage
|
default value
|
description
|
name
|
xsd:NCName
|
required
|
|
The name of the service by which SOAP clients will reference this service.
|
encoding
|
xsd:token
|
optional
|
document/literal
|
The SOAP message encoding format. Sets the default encoding for methods in this service. Valid values are "document/literal" and "rpc/encoded".
|
namespace
|
xsd:anyURI
|
optional
|
|
The service namespace. If this attribute is omitted a namespace URI will be constructed using the service name attribute value with the prefix "http://soapam.com/service/".
|
ipmDump
|
xsd:integer
|
optional
|
0
|
Controls diagnostic ipmDump logging. Must be 0 (off) or 1 (on). Sets the default value for methods in the service. See Using ipmDump for Troubleshooting for more information.
|
wireDump
|
|
optional
|
|
Controls diagnostic wireDump logging. Must be 0 (off) or 1 (on). Sets the default value for methods in the service. See Using wireDump for Troubleshooting for more information.
|
Remarks
Example
<service name="MyService" encoding="document/literal">
...
</service>
|