View Full Version : SoapServer entry points (Zend Cert)
06-24-2010, 09:11 PM
I have came across this question in m Zend Certification study:
Q: Which of the following can be registered as entry points with a SoapServer instance (choose 3).
a) a single function
b) a single method from a class
c) multiple functions at once
d) all methods from a class
e) all classes defined in a script
I think a big problem here is that I don't understand the question, it's not clear at all. Can anyone assist?
06-24-2010, 09:28 PM
That is a badly worded one.
I'm assuming this is referring to the addFunction, setClass / setObject.
That said, in combination with requiring 3 options, I'd say the three its looking for are: a, c, d. I know you can do 1 or more functions, or all methods from a single class. I'm quite certain you cannot do multiple classes (so no e for sure), and I don't believe you can export a single class method since it wouldn't have a context to go with it (so no b).
Thats a tester, someone if you could....
06-24-2010, 10:13 PM
Hmmm, i'm still not sure what is being asked here. I had a look at the documentation for SoapServer and can see the three methods that you listed:
What i'm trying to understand is what does it mean by entry points? Is that the way it can be used/instantiated?
06-24-2010, 10:19 PM
I assumed it meant the actually entry points for a soapclient to the server, as in the functions / classes that have been registered. Thats the only thing I can think of that it means, otherwise soapserver only really has two instantiation methods: wsdl and non-wsdl mode.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.