I want to send an invoice in xml format to a client URL using pub.clent.http.
In SAP Business Connector I have successfully mapped an invoice idoc to to xmldata using the service recordToDocument. This data includes the correct header and a <!DOCTYPE> element and it seems to be correct because I can open and browse it with Internet Explorer without errors.
My attempts to successfully send the data have failed because I do not fully understand how the pub.client:http service should be populated.
I wonder if anyone could save me a lot of time of trial and error by explaining how it should be done.
The ideal would be an example of some working coding.
Thanks very much in anticipation of your help.