CISCO WebDialer API, Механизмът на AXIS не можа да намери целева услуга за извикване

Опитвам се да използвам API на Cisco WebDialer, но имам няколко проблема с него:

Когато се опитам да изпратя следната SOAP заявка

<?xml version="1.0" encoding="utf-8" ?> 
 <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WD70">
    <soapenv:Header/>
    <soapenv:Body>
       <urn:makeCallSoap soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
          <in0 xsi:type="urn:Credential">
             <userID xsi:type="xsd:string">user******</userID>
             <password xsi:type="xsd:string">pass*****</password>
          </in0>
          <in1 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1234</in1>
          <in2 xsi:type="urn:UserProfile">
             <user xsi:type="xsd:string">wd</user>
             <deviceName xsi:type="xsd:string">SEP001558C8970F</deviceName>
             <lineNumber xsi:type="xsd:string">901234565</lineNumber>
             <supportEM xsi:type="xsd:boolean">false</supportEM>
             <locale xsi:type="xsd:string">English</locale>
             <dontAutoClose xsi:type="xsd:boolean">false</dontAutoClose>
             <dontShowCallConf xsi:type="xsd:boolean">true</dontShowCallConf>
          </in2>
       </urn:makeCallSoap>
    </soapenv:Body>
 </soapenv:Envelope>

до https://SERVER:PORT/webdialer/services/WebdialerSoapService70 Получих следната грешка:

The AXIS engine could not find a target service to invoke!  targetService is WebdialerSoapService70

Когато се опитам да вляза директно в https:///webdialer/services/WebdialerSoapService70 през браузър, получавам следното съобщение:

AXIS error
No service is available at this URL

Въпросът ми е какво не е наред? Пропускам ли нещо в заявката си или необходимата услуга не работи? Благодаря ти.


person Anatoly    schedule 22.10.2014    source източник


Отговори (1)


Добре, благодарение на колегата получих отговора. Трябва да отидете на следната връзка:

https://SERVER:PORT/webdialer/services

И ще видите списък с всички работещи услуги и връзки към тях. В моя случай правилната връзка беше:

https://SERVER:PORT/webdialer/services/WebdialerSoapService

След като го смених всичко започва да работи. И да, когато отворите правилната връзка в браузъра, трябва да получите следното съобщение:

WebdialerSoapService
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...
person Anatoly    schedule 23.10.2014