Package axis.com.ibm.www.xmlns.stdwip.web_services.WS_ResourceProperties

Examples of axis.com.ibm.www.xmlns.stdwip.web_services.WS_ResourceProperties.BaseFaultTypeErrorCode


    * @param base_fault
    * @return  Axis-generated _BaseFaultType_ErrorCode
    */
   private static BaseFaultTypeErrorCode toAxisErrorCode( BaseFaultException base_fault )
   {
      BaseFaultTypeErrorCode axis_error_code = new BaseFaultTypeErrorCode(  );
      ErrorCode                error_code = base_fault.getErrorCode(  );

      if ( error_code != null )
      {
         SOAPElement[]    base_fault_errors = error_code.getContent(  );

         MessageElement[] error_elems = new MessageElement[base_fault_errors.length];

         for ( int i = 0; i < base_fault_errors.length; i++ )
         {
            error_elems[i] = (MessageElement) base_fault_errors[i];
         }

         axis_error_code.set_any( error_elems );

         try
         {
            axis_error_code.setDialect( AxisUtils.toAxisURI( error_code.getDialect(  ) ) );
         }
         catch ( URI.MalformedURIException e )
         {
            throw new RuntimeException( e );
         }
View Full Code Here

TOP

Related Classes of axis.com.ibm.www.xmlns.stdwip.web_services.WS_ResourceProperties.BaseFaultTypeErrorCode

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.