<service> element

SOAP/AM Server Development > Service Definition File Reference > Schema Reference >

<service> element

Previous pageReturn to chapter overviewNext page

This element defines a Web service.

 

Children must appear in the order shown.

 

parents

definitions

children

documentation[0:1] methods[1]

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/".

 

 

Remarks

Example

<service name="MyService" encoding="document/literal">

...

</service>