Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Raj on May 13, 2009, 09:46:49 AM
-
Hi All,
Can any one suggest me how to debug my URS strategy that using web service.
I am getting 0001: Unknown error in URS log file after accessing the webservice.
I am not getting anything in http log file and xml log file is not creating.
How to approach at this point.
Thanks and regards,
Raj
-
Hope you're using 7.6 URS (or later :P), with the 7.2 I couldn't get it running so I needed to upgrade.
I hope you've created a web (section name in urs option tab) and declared http_log_file, http_port, xml_log_file, parser_log_file (the first 2 I think they are mandatory)
Please post snipps from log file.
And after each modification pls restart the URS Server, otherwise it will not work - even if in the documentation says that you don't need :)
-
And another problem I had the WebService object in strategy doesn't parse allways correctly the WSDL, the probleme may also be there (I think).
You have to know the methods and parameters and put it by hand in the Webservice object in strategies.
-
Hi,
I am using URS 7.2 version. Is it going create any problem for strategy.
Thanks and regards,
Raj
-
Like I told you previously I couldn't access the webservice with the 7.2, so I needed to upgrade.
-
URS 7.2 had a defect (I am sure about AIX, as that is where I experienced) and it never worked while trying to call remote web service. This was fixed at some point in URS 7.5.
The work around was: to have a web service in local system (URS host), which will act as a relay b/w bridge and remote WS.
Thanks
-
Hi All,
Thanks for your replies.
I am upgraded to URS 7.6. Still I am not able to get output from my webservice.
I am not getting any error messages in URS log files,http log files,xml log files.
However I am getting null value as an output.
What will be my move from here.
Thanks and regards,
Raj
-
Raj,
Post here all logs (URS - debug level, HTTP - verbose 6 level, XML) and we can try to find out what went wrong.
R.
-
Hi,
I am posting URS,http,xml log files.
Thanks and regards,
Raj
-
Raj , as i can see u URS is configured right and work propertly. But the problem is what u web-services can't undestand the soap request from the URS. It's may be because u don't right configure the web object in the u strategy or the because u web services have the error in the internal structure. do u test the web services independed of the genesys ? it's work right? how u configure the web object in the IRD - manual or by wdsl file? if it done by wdsl file - how u create the wdsl file? because the urs don't undestand propertly the MS .NET automaticly generated wdsl.
WBR Timur
-
Hi,
Thanks a lot for your support. Now I will look into my webservice.
Thanks and regards,
Raj
-
Raj:
Seems URS gSOAP request and the response is correct.
Please check the strategy block.
Thanks
-
Raj,
I would say your WebService block isn't configured properly so your webservice ignores input parameters. Please try use following setup (changed Method namespace and Req.Parameters):
[code]Web Service URL: http://localhost/UserInfo/UserInfo.asmx
Method name: GetFirstName
Method namespace: s0=http://localhost/UserInfo
SOAPaction: http://localhost/UserInfo/GetFirstName
Request Parameters:
s0:UserLogin = Raj[/code]
R.
-
Hi,
Following soap header is given by client.
<soap:Header>
<AuthenticationHeader xmlns="">
<AuthenticationType>string</AuthenticationType>
<AuthorizationCode>string</AuthorizationCode>
<Username>string</Username>
</AuthenticationHeader>
</soap:Header>
How i can use the soap header in web service security tab of the routing strategy.
Thanks and regards,
Shekar
-
Shekar,
It doesn't seems like standard WS-Security based authentication. Do you know what type of authentication is used by the web service?
R.