methodname error in dispatcher
Hi,
I'm having problem calling the service using .net HttpClient.
This is my python web service description:
{"methods": {"AddBulkItems": {"doc_lines": [], "params": {"itemIds": {"optional": false, "doc_lines": [], "type": "list", "def_order": 1}}, "ret_info": {"doc_lines": [], "type": "boolean"}}, "AddItemToWatch": {"doc_lines": [], "params": {"itemId": {"optional": false, "doc_lines": [], "type": "string", "def_order": 1}}, "ret_info": {"doc_lines": [], "type": "boolean"}}}, "servicename": "WalmartService", "url": "http://
This is the json request body:
{
"method": {
"AddItemToW
"params": {
"itemId": "151564"
}
}
}
}
Then I got this response back:
{"fault": {"filename": "dispatcher", "lineno": 174, "string": "'methodname'", "code": "client", "hint": "", "detail": ["Traceback (most recent call last):", " File \"/usr/
What should I send to the service?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eric Trinh
- Solved:
- Last query:
- Last reply: