cristiano007
12 years agoNew Contributor
Restfull webservice with MultivaluedMap parameter
Hello everyone
I've got a webservice signature like this:
The Header Parameter has some information like file name, file size etc. and should be passed as a MultivaluedMap.
I'm trying to test this webservice with SoapUI. Can someone tell me how I pass the header param correctly?
I can't change the webservice's implementation.
Thx for replying
Cristiano
I've got a webservice signature like this:
public Response upload(@PathParam(PARAM_ADDRID) Long addressId,
[b]@FormDataParam("header") MultivaluedMap<String, String> header,[/b]
@FormDataParam("file") InputStream inputStream) {...
The Header Parameter has some information like file name, file size etc. and should be passed as a MultivaluedMap.
I'm trying to test this webservice with SoapUI. Can someone tell me how I pass the header param correctly?
I can't change the webservice's implementation.
Thx for replying
Cristiano