【发布时间】:2013-06-20 08:52:41
【问题描述】:
这个问题很具体。如果 CUCM、AXL 和 SOAP 没有告诉您任何信息,则无需进一步阅读。除非你感兴趣。
有没有人成功地wsimporting 思科 AXL 的当前 WSDL 文件并支持AddTransPattern-请求?我说的是版本 8.5 或“当前”(如 Cisco UCM 8.6.2)。
导入成功,但添加翻译模式不再起作用。
我通过在eclipse中使用soapUI手工编写我的SOAP请求来测试它。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5">
<soapenv:Header/>
<soapenv:Body>
<ns:addTransPattern sequence="?">
<transPattern>
<pattern>MYPATTERN</pattern>
<description>MYDESCRIPTION</description>
<routePartitionName>MYPARTITION</routePartitionName>
<calledPartyTransformationMask>MYDESTINATION</calledPartyTransformationMask>
<provideOutsideDialtone>false</provideOutsideDialtone>
<callingSearchSpaceName>MYCALLINGSEARCHSPACE</callingSearchSpaceName>
</transPattern>
</ns:addTransPattern>
</soapenv:Body>
回复如下:
<axlcode>-391</axlcode>
<axlmessage>Cannot insert a null into column (numplan.tkpatternusage).</axlmessage>
<request>addTransPattern</request>
soapUI 告诉我输入usage 是可选。即使我为使用赋予了价值,例如<usage>3</usage>,它告诉我该值不存在,即使我知道它存在。
任何想法都值得赞赏
【问题讨论】: