Sheeraz Memon

Greenhorn
+ Follow
since Jul 20, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sheeraz Memon

Thanks Anurag for the response. The implementation is for the client of the service. I understand the concept of the boundary, and that it acts more like a delimiter. However, would you know of the exact steps of how to get the boundary from the browser (or how to generate a boundary)?? I could not find any example (set of steps) that has this info.

Thanks again for your time on this.
-Sheeraz
11 years ago
Hello,
I have to write a Java wrapper for the following REST web service:

Request URL: https://myServer:8080/myDomain/rest/myProject/run/555/log-attachment
Method: POST
Request Header:
[Accept: application/xml]
[Content-Type: multipart/form-data; boundary=XXXXXXX]

I was unclear on how and where the file boundry value would come from, that needs to be passed in to the request as a header.
Would anyone know this?

In regards to the multipart file parameter, I was a bit unclear on how the implementation would go. Would any one have any sample code for this?

This example was not too clear as it uses deprecated APIs:
https://discursive.atlassian.net/wiki/display/CJCOOK/Uploading+Files+with+a+Multipart+POST

Any good references/examples to multipart file uploads using Java would be greatly appreciated!

Thanks,
Sheeraz
11 years ago
I would personally suggest you to finish off the SCEA assignment, and then get focused on the SOA certifications. By the way, would mind sending in some links that provide some level of detail in regards to the SOA certs that you are pursuing?

Thanks.