Archiving Server Responses |
Site Admin
|
You showed the part of nusoap that outputs wsdl file.
As any other soap server, a server built with nusoap must generate wsdl and send it to the requestor. It's just fine. But has no relation to any soap evelopes ) Wsdl a description of what methods can be called and what their arguments are. If you need a working soap server or soap client created using nusoap see samples posted at this forum. |
||||||||||||
|
|
Clearly... I have miscommunicated something.. So, I shall try again.
First off... I have a completely working and functioning soap server. Our comapny uses it in it's current state. Now second off, if the part of the code that I put above is to create the wsdl, then, ok.. I've misread something in the code. No biggie. What I'm trying to accomplish is this: I have a Soap Server that has a function call. Let's call it, "Wang" Now, the purpose of the function "Wang" is to return to the client, "Hello $inputName" Now, $inputName is a paramter passed in from the client in the Soap Request. My process "Wang" accepts the request from our Client named "Tang" Now.. Tang sends a request to our soap server calling the function Wang with an inputerName parameter of "Bob". Wang returns back to the client the string of "Hello Bob". What I have just described, in simple pseudo code, is a fully functioning, simple soap server. Now.. I want to modify the function "Wang" to output both the request from the client, and the response from the server. On the client side, I can do that via the variables: soapclient->request and soapclient->response. I want to know how to do this on the Server Side. Does this make more sense? --Vapok |
||||||||||||
|
Site Admin
|
in your function you can access $server global variable and see its $request property which contains XML envelope received from the client.
Server responce can't be gotten at the time when your procedure is called because the responce itself is generated later after the server processed all the incoming envelopes. You'll probably just want to walk through your server in debugger step-by-step and see how it work. |
||||||||||||
|
|
Pardon my ignorance...
How do I use the debugger? |
||||||||||||
|
Site Admin
|
you need phped and debugger module installed on the server.
Read phped FAQ on how to run a debug session out of the IDE (p.3) howto-run-debug-session-t585.html |
||||||||||||
|
Archiving Server Responses |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by