post request http client multipartentity
===

I have this wadl:

    <resource path="/data">
    <method id="write" name="POST">
    <request>
    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="filedescription" style="query" type="xs:string"/>
    <representation mediaType="multipart/form-data"/>
    </request>
    </method>
    </resource>

How create POST request by MultipartEntity? I cannot find how correctly build entity and set parameters.

    HttpPost httpost = new HttpPost("http://..");
    httpost.addHeader("..","..");
    
    MultipartEntity entity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
    entity.addPart(name,new FileBody(upStream))

Should I set parameter filedescription to header or to entity.addpart()? 

Thank you for you answers.