Package nexj.core.rpc.soap

Examples of nexj.core.rpc.soap.SOAPUnmarshallerException


         {
            instance = (TransferObject)m_instanceAccessor.getValue(nObj, unmsh);

            if (instance == null)
            {
               throw new SOAPUnmarshallerException(
                  "err.rpc.xml.unboundEvent", new Object[]{m_event.toString()});
            }
         }

         XMLInvocationRequest request = // WSDL events always return a list for MS.NET compatibility
View Full Code Here


      public void complete(int nObj, SOAPUnmarshaller unmsh) throws SOAPUnmarshallerException
      {
         if (((XMLUnmarshaller)unmsh).getTempIndex(nObj, 0) == 0)
         {
            throw new SOAPUnmarshallerException("err.rpc.soap.root");
         }
        
         XMLUnmarshaller unmrsh = (XMLUnmarshaller)unmsh;

         unmrsh.setFixup(nObj, unmrsh.getTempValue(nObj, 0));
View Full Code Here

         XMLUnmarshaller unmrsh = (XMLUnmarshaller)unmsh;

         // this is the second fault in the input
         if (unmrsh.getTempValue(nObj, 0) instanceof SOAPFault)
         {
            throw new SOAPUnmarshallerException("err.rpc.soap.dupFault",
                                                new Object[]{m_sURI, m_sType});
         }

         unmrsh.setTempValue(nObj, 0, value);
         unmrsh.setTempIndex(nObj, 0, 1); // mark value as having been set
View Full Code Here

      public void setFixup(int nObj, Object ref, SOAPUnmarshaller unmsh)
      {
         if (ref instanceof String)
         {
            throw new SOAPUnmarshallerException("err.rpc.soap.hrefTop",
                                                new Object[]{m_sURI, m_sType});
         }

         XMLUnmarshaller unmrsh = (XMLUnmarshaller)unmsh;
View Full Code Here

      {
         throw e;
      }
      catch (XMLParserException e)
      {
         throw new SOAPUnmarshallerException("err.rpc.xml.request", e);
      }
      catch (XMLException e)
      {
         throw (e.getCause() instanceof SOAPUnmarshallerException)
                ? (SOAPUnmarshallerException)e.getCause()
                : new SOAPUnmarshallerException("err.rpc.xml.request", e.getCause());
      }
   }
View Full Code Here

         if (accessor != null)
         {
            return accessor;
         }

         throw new SOAPUnmarshallerException(
            "err.rpc.soap.element", new Object[]{sURI, sType, m_sURI, m_sType});
      }
View Full Code Here

         if (m_accessor.getElement() != null &&
             (!m_accessor.getElement().equals(sType) ||
              (m_accessor.getURI() == null && sURI != null) ||
              !m_accessor.getURI().equals(sURI)))
         {
            throw new SOAPUnmarshallerException("err.rpc.soap.arrayItem",
                                                new Object[]{ sURI, sType, m_sURI, m_sType });
         }
        
         return m_accessor; // have to return self to construct object item
      }
View Full Code Here

TOP

Related Classes of nexj.core.rpc.soap.SOAPUnmarshallerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.