We're having issues with BODS4.02, publishing a Real Time job as a Web Service.
I've set up a real time job, consisting of:
An XML Message Source (based on an imported XML Schema)
A Query (NDRM) mapping the full schema as an output
A Query with on single varchar column as an output - with a load_to_xml function call to convert the XML schema to text
A query to convert the XML Text to a Long (some sequence columns are also populated here)
A table to insert the data into (CLOB column on Oracle Database table)
An XML Message Target for the response.
I've done all the configuration in the Management Console to configure the Real Time Service and publish it as a Web Service.
I've also tested the job via Designer with some test xml and encountered no errors.
When I stop and start the Real Time Service and send a message to it (using soapUI) everything works end-to-end ok - the message gets inserted into the database table and I get a SOAP response from the web service.
If I hit the web service again, I get an empty string inserted into my database table where the XML should be. Every time I call it after the first time I get no XML data coming through. If I bounce the Real Time job everything is ok again for the first message, then the same issues.
The only trace I can find of something going wrong is in the stdout.log on Tomcat where I can see the following errors:
Cannot find the declaration of element 'inp:MyRootElement'
Cannot find the declaration of element 'MyResponseRootElement'
java.lang.Exception: Mandatory SOAPAction header field is missing
Many thanks in advance for your help