Package org.apache.axis2

Examples of org.apache.axis2.AxisFault


        else if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(nsURI)) {
            return OMAbstractFactory.getSOAP12Factory();
        } else if (SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(nsURI)) {
            return OMAbstractFactory.getSOAP11Factory();
        } else {
            throw new AxisFault(Messages.getMessage("invalidSOAPversion"));
        }
    }
View Full Code Here


            } else if (HTTPConstants.HEADER_PROTOCOL_10.equals(version)) {
                this.httpVersion = HTTPConstants.HEADER_PROTOCOL_10;
                // chunked is not possible with HTTP/1.0
                this.chunked = false;
            } else {
                throw new AxisFault(
                        "Parameter " + HTTPConstants.PROTOCOL_VERSION
                                + " Can have values only HTTP/1.0 or HTTP/1.1");
            }
        }
    }
View Full Code Here

            throws IOException {
        obtainHTTPHeaderInformation(httpMethod, msgContext);

        InputStream in = httpMethod.getResponseBodyAsStream();
        if (in == null) {
            throw new AxisFault(Messages.getMessage("canNotBeNull", "InputStream"));
        }
        Header contentEncoding =
                httpMethod.getResponseHeader(HTTPConstants.HEADER_CONTENT_ENCODING);
        if (contentEncoding != null) {
            if (contentEncoding.getValue().
                    equalsIgnoreCase(HTTPConstants.COMPRESSION_GZIP)) {
                in = new GZIPInputStream(in);
                // If the content-encoding is identity we can basically ignore it.
            } else if (!"identity".equalsIgnoreCase(contentEncoding.getValue())) {
                throw new AxisFault("HTTP :" + "unsupported content-encoding of '"
                        + contentEncoding.getValue() + "' found");
            }
        }

        OperationContext opContext = msgContext.getOperationContext();
View Full Code Here

                    agent.getParams().setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY,
                            authPrefs);
                }

            } else {
                throw new AxisFault("HttpTransportProperties.Authenticator class cast exception");
            }
        }

    }
View Full Code Here

      Long ch = Sessionmanagement.getInstance().checkSession("12312312");
      System.out.println("PING PING 1 ch: "+ch);
    }
   
    public void pingF(OMElement element) throws AxisFault{
        throw new AxisFault("Fault being thrown");
    }
View Full Code Here

     
          }
      return null;
    } catch (Exception err) {
      log.error("[getRoomsPublic] ",err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

               
      }
      //return null;
    } catch (Exception err) {
      log.error("[deleteFlvRecording] ",err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

      }
     
      return null;
    } catch (Exception err) {
      log.error("[getFlvRecordingByExternalRoomType] ",err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

      }
     
      return null;
    } catch (Exception err) {
      log.error("[getFlvRecordingByExternalRoomType] ",err);
      throw new AxisFault(err.getMessage());
    }
  }
View Full Code Here

      }
     
      return null;
    } catch (Exception err) {
      log.error("[getFlvRecordingByExternalRoomType] ",err);
      throw new AxisFault(err.getMessage());
    }
  } 
View Full Code Here

TOP

Related Classes of org.apache.axis2.AxisFault

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.