" /> Saop Web service Error - Genesys CTI User Forum

Author Topic: Saop Web service Error  (Read 7469 times)

Offline genesysBeginner

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Saop Web service Error
« on: May 28, 2015, 11:38:22 AM »
Advertisement
Hello,
I'm using a web service in a  genesys Strategy and i have this error in the logs : Error in message from HTTP Bridge, refid=2: 0013 Remote error
Could any one know what does it mean ?

I already tested the sweb service with soapUI and it work perfectly
Thanks
URS LOGS

11:55:34.949_I_I_2ffe0265e1e691c4 [07:39] HERE IS XDATA
11:55:34.949_H_I_ [08:0c] SOAP request 2 sent to HTTP Bridge:
URL:        https://w.mysite.com/services/Soap/class/Test
Method:    tns:saywelcome
NameSpace:  tns=http://soap.mysite.com/schemas/class/Test
SOAPaction:
Input:      tns:SessionHeader.tns:SessionHeader.tns:sessionId:test1|tns:saywelcome.tns:Name:test2
Output:    saywelcomeResponse.result
HTTPAuthent:1 
SOAPSecrty:
11:55:34.949_I_I_2ffe0265e1e691c4 [09:04] <<<<<<<<<<<<suspend interp(WAIT_WEBSERVICE), func:GetWebServiceInfoEx timers:00000
11:55:36.000_M_I_ [10:1d] PULSE (calls: 1(1)=1+403-403, targets=1, time=1432806936, mem=0,74544,2451,324,241,0)
11:55:36.000_M_I_ [10:1d] vqs allocation pattern: static=(13 256 128) dynamic=(402 2/1024)
11:55:36.000_M_I_ [10:1d] check queue for SO <MCR_Agent0> type <Agent> stat <##state> (1 trgs 0 cpu)
11:55:36.000_M_I_ [10:1d] PULSE over: 0 cpu 1 objects 1 trgs
received from 65202(SIP_Server)demosrv.genesyslab.com:7004(fd=) message EventResourceInfo
AttributeThisDN 'Environment'
AttributeExtensions [46] 00 02 01 00..
'available-ports' 100
'total-ports' 100
AttributeTimeinSecs 1432806937 (11:55:37)
AttributeTimeinuSecs 102000
AttributeCustomerID 'Environment'
AttributeEventSequenceNumber 000000000000aef3
.
.
.
received from 65202(SIP_Server)demosrv.genesyslab.com:7004(fd=) message EventResourceInfo
AttributeThisDN 'Environment'
AttributeExtensions [46] 00 02 01 00..
'available-ports' 100
'total-ports' 100
AttributeTimeinSecs 1432805294 (11:28:14)
AttributeTimeinuSecs 727000
AttributeCustomerID 'Environment'
AttributeEventSequenceNumber 000000000000ad6f
11:28:14.891_H_E_2ffe0265e1e69031 [08:08] Error in message from HTTP Bridge, refid=1: 0013 Remote error
11:28:14.891 Int 21001 interaction 2ffe0265e1e69031 data lookup fails
11:28:14.891_I_I_2ffe0265e1e69031 [09:05] >>>>>>>>>>>>resume interp(0), func:GetWebServiceInfoEx
    _I_E_2ffe0265e1e69031 [09:05] error in strategy: 0013 Remote error (GetWebServiceInfoEx)
    _I_I_2ffe0265e1e69031 [09:04] ASSIGN: __WEBReturn(SCRIPT) <- LIST: :
    _I_I_2ffe0265e1e69031 [09:04] ASSIGN: id_tache(LOCAL) <- STRING: ""
    _I_I_2ffe0265e1e69031 [0E:17] HERE IS ROUTE_DIRECT
request to 65201(--) message RequestUpdateUserData
HTTP logs


URL: https://mysite.com/services/Soap/class/Test
SOAP Action:
HTTP Auth: Anonymous
WS-Security: No
Method: tns:saywelcome
Namespace: tns=http://mysite.com/schemas/class/Test
List Tags:
  key tns:SessionHeader [list] value: (size=160)
    key tns:SessionHeader [list] value: (size=134)
      key tns:sessionId [String] value: "test1"
  key tns:saywelcome [list] value: (size=19)
    key tns:Name [String] value: "test2"
