blob: 00920dbf6a8e4f3669eb301348792ed9b0699f42 [file] [log] [blame]
<constraints categories="wsdl-http-validation">
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.address.location" id="http.address.location" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.AddressLocationURI">
<description>Validates if address has non empty location</description>
<message/>
<target class="HTTPAddress">
<event name="Set">
<feature name="locationURI" />
</event>
<event name="Unset">
<feature name="locationURI" />
</event>
</target>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.address.binding" id="http.address.binding" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.AddressBinding">
<description>Validates if address has non empty location</description>
<message/>
<target class="HTTPAddress">
</target>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.binding.verb" id="http.binding.verb" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.BindingVerb">
<description>A HTTP Binding must have a verb of GET or POST</description>
<message/>
<target class="HTTPBinding">
</target>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.input.children" id="http.input.children" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.InputChildren">
<description>Validate the HTTP urlReplacement or urlEncoded. Ensure that either element is the only element specified.</description>
<message/>
<target class="HTTPUrlEncoded"/>
<target class="HTTPUrlReplacement"/>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.operation.locationURI" id="http.operation.locationURI" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.OperationLocationURI">
<description>A HTTP Operation has a location uri defined.</description>
<message/>
<target class="HTTPOperation"/>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.operation.binding" id="http.operation.binding" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.OperationBinding">
<description>A HTTP Binding must be specified to use an operation.</description>
<message/>
<target class="HTTPOperation"/>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.input.children.httpoperation" id="http.input.children.httpoperation" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.InputChildrenOperation">
<description>Check the HTTP operation has been defined</description>
<message/>
<target class="HTTPUrlEncoded"/>
<target class="HTTPUrlReplacement"/>
</constraint>
<constraint lang="Java" severity="ERROR" mode="Live"
name="http.element.location" id="http.element.location" statusCode="1"
class="org.eclipse.wst.sse.sieditor.model.validation.constraints.http.HTTPElementLocation">
<description>Check correct location of http binding elements</description>
<message/>
<target class="HTTPUrlEncoded"/>
<target class="HTTPUrlReplacement"/>
<target class="HTTPOperation"/>
<target class="HTTPBinding"/>
<target class="HTTPAddress"/>
</constraint>
</constraints>