2 Replies Latest reply: Jun 4, 2012 2:53 PM by 932701 RSS

    Unknown Error during Request parsing

    932701
      Good evening to All Oracle Gurus and experties here.
      I'm looking for some knowledge and background on why the below kind of error comes usually & troubleshooting tips to prevent this kind of error.

      I've a batch application which sends a request to thirdparty system to parse the request sent from my system and gives response.
      During the Request Invoke, I'm seeing below exception.
      =======================================
      Caused by: Unknown Error :(
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
           at java.lang.Class.newInstance0(Class.java:308)
           at java.lang.Class.newInstance(Class.java:261)
           at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
           at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
           at com.kohls.es.thirdparty.protegrity.XcError.getDeserializer(XcError.java:146)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
           at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
           at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
           at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
           at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
           at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
           at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
           at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
           at weblogic.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
           at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
           at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
           at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
           at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
           at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
           at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
           at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
           at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
           at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152)
           at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
           at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
           at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
           at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
           at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
           at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
           at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
           at org.apache.axis.client.Call.invoke(Call.java:2767)
           at org.apache.axis.client.Call.invoke(Call.java:2443)
           at org.apache.axis.client.Call.invoke(Call.java:2366)
           at org.apache.axis.client.Call.invoke(Call.java:1812)
      ....... 10 more
      ========================================

      Here is the client code..
      org.apache.axis.client.Call _call = createCall();
      call.setOperation(operations[6]);
      _call.setUseSOAPAction(true);
      _call.setSOAPActionURI("ApplicationProtectorWS#xcProtect");
      _call.setEncodingStyle(null);
      call.setProperty(org.apache.axis.client.Call.SENDTYPE_ATTR, Boolean.FALSE);
      call.setProperty(org.apache.axis.AxisEngine.PROPDOMULTIREFS, Boolean.FALSE);
      call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11CONSTANTS);
      _call.setOperationName(new javax.xml.namespace.QName("http://xc.protegrity.com/ApplicationProtectorWS", "xcProtect"));

      setRequestHeaders(_call);
      setAttachments(_call);
      try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {xcProtectRequest});
      ---
      The last line is throwing this error.

      Please help me in resolving this issue. Thank you in advance.
      Unfortunately we are NOT logging the request in my system.