Passing Map to service using webtools

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Passing Map to service using webtools

Abdullah Shaikh-3
I have a service, which expects a Map as a parameter, how can I pass Map to
the service, if I am testing it through webtools or is there anyway using
which I can test it from webtools.

If its not possible then can we have this feature implemented, by taking a
string in specific format (if the parameter is a Map), maybe name=value pair
separated by comma,  and forming a map out of it ? So that testing services
which expects a Map becomes easy from webtools.
Reply | Threaded
Open this post in threaded view
|

Re: Passing Map to service using webtools

Bilgin Ibryam
Quoting Abdullah Shaikh <[hidden email]>:

> I have a service, which expects a Map as a parameter, how can I pass Map to
> the service, if I am testing it through webtools or is there anyway using
> which I can test it from webtools.
>
> If its not possible then can we have this feature implemented, by taking a
> string in specific format (if the parameter is a Map), maybe name=value pair
> separated by comma,  and forming a map out of it ? So that testing services
> which expects a Map becomes easy from webtools.
>

Hi Abdullah,

This may help

http://ofbiz.markmail.org/message/73e5wtnb2m4w4ikw?q=map+value+webtools+[]+list:org.apache.ofbiz.user

Bilgin

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply | Threaded
Open this post in threaded view
|

Re: Passing Map to service using webtools

Malin Nicolas
If is for testing, you can also create un minilang service that prepare
data and call your service. After, it's easier to change map value
without restarting OFBiz.

Nicolas

Bilgin Ibryam a écrit :

> Quoting Abdullah Shaikh <[hidden email]>:
>
>> I have a service, which expects a Map as a parameter, how can I pass
>> Map to
>> the service, if I am testing it through webtools or is there anyway
>> using
>> which I can test it from webtools.
>>
>> If its not possible then can we have this feature implemented, by
>> taking a
>> string in specific format (if the parameter is a Map), maybe
>> name=value pair
>> separated by comma,  and forming a map out of it ? So that testing
>> services
>> which expects a Map becomes easy from webtools.
>>
>
> Hi Abdullah,
>
> This may help
>
> http://ofbiz.markmail.org/message/73e5wtnb2m4w4ikw?q=map+value+webtools+[]+list:org.apache.ofbiz.user
>
>
> Bilgin
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/