Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: CTI-traveller on November 08, 2010, 04:07:18 PM
-
Hi All,
I 'm using composer version 8.03 and inside my call flow, I used web service block to call web service. When I tested with web service explorer in composer, it works. But when I run call flow, i got bad fetch error and inside MCP log, I saw http 500 error.
There is no proxy in the server which web service is located. And my vxml file and webservice is located on the same server. And also I can call this web services from browser. Any idea are appreciate. thanks.
Regards,
CTIT
-
Hi,
Your issue may be caused by missing library or wrong version of a library that is required by the code generated by Composer. It would be good to check web server log and find out more details about HTTP 500 error.
R.
-
Hi R,
Thanks for the reply. I find out the exception in event viewer.
Exception :[color=red] HttpCompileException
Exception message : C:\inetpub\wwwroot\WebServiceTest\include\getWebServiceData.aspx(7);error CS0246: The type or namespace name
'NewtonSoft' could not be found(are you missing a using directive or an assembly reference?)[/color]
At line 7 in my call flow, there is import declarative for Newtonsoft.json as follow.
[color=red]<%@ Import Namespace="Newtonsoft.Json" %>[/color]
Let me explore the layout of my servers and call flow. The composer is located in server-A. There is no IIS.
After validation and generate code, I export the call flow as mention in composer 8.03Help. Then copy this exported folder to server-B.
MCP and IIS7 are there. I created virtual directory in IIS and pointed to the folder(i.e. exported call flow folder)
And Newtonsoft.Json.dll is inside bin folder. But what I suspect is Genesys recommend to install IIS for composer but in my server-A, there is no IIS. So the call flow is not compile properly and it make the exception. Am I right?
Or if you see there is other hypothesis, please let me know.
Thanks,
CN
-
Hi All,
Any opinion?? Someone encountered before??
Regards,
CN
-
Hi CN,
It seems the documentation is wrong as it's necessary to add Composer's project to IIS as new application instead of virtual directory.
R.