Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Location
    Mauchline, Scotland
    Posts
    1,092
    Thanks
    15
    Thanked 1 Time in 1 Post

    SoapServer entry points (Zend Cert)

    Hi all,

    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?

    BR,
    Picco

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,980
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    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....
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Location
    Mauchline, Scotland
    Posts
    1,092
    Thanks
    15
    Thanked 1 Time in 1 Post
    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:

    http://www.php.net/manual/en/soapserver.addfunction.php
    http://www.php.net/manual/en/soapserver.setclass.php
    http://www.php.net/manual/en/soapserver.setobject.php

    What i'm trying to understand is what does it mean by entry points? Is that the way it can be used/instantiated?

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,980
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    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.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •