0 Replies Latest reply: Feb 24, 2012 1:00 AM by 537891 RSS

    Getting exception in jobManagementService.getJobInfo method

    537891
      Hi,

      I am triggering a segment in BI using the webservice. A Job ID is allocated to it and after the segment is created and state of this job ID becomes "finished" I try to getJobInfo. I am using core java to consume the webservices.
      As soon as I fire following command:-
      jobInfoGetJob = jobManagementService.getJobInfo(jobInfo.getJobStats().getJobID(), m_sessionID);

      I get following exception:-
      org.apache.axis.client.Call invoke
      SEVERE: Exception:
      org.xml.sax.SAXException: Invalid element in com.siebel.analytics.web.soap.v5.NameValueArrayPair - value
           at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
           at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
           at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
           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.client.Call.invoke(Call.java:2467)
           at org.apache.axis.client.Call.invoke(Call.java:2366)
           at org.apache.axis.client.Call.invoke(Call.java:1812)
           at com.siebel.analytics.web.soap.v5.JobManagementServiceStub.getJobInfo(JobManagementServiceStub.java:1883)
           at com.wipro.uninor.TestConnection.executeSegment(TestConnection.java:212)

      Need help.

      Regards,
      ~Alpana