Hi Azees,

As discussed created the issue [1] and related pull request for fix [2].


[1] - https://github.com/wso2/msf4j/issues/329
[2] - https://github.com/wso2/msf4j/pull/330

On Mon, Dec 5, 2016 at 3:46 PM, Tharindu Dharmarathna <[email protected]>
wrote:

> Hi All,
>
> We have some issue when using msf4j with optional form data params. As we
> narrow down, this issue come from when we not sending all the params which
> we are stated in swagger model. Which is the best way to handle optional
> form params in msf4j?.
>
>
> ex:
>
>> /abc
>> file:form param (optional)
>> inlinecontent : form param (optional)
>
>
>  request with file and inline content ==> request dispatched successfully.
> request with one of above  ==> request breaked from [1].
>
>
> [1] - https://github.com/wso2/msf4j/blob/v2.1.0/core/src/
> main/java/org/wso2/msf4j/internal/router/HttpResourceModelProcessor.
> java#L176.
>
>
> Thanks
>
> *Tharindu Dharmarathna*Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <+94%2077%20910%209091>*
>



-- 
Thanks

*Tharindu Dharmarathna*Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to