Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The parameters defined in class SessionParameter should get some improvements:
minor:
- interface instead of class
major:
- Atom Pub and Web Service binding are implicit determind by various set of URL parameters. If a Atom Pub and a Web Service URL is specified then the binding is ambiguous in runtime. Error handling is difficult becaus of various parameter configurations are illegal.
Proposal: Introduce a explicite parameter for the binding type to use. Example: *.binding = {AtomPub|SOAP|...}. In dependency of a binding different sets of URL parameter need to be set: Atom Pub binding => Atom Pub URL.
- WebService URL can also be used in various combinations (prefix, non prefix, single service URLs ...). This should be made explicite while one parameter has only one purpose (URL, Prefix URL, Single Service URLs).