To create a client application that consumes the Data Ingest Web Service, you need the Web service's WSDL file to generate client stubs.
A WSDL file specifies value types, exceptions, and available methods in a Web service in a programmatic fashion. Typically, a client developer uses a tool that parses the WSDL file and generates client-side stubs (also called proxy classes) and value types. These generated files include all the code necessary to serialize and deserialize SOAP messages and make the SOAP layer transparent to the client developer. The Data Ingest WSDL files can be used with any language that has Web services support.
For details on using a WSDL code-generation utility, refer to the utility's documentation.
Keep in mind that the exact syntax of a class member depends on the output of the WSDL tool that you are using. Therefore, check the client stub classes that are generated by your WSDL tool for the exact syntax of the class members.
http://localhost:5555/ws/ingest/datastore?wsdl
wsdl2java -uri http://localhost:5555/ws/ingest/datastore?wsdl -d xmlbeans -s -p com.endeca.dataingest.axis2.addrecords
You can insert the wsdl2java command in a batch or shell script, or in a build file.