To enable the Interchange SOAP server, set SOAP
to yes in the
global configuration file. It is also important to allow SOAP actions
with SOAP_Control
both in the global configuration and in
the catalog configuration file in order to provide web services.
SOAP_Control Action always
After restart, the Interchange SOAP server will listen on port 7780 for requests.
For all catalogs providing SOAP services, do the following steps:
Enable SOAP
and allow SOAP actions in the catalog configuration file:
SOAP Yes SOAP_Control Action always
Add SOAP URL to Catalog
directive in the global configuration file:
Catalog wellwell /home/interchange/catalogs/wellwell /cgi-bin/wellwell /soap
Define SOAP actions with SOAP_Action
.
Finally, restart your Interchange server.
The port can be changed with the SOAP_Socket
configuration
directive.
If Interchange cannot determine the catalog for the SOAP request,
it will trigger the soap:Client.NotFound
fault.
If the catalog hasn't enabled SOAP
, Interchange will trigger
the soap:Client.NotAvailable
fault.
If the called SOAP action dies, Interchange triggers a
soap:Server
fault with the message
Application error
.