Question:
Hello all,
I want to connect a webserver where the user can send an information request to a business connector using a HTTP-POST.
I followed all directions from the documentation (Posting an XML Document via HTTP):
- I submit the request via HTTP
- I invoke the correct service
- the value of content-type is set to text/xml (I checked this in the firewall logs)
- There is an extra carriage return/new line (\r\n) at the end of the document.
When I test the service from de BC-developer, it works as desired (since the first step of my service is the build-in service DocumentToRecord, use the 'Send XML'-test option).
When I post a test-message from the website, I receive the error 'Service argument in RecordToDocument is null'.
After triple-checking all the settings, I've run out of ideas...
Does anyone has a suggestion where to look for a solution?
Thanks in advance,
Philippe
Answer:
stupid me: there was a typo in the reference documentation and examples(upper/lower case). My test XML-document was correct, the website generated a document with a different record-name....
Philippe