This element defines a Web service.
|
parents |
|
|---|---|
|
children |
<documentation>[0:1] <methods>[1] |
Attributes
|
Attribute |
Data Type |
Usage |
Default Value |
Description |
|---|---|---|---|---|
|
name |
xsd:NCName |
required |
none |
The name of the 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/". |
Example
XML
<service name="MyService" encoding="document/literal">
...
</service>