cancel
Showing results for 
Search instead for 
Did you mean: 

Error when use getNodes with SOAP API

ops_mdm
Occasional Contributor

Error when use getNodes with SOAP API

Hi,

 

I try to get nodes in a Pool with SOAP API but I've got this error:

 

... (soapSmiley Frustratederver) Can't use string ("Web Pool") as an ARRAY ref while "strict refs" in use at /usr/local/zeus/zxtmadmin/lib/perl/Zeus/ZXTM/SOAP/Pool.pm line 471. (Savon:Smiley FrustratedOAPFault)

 

i have tried with ruby and python language and I have the same result.

 

My code example:

 

#!/usr/bin/env ruby

require 'savon'

wsdl_pool='lib/vACD/wsdl/Pool.wsdl'

client = Savon.client do
  wsdl wsdl_pool
  namespace 'http://soap.zeus.com/zxtm/1.0/Pool/'
  ssl_verify_mode :none
end

puts client.call(:get_nodes, message: {names: 'Web Pool'})

 

 

Anyone already have the same problem ?

 

Thanks.

Regards.

 

 

1 REPLY 1
PaulWallace
Contributor

Re: Error when use getNodes with SOAP API

Hello - did you already raise this with support? Would also help to know which nodes are listed in the GUI associated with this web pool.

 

Also try with the REST API - REST is more commonly used these days than SOAP.

 

 

P, ...