Informatica ActiveVOS
- Informatica ActiveVOS 9.2.6
- All Products
POST /active-bpel/services/JSON/humantaskProcessDemoService HTTP/1.1 Content-Type: multipart/form-data; boundary="the_boundary" Content-Length: 3449 MIME-Version: 1.0 Host: localhost:8080 --the_boundary Content-Disposition: form-data; name="_json" {"loanProcessRequest":{"xmlns":"http:\/\/schemas.active-endpoints.com\/sample\/LoanRequest\/2008\/02\/loanRequest.xsd","loanType":{"$t":"Automobile"},"firstName":{"$t":"John"},"lastName":{"$t":"Smith"},"dayPhone":{"$t":"2039299400"},"nightPhone":{"$t":"2035551212"},"socialSecurityNumber":{"$t":"123-45-6789"},"amountRequested":{"$t":"15000"},"loanDescription":{"$t":"Application to finance the purchase of a Toyota Prius"},"otherInfo":{"$t":"Down payment is US$7500"},"responseEmail":{"$t":"john.smith@example.com"}}} --the_boundary Content-Disposition: form-data; name="file_1"; filename="picture.gif" Content-Type: image/gif [image content] --the_boundary--
<form method='POST' enctype='multipart/form-data' action='http://localhost:8080/active-bpel/services/JSON/humantaskProcessDemoService'> <!-- JSON message payload in a hidden field named '_json' --> <input type="hidden" name="_json" value='{"loanProcessRequest":{"xmlns":"http:\/\/schemas.active-endpoints.com\/sample\/LoanRequest\/2008\/02\/loanRequest.xsd","loanType":{"$t":"Automobile"},"firstName":{"$t":"FileUploadJohn"},"lastName":{"$t":"Smith"},"dayPhone":{"$t":"2039299400"},"nightPhone":{"$t":"2035551212"},"socialSecurityNumber":{"$t":"123-45-6789"},"amountRequested":{"$t":"15000"},"loanDescription":{"$t":"Application to finance the purchase of a Toyota Prius"},"otherInfo":{"$t":"Down payment is US$7500"},"responseEmail":{"$t":"john.smith@example.com"}}}' /> File1: <input type="file" name="file_1" /> <br/> <input type="submit" value="Upload File"/> </form>