You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2005/04/19 06:43:54 UTC

svn commit: r161839 - in webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom: SOAPConstants.java soap11/ soap11/SOAP11Constants.java soap12/ soap12/SOAP12Constants.java

Author: chinthaka
Date: Mon Apr 18 21:43:53 2005
New Revision: 161839

URL: http://svn.apache.org/viewcvs?view=rev&rev=161839
Log:
Adding SOAP specific stuff

Added:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/SOAPConstants.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap11/
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap11/SOAP11Constants.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap12/
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap12/SOAP12Constants.java

Added: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/SOAPConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/SOAPConstants.java?view=auto&rev=161839
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/SOAPConstants.java (added)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/SOAPConstants.java Mon Apr 18 21:43:53 2005
@@ -0,0 +1,84 @@
+package org.apache.axis.om.impl.llom;
+
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ * <p/>
+ */
+public interface SOAPConstants {
+    /**
+     * Eran Chinthaka (chinthaka@apache.org)
+     */
+    /**
+     * Field SOAP_DEFAULT_NAMESPACE_PREFIX
+     */
+    public static final String SOAP_DEFAULT_NAMESPACE_PREFIX = "soapenv";
+    /**
+     * Field SOAPENVELOPE_LOCAL_NAME
+     */
+    public static final String SOAPENVELOPE_LOCAL_NAME = "Envelope";
+
+    /**
+     * Field HEADER_LOCAL_NAME
+     */
+    public static final String HEADER_LOCAL_NAME = "Header";
+
+    /**
+     * Field BODY_LOCAL_NAME
+     */
+    public static final String BODY_LOCAL_NAME = "Body";
+    /**
+     * Field BODY_NAMESPACE_PREFIX
+     */
+    public static final String BODY_NAMESPACE_PREFIX =
+            SOAP_DEFAULT_NAMESPACE_PREFIX;
+    /**
+     * Field BODY_FAULT_LOCAL_NAME
+     */
+    public static final String BODY_FAULT_LOCAL_NAME = "Fault";
+    /**
+     * Field ATTR_ACTOR
+     */
+    public static final String ATTR_ACTOR = "actor";
+    /**
+     * Field ATTR_MUSTUNDERSTAND
+     */
+    public static final String ATTR_MUSTUNDERSTAND = "mustUnderstand";
+    /**
+     * Field SOAPFAULT_LOCAL_NAME
+     */
+    public static final String SOAPFAULT_LOCAL_NAME = "Fault";
+    /**
+     * Field SOAPFAULT_CODE_LOCAL_NAME
+     */
+    public static final String SOAPFAULT_CODE_LOCAL_NAME = "faultcode";
+    /**
+     * Field SOAPFAULT_STRING_LOCAL_NAME
+     */
+    public static final String SOAPFAULT_STRING_LOCAL_NAME = "faultstring";
+    /**
+     * Field SOAPFAULT_ACTOR_LOCAL_NAME
+     */
+    public static final String SOAPFAULT_ACTOR_LOCAL_NAME = "faultactor";
+    /**
+     * Field SOAPFAULT_DETAIL_LOCAL_NAME
+     */
+    public static final String SOAPFAULT_DETAIL_LOCAL_NAME = "detail";
+    
+    /**
+     * Field SOAPFAULT_NAMESPACE_PREFIX
+     */
+    public static final String SOAPFAULT_NAMESPACE_PREFIX =
+            SOAP_DEFAULT_NAMESPACE_PREFIX;
+}

Added: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap11/SOAP11Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap11/SOAP11Constants.java?view=auto&rev=161839
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap11/SOAP11Constants.java (added)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap11/SOAP11Constants.java Mon Apr 18 21:43:53 2005
@@ -0,0 +1,26 @@
+package org.apache.axis.om.impl.llom.soap11;
+
+import org.apache.axis.om.impl.llom.SOAPConstants;
+
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ * <p/>
+ */
+public interface SOAP11Constants extends SOAPConstants{
+    /**
+     * Eran Chinthaka (chinthaka@apache.org)
+     */
+   public static final String SOAP_ENVELOPE_NAMESPACE_URI = "http://schemas.xmlsoap.org/soap/envelope/";
+}

Added: webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap12/SOAP12Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap12/SOAP12Constants.java?view=auto&rev=161839
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap12/SOAP12Constants.java (added)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis/om/impl/llom/soap12/SOAP12Constants.java Mon Apr 18 21:43:53 2005
@@ -0,0 +1,29 @@
+package org.apache.axis.om.impl.llom.soap12;
+
+import org.apache.axis.om.impl.llom.SOAPConstants;
+
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ * <p/>
+ */
+public interface SOAP12Constants extends SOAPConstants{
+    /**
+     * Eran Chinthaka (chinthaka@apache.org)
+     *
+     */
+
+    public String SOAP_ENVELOPE_NAMESPACE_URI =
+            "http://www.w3.org/2003/05/soap-envelope";
+}