Result: saywelcomeResponse.result
05/28/15@11:56:01.008: [HTTP Client 0000000000f6ec58] Connecting to https://mysite.com/services/Soap/class/Test
Certif: (null)
Certif Key: (null)
Trusted CA: (null)
._11:56:01.0080_resolving of host name 'mysite.com'
._11:56:01.0080_name 'mysite.com' resolved
05/28/15@11:56:02.172: [WFM] Thread 324 on 2015-05-28 at 11:56:02(Loc)
Locator Service URL: http://demosrv.genesyslab.com:5007/WFServer?Handler=WFMLocatorService
Application Name: Universal_Routing_Server
05/28/15@11:56:13.173: [WFM] Thread 324 on 2015-05-28 at 11:56:13(Loc)
Locator Service URL: http://demosrv.genesyslab.com:5007/WFServer?Handler=WFMLocatorService
Application Name: Universal_Routing_Server
05/28/15@11:56:22.010: [HTTP Client 0000000000f6ec58] Connection exception on socket 344
05/28/15@11:56:22.010: [HTTP Client 0000000000f6ec58] Socket 344 closed
05/28/15@11:56:22.010: [SOAP Handler 0000000000f6eb60] Ref 2. Maximum number of attempts (2) to contact Web Service reached
05/28/15@11:56:22.010: Ref 2. Response with event type 6 sent to client
05/28/15@11:56:22.010: [SOAP Handler 0000000000f6eb60] State 'Idle'
05/28/15@11:56:24.174: [WFM] Thread 324 on 2015-05-28 at 11:56:24(Loc)



[/list][/list][/list]

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Saop Web service Error
« Reply #1 on: May 28, 2015, 11:43:08 AM »
Check the error on web server site or try to sniff the communication to see what is the response from the web server - it should be caused by certificates problem.

Offline genesysBeginner

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Saop Web service Error
« Reply #2 on: May 28, 2015, 11:46:20 AM »
ok thanks, i will try to use wireshark to have more details.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Saop Web service Error
« Reply #3 on: May 28, 2015, 12:10:19 PM »
Enable URS HTTP logs. You will see there

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Saop Web service Error
« Reply #4 on: May 28, 2015, 12:10:58 PM »
Genesys demoserv? Hope you are not a Genesys guy asking this...

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Saop Web service Error
« Reply #5 on: May 28, 2015, 05:27:23 PM »
05/28/15@11:56:01.008: [HTTP Client 0000000000f6ec58] Connecting to https://mysite.com/services/Soap/class/Test
...
05/28/15@11:56:22.010: [HTTP Client 0000000000f6ec58] Connection exception on socket 344

HttpBridge just can not connect to web server (using provided URL).
Could you validate that webserver is running, etc - in other words that any other application can connect to web server using the same URL?

Offline genesysBeginner

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Saop Web service Error
« Reply #6 on: June 04, 2015, 03:41:58 PM »
@cavagnaro: I'm not a genesys guy, i'm just using a genesys VM.
@terry: the url works with soapui

I tried to sniff the communication with wireshark ,  i can see a call from genesys to the distant Web Service but there is no response, i tested the same distant web service with soapUI and it works. Could anyone  have an idea why the call to the same web service works with soapui and not from the Strategie ?

I tried also to add the options def_http_proxy_host and def_http_proxy_port, always the same  error in the logs  .. ??? ??? ???





Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Saop Web service Error
« Reply #7 on: June 05, 2015, 12:24:36 AM »
Enable HTTP logs...as said already

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Saop Web service Error
« Reply #8 on: June 05, 2015, 02:49:14 AM »
Plus just in case - you using https connection.
But looks like there is no certificate, certificate key , etc:
Certif:      (null)
  Certif Key:  (null)
  Trusted CA:  (null)

Is it expected?

Offline genesysBeginner

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Saop Web service Error
« Reply #9 on: June 05, 2015, 01:47:04 PM »
@cavagnaro http logs are already enabled
@ terry: i don't use any certificate, and with soapUi it works perfectlly.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Saop Web service Error
« Reply #10 on: June 05, 2015, 02:38:42 PM »
So can you post HTTP logs?
Is mysite.com your mask while posting? Or real URL?