Ticket #8113 (new defect)
"No match found" error with JSON-RPC envelopes in dojox.rpc.Service
| Reported by: | cuberootva | Owned by: | dmachi |
|---|---|---|---|
| Priority: | normal | Milestone: | tbd |
| Component: | Dojox | Version: | 1.2.1 |
| Severity: | normal | Keywords: | |
| Cc: | kzyp |
Description
If you don't explicitly require dojox.rpc.JsonRPC and you retrieve an SMD that has a JSON-RPC envelope you will get an error stating "No match found." The JSON envelope works fine as it's registered in the envelope registry with the dojox.rpc.Service object.
I don't think this is a real bug, but it can trip some people up (me!) who want to use the JSON-RPC envelopes with their SMD. If anything some documentation on how to properly use the JSON-RPC envelope would be nice. There's some talk in #dojo now about how Service should be kept "light" and not automatically include the JsonRPC service. I'll leave to to you guys to figure that one out ;)