The SDK includes web services out of the box, but you may need to create additional web services to meet your business needs.
Web services provide the framework for you to create WorldServer-enabled web services.
Java package:
com.idiominc.wssdk.component.webservices
Important: Web services are meant to be used for testing SOAP API calls and should
never be exposed publicly. There are several ways to prevent the
/webservices directory from being accessed:
- By using advanced firewall rules.
- By using load balancing rules.
- By restricting the path in the apache-tomcat/conf/server.xml file.
If you have developers who work with SOAP API calls and need access to
/webservices, you could implement one of the first two options so that the URL can only be accessed internally. The third option completely disables any
/webservices path.
To implement the third option, open the
server.xml file with a text editor and add the following lines within
<Host> elements:
<Context path="/ws-legacy/webservices" docBase="" >
<Valapp className="org.apache.catalina.valapps.RemoteAddrValapp" deny="*" />
</Context>
For example: