Access the Business Transaction XML upload service to upload business transactions for tracing.
Upon receiving the client request, the SAP Mobile Server parses the multipart form request to gather the Business Transaction content sent by the client and sends this content to the SAP Solution Manager in another multipart request.
Perform a POST request to the following URL:
http://host:port/[public/]btx/{appid}
On successful upload, the client receives a 201 Created status code. Otherwise, an HTTP failure code and failure message are returned.
POST /btx/com.sap.myapp/ HTTP/1.1 Cookie: X-SUP-APPCID=b6d50e93-bcaa-439d-9741-660a3cb56771; X-SUP-SESSID=97ts80gwhxkc Content-Length: 40 Content-Type: application/atom+xml; charset=UTF-8 Host: supserver:8000 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.3 (java 1.5) Authorization: Basic REVWMDAwMTppbml0aWFs
[POST HTTP request message body]
HTTP response header:
HTTP/1.1 201 Created Content-Type: application/atom+xml;charset=utf-8 Expires: Thu, 01 Jan 1970 00:00:00 GMT Date: Mon, 13 Aug 2012 22:40:50 GMT Transfer-Encoding: chunked