cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
555
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Bruno RIGUET on 16-06-2010 02:40:44 PM
Hello all,
somebody can explain me how to make a sql request with the RIS axl functionnality
(https://IP:8443/realtimeservice/services/RisPort?wsdl)
 
I try to make an sql request like
select * from licenseinfo
 
 
select * from licenseserverinfo
 
but I must complete the query by a type define in WSDL.
See below my error message:
 
DEBUG:suds.client:sending to (https://10.35.68.10:8443/realtimeservice/services/RisPort)
message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns3="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://schemas.cisco.com/ast/soap/" xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Header/>
   <ns2:Body>
      <ns1:ExecuteCCMSQLStatement>
         <ExecuteSQLInputData xsi:type="ns3:string">10.35.68.10</ExecuteSQLInputData>
         <GetColumns xsi:type="ns1:ArrayOfGetColumns">select * from callmanager</GetColumns>
      </ns1:ExecuteCCMSQLStatement>
   </ns2:Body>
</SOAP-ENV:Envelope>
DEBUG:suds.client:headers = {'SOAPAction': u'"[url=http://schemas.cisco.com/ast/soap/action/#PerfmonPort#ExecuteCCMSQLStatement"']http://schemas.cisco.com/ast/soap/action/#PerfmonPort#ExecuteCCMSQLStatement"', 'Content-Type': 'text/xml; charset=utf-8'}
ERROR:suds.client:<?xml version="1.0" encoding="UTF-8"?>
<document>
   <SOAP-ENV:Envelope xmlns:ns3="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://schemas.cisco.com/ast/soap/" xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <SOAP-ENV:Header/>
      <ns2:Body>
         <ns1:ExecuteCCMSQLStatement>
            <ExecuteSQLInputData xsi:type="ns3:string">10.35.68.10</ExecuteSQLInputData>
            <GetColumns xsi:type="ns1:ArrayOfGetColumns">select * from callmanager</GetColumns>
         </ns1:ExecuteCCMSQLStatement>
      </ns2:Body>
   </SOAP-ENV:Envelope>
</document>
DEBUG:suds.client:http failed:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="[url=http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException]http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: Found character data inside an array element while deserializing</faultstring><detail><ns1:stackTrace xmlns:ns1="[url=http://xml.apache.org/axis/">org.xml.sax.SAXException]http://xml.apache.org/axis/">org.xml.sax.SAXException: Found character data inside an array element while deserializing
 at org.apache.axis.encoding.ser.ArrayDeserializer.characters(ArrayDeserializer.java:502)
 at org.apache.axis.encoding.DeserializationContext.characters(DeserializationContext.java:966)
 at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:177)
 at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
 at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
 at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
 at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:81)
 at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
 at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
 at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
 at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
 at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
 at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
 at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
 at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
</ns1:stackTrace><ns2:hostname xmlns:ns2="[url=http://xml.apache.org/axis/">CCM1</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope]http://xml.apache.org/axis/">CCM1</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
 
 
Tahnks by advance for your responses
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links