cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1485
Views
0
Helpful
2
Replies

CUCM addRoutePattern AXL

tpfrankli
Level 5
Level 5

I'm getting the following error when calling the addRoutePatern AXL API in CUCM 11.0.

"ENUM for TRUE not found in TypeStatus"


I don't see that value called out anywhere in the API documentation. Full response below:

object(stdClass)#4 (3) {

     ["axlcode"]=> string(4) "5003"

     ["axlmessage"]=> string(37) "ENUM for TRUE not found in TypeStatus"

     ["request"]=> string(15) "addRoutePattern" } } }


CUCM RTMT AXL error:

2016-02-29 14:20:53,691 INFO  [http-bio-443-exec-12] servletRouters.AXLAlpha - Executing api: addRoutePattern in axis

2016-02-29 14:20:53,705 ERROR [http-bio-443-exec-12] axlapiservice.AXLAPIServiceSkeleton - com.cisco.www.axlapiservice.AXLAPIServiceSkeleton@9b5ce2

com.cisco.www.axlapiservice.DataValidationException: ENUM for TRUE not found in TypeStatus

  at com.cisco.www.axlapiservice.Handler.addTkDataAXIS(Handler.java:3111)

  at com.cisco.www.axlapiservice.AddRoutePatternHandler.doAdd(AddRoutePatternHandler.java:82)

  at com.cisco.www.axlapiservice.AXLAPIServiceSkeleton.addRoutePattern(AXLAPIServiceSkeleton.java:16186)

  at com.cisco.www.axlapiservice.AXLAPIServiceMessageReceiverInOut.addRoutePattern(AXLAPIServiceMessageReceiverInOut.java:11059)

  at com.cisco.www.axlapiservice.AXLAPIServiceMessageReceiverInOut.invokeBusinessLogic(AXLAPIServiceMessageReceiverInOut.java:1447)

  at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)

  at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)

  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)

  at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)

  at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)

  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)

  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)

  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)

  at com.cisco.www.servletRouters.AXLAlpha.forwardToAxis(AXLAlpha.java:201)

  at com.cisco.www.servletRouters.AXLAlpha.doPost(AXLAlpha.java:72)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.ThrottlingFilter.doFilter(ThrottlingFilter.java:66)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.vos.platform.tomcat.valves.CiscoResponseHeaderFilter.doFilter(Unknown Source)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.NormalizeHeaderFilter.doFilter(NormalizeHeaderFilter.java:50)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:57)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.TimingFilter.doFilter(TimingFilter.java:41)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:613)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

  at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:312)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

  at java.lang.Thread.run(Thread.java:745)

2016-02-29 14:20:53,715 INFO  [http-bio-443-exec-12] filters.TimingFilter - Request 1455124524813 received from axl-user at ip 192.168.3.2 was processed in 55ms

~~~ Rate helpful posts Blog - http://tripplehelix.net
1 Accepted Solution

Accepted Solutions

Resolved the issue. Value for "useCallingPartyPhoneMask"=>"On", was set to TRUE not on.

~~~ Rate helpful posts Blog - http://tripplehelix.net

View solution in original post

2 Replies 2

tpfrankli
Level 5
Level 5

Turned AXL logging to debug. Looks like CUCM doesn't see the addRoutePattern API call.

2016-02-29 14:27:29,905 DEBUG [http-bio-443-exec-13] filters.TimingFilter - Received request 1455124524816 from axl-user at IP 192.168.3.2

2016-02-29 14:27:29,906 DEBUG [http-bio-443-exec-13] wrappers.RequestHeaderWrapper - Inside Request Header Wrapper

2016-02-29 14:27:29,927 DEBUG [http-bio-443-exec-13] filters.ThrottlingFilter - DBLCNQueue Count: 0

2016-02-29 14:27:29,928 DEBUG [http-bio-443-exec-13] filters.ThrottlingFilter - Successfully set the value of counter: 4 value: 0

2016-02-29 14:27:29,929 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - Checking request version [11.0]

2016-02-29 14:27:29,929 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - Checking if requested api [addRoutePattern] the implementedHandlers list

2016-02-29 14:27:29,929 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - [addRoutePattern] is not in the implementedHandlers list

2016-02-29 14:27:29,930 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - Checking if version is 8.x

2016-02-29 14:27:29,930 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - function to check if the version is 8.x

2016-02-29 14:27:29,930 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - version is not 8.x

2016-02-29 14:27:29,930 INFO  [http-bio-443-exec-13] servletRouters.AXLAlpha - Executing api: addRoutePattern in axis

2016-02-29 14:27:29,931 DEBUG [http-bio-443-exec-13] wrappers.RequestNamespaceWrapper - Inside Request Wrapper

2016-02-29 14:27:29,931 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - AXL REQUEST :

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.cisco.com/AXL/API/11.0"><SOAP-ENV:Body><ns1:addRoutePattern><routePattern><pattern>9.011!</pattern><description>International from US-555-foop</description><routePartitionName>US-555-foop-Routes</routePartitionName><blockEnable>FALSE</blockEnable><useCallingPartyPhoneMask>TRUE</useCallingPartyPhoneMask><callingPartyPrefixDigits>12345</callingPartyPrefixDigits><dialPlanName></dialPlanName><digitDiscardInstructionName>PreDot</digitDiscardInstructionName><networkLocation>OffNet</networkLocation><prefixDigitsOut></prefixDigitsOut><routeFilterName></routeFilterName><provideOutsideDialtone>FALSE</provideOutsideDialtone><destination><routeListName>Local-PSTN-Route-List</routeListName></destination></routePattern></ns1:addRoutePattern></SOAP-ENV:Body></SOAP-ENV:Envelope>

2016-02-29 14:27:29,932 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - Request processed by AXIS

2016-02-29 14:27:29,938 DEBUG [http-bio-443-exec-13] axlapiservice.Handler - dbConnector Initialization in handler.java

2016-02-29 14:27:29,939 DEBUG [http-bio-443-exec-13] axlapiservice.Axl - Connection given to current thread

2016-02-29 14:27:29,942 DEBUG [http-bio-443-exec-13] axlapiservice.AXLCallFlow - In begin transaction of AXLCallflow and created pub connector

2016-02-29 14:27:29,950 DEBUG [http-bio-443-exec-13] axlapiservice.AddRoutePatternHandler - In AddRoutePattern

2016-02-29 14:27:29,951 DEBUG [http-bio-443-exec-13] axlapiservice.Handler - getPkid Query is :select pkid from RoutePartition where my_lower(name ) =my_lower('US-555-foop-Routes' )

2016-02-29 14:27:29,956 DEBUG [http-bio-443-exec-13] axlapiservice.Handler - Inside addTkdataAXIS utils part

2016-02-29 14:27:29,963 DEBUG [http-bio-443-exec-13] axlapiservice.Handler - select enum from TypeStatus where TypeStatus.name='TRUE'

2016-02-29 14:27:29,967 ERROR [http-bio-443-exec-13] axlapiservice.AXLAPIServiceSkeleton - com.cisco.www.axlapiservice.AXLAPIServiceSkeleton@117c1d2

com.cisco.www.axlapiservice.DataValidationException: ENUM for TRUE not found in TypeStatus

  at com.cisco.www.axlapiservice.Handler.addTkDataAXIS(Handler.java:3111)

  at com.cisco.www.axlapiservice.AddRoutePatternHandler.doAdd(AddRoutePatternHandler.java:82)

  at com.cisco.www.axlapiservice.AXLAPIServiceSkeleton.addRoutePattern(AXLAPIServiceSkeleton.java:16186)

  at com.cisco.www.axlapiservice.AXLAPIServiceMessageReceiverInOut.addRoutePattern(AXLAPIServiceMessageReceiverInOut.java:11059)

  at com.cisco.www.axlapiservice.AXLAPIServiceMessageReceiverInOut.invokeBusinessLogic(AXLAPIServiceMessageReceiverInOut.java:1447)

  at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)

  at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)

  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)

  at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)

  at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)

  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)

  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)

  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)

  at com.cisco.www.servletRouters.AXLAlpha.forwardToAxis(AXLAlpha.java:201)

  at com.cisco.www.servletRouters.AXLAlpha.doPost(AXLAlpha.java:72)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.ThrottlingFilter.doFilter(ThrottlingFilter.java:66)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.vos.platform.tomcat.valves.CiscoResponseHeaderFilter.doFilter(Unknown Source)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.NormalizeHeaderFilter.doFilter(NormalizeHeaderFilter.java:50)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:57)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.cisco.www.servletRouters.filters.TimingFilter.doFilter(TimingFilter.java:41)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:613)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

  at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:312)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

  at java.lang.Thread.run(Thread.java:745)

2016-02-29 14:27:29,969 DEBUG [http-bio-443-exec-13] axlapiservice.AXLCallFlow - In rollback transaction and created pub connector

2016-02-29 14:27:29,970 DEBUG [http-bio-443-exec-13] axlapiservice.Axl - Connection closed and hashmap entry removed in AXL.java closing connection

2016-02-29 14:27:29,970 DEBUG [http-bio-443-exec-13] axlapiservice.AXLCallFlow - Rollback transaction connector object closed

2016-02-29 14:27:29,971 DEBUG [http-bio-443-exec-13] axlapiservice.AXLCallFlow - In AXL CAll Flow class, method getSOAPError

2016-02-29 14:27:29,972 DEBUG [http-bio-443-exec-13] axlapiservice.AXLCallFlow - Setting soap fault

2016-02-29 14:27:29,972 DEBUG [http-bio-443-exec-13] axlapiservice.AXLCallFlow - Setting soap fault2

2016-02-29 14:27:29,980 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>ENUM for TRUE not found in TypeStatus</faultstring><detail><axlError><axlcode>5003</axlcode><axlmessage>ENUM for TRUE not found in TypeStatus</axlmessage><request>addRoutePattern</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

2016-02-29 14:27:29,981 DEBUG [http-bio-443-exec-13] servletRouters.AXLAlpha - Finished processing request

2016-02-29 14:27:29,981 INFO  [http-bio-443-exec-13] filters.TimingFilter - Request 1455124524816 received from axl-user at ip 192.168.3.2 was processed in 76ms

~~~ Rate helpful posts Blog - http://tripplehelix.net

Resolved the issue. Value for "useCallingPartyPhoneMask"=>"On", was set to TRUE not on.

~~~ Rate helpful posts Blog - http://tripplehelix.net