Guest jdiegjdieg Report post Posted 10/21/2009 12:45 AM Can you post a simple PHP script that connects to the voiceguide WCF and echos the status of the ports? All of the help I have seen in this forum refers to the example script which is in C. I do not have a C compiler, I would simply like to see a short script that connects and prints the status. This should amount to only a few lines of code, so I hope you will consider it. Also, is there a reference or a way to get a list of the interfaces that voiceguide exposes to WCF? I have used WCF with other web services, and have tried a script similar to this one that I have used before, with no luck ... <?php header('Content-Type: text/plain'); echo "WCF Test\r\n\r\n"; $client = new SoapClient('http://gamma/wcftest/MathService.svc?wsdl'); $obj->x = 2.5; $obj->y = 3.5; $retval = $client->Add($obj); echo "2.5 + 3.5 = " . $retval->AddResult; ?> Share this post Link to post
SupportTeam Report post Posted 10/21/2009 03:14 AM Can you try connecting to this http address from browser on the same system as where VoiceGuide is running: http://localhost:7139/vgIvrRemoting/vgServices?WSDL do you see a response to this? Share this post Link to post
SupportTeam Report post Posted 10/21/2009 03:43 AM These below ones are the WCF implemented services. Try connecting to these: http://localhost:7131/PortCommandLink?wsdl http://localhost:7131/PortStatus?wsdl The PortStatus one is the that you shoud be using to get port status information. NB. other ones supported are: http://localhost:7131/AcdService?wsdl http://localhost:7131/LineCommandLink?wsdl the WCF service host base addresses are defined in vgIvrService.exe.config - so you can change the base addresses and bindings there if you'd like. Share this post Link to post