numbers of Parameters in Webservice function
- by sachin
hi,
I am trying to call webservice from python client using SUDS. as per SUDS support, (https://fedorahosted.org/suds/wiki/Documentation#OVERVIEW)
I created a webservice with Config:
SOAP Binding 1.1
Document/Literal
though Document/literal style takes only one parameter, SUDS Document (https://fedorahosted.org/suds/wiki/Documentation#BASICUSAGE)
shows:
Suds - version: 0.3.3 build: (beta)
R397-20081121
Service (WebServiceTestBeanService)
tns="http://test.server.enterprise.rhq.org/"
Prefixes (1):
ns0 = "http://test.server.enterprise.rhq.org/"
Ports (1):
(Soap)
Methods:
addPerson(Person person, )
echo(xs:string arg0, )
getList(xs:string str, xs:int length, )
getPercentBodyFat(xs:string name, xs:int height, xs:int weight)
getPersonByName(Name name, )
hello()
testExceptions()
testListArg(xs:string[] list, )
testVoid()
updatePerson(AnotherPerson person, name name, ) Types (23):
Person
Name
Phone
AnotherPerson
Which has functions with several or no parameters. can we have such methods(Exposed) in a webservice with Document/Literal Style? if so how?