• Post Reply Bookmark Topic Watch Topic
  • New Topic

RPC VS Document model

 
Ephraim Paka
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Can we have both RPC and Document model implemented for the same service ?

Thanks
E
 
michael warren
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think so
- perhaps you could explain more about what you mean or how this would work
 
Ephraim Paka
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael,

The problem is, my service( implemented 2 methods) recieves data ( 600 records) in one method invocation( I want to use Document/Literal model and do marshalling/unmarshalling ) and on another method invocation I recieve just one record, I want to use RPC/Literla model for this call

Thanks
E
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can document what model to use for each of the calls in the WSDL. So all clients that are derived from the WSDL know what to send and what to expect.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!