All request should be send to our http post service:
https://jobfeed.stepstone.com/listing/httpxml.cfm.utf-8
The request must contains following configuration parameters:
- username – the username as provided by StepStone,
- pwd – the password as provided by StepStone,
- xmlresponse – specifies whether the system should respond in XML or in plain text format; possible values are true or false,
- xmlfile – content of the XML file to be processed by the StepStone system.
Below is an extract of the code representing the configuration method with this interface:
Form form = new Form(); form.param("username", username); //provided by StepStone form.param("pwd", password); //provided by StepStone form.param("xmlresponse", "false"); form.param("xmlfile", xmlContent); Response response = client .target(httpPostUrl) .request() .post(Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED_TYPE)