Published web service

2 minutes to read Download PDF Edit

Operations

Provide the actual operations of which the web service is composed. Each of these operations is a Microflow.

See Operations.

Settings

Validate against WSDL

If set to ‘yes’, incoming requests will be validated against the WSDL.

Note that when this property was introduced in Mendix 5.8.0, behavior changed slightly in this respect. Primitive values already used to be validated in all cases, but now we’re validating the entire incoming XML message. To not break old web service requests that may not validate against the WSDL but that did not cause actual issues, we do not turn this feature on by default when converting projects made in older versions. This does however mean that if you want to validate primitives again, you must turn this feature on.

Default value: Yes

Authentication

The authentication settings to define for communicating with the web service.

Target namespace

This is the value of the targetNamespace attribute in the published WSDL file for this service. In Mendix, a target namespace must be a valid Uniform Resource Identifier (URI). For more information on XML namespaces, see Wikipedia.

It is important to correctly configure the target namespace before publishing your WSDL to third parties. Changing it later might break the third-party applications that call your published web services.

Export WSDL file & Export XML schema definition

By using this button, you can save the generated WSDL file, and its XML schema definition on your local hard drive. You can do this already before running your project, unlike when you download it from http://localhost:8080/ws-doc/ .

Documentation

Can be used to describe what the web service is used for.

Copyright © Mendix. All rights reserved. | Mendix.com | Terms of Use | Privacy Policy