User: jung
Date: 00/12/04 04:36:10
Modified: src/org/zoap/soap/meta ArgumentElement.java BodyElement.java
BodyType.java DetailElement.java DetailType.java
EncodingStyleAttribute.java EncodingStyleType.java
EnvelopeElement.java EnvelopeType.java
FaultElement.java FaultType.java HeaderElement.java
RequestElement.java RequestType.java
ResponseElement.java ResponseType.java
ReturnElement.java SoapBinding.java SoapSchema.java
The SOAP Meta Model.dfClass meta.dfPackage
Log:
adopted to latest jboss container,
added decimal and date
removed some problems due to forward-referencing in meta-data
added serialisation policy
Revision Changes Path
1.2 +150 -146 zoap/src/org/zoap/soap/meta/ArgumentElement.java
Index: ArgumentElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/ArgumentElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ArgumentElement.java 2000/08/10 21:07:04 1.1
+++ ArgumentElement.java 2000/12/04 12:36:06 1.2
@@ -1,149 +1,159 @@
-/*
- * $Id: ArgumentElement.java,v 1.1 2000/08/10 21:07:04 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.MethodRequest;
-import org.zoap.soap.Environment;
-
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Type;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-
-import java.lang.reflect.Method;
-
-import java.util.Properties;
-import java.util.Map;
-import java.util.Collection;
-import java.util.ArrayList;
-
-/**
- * an element that represents an argument to a method request
- */
-
-public class ArgumentElement extends Element {
-
- /** we keep the number of the argument in the parameter list */
- int arity;
-
- /** empty constructor */
- public ArgumentElement() {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString()+"()\n");
-
- }
-
- /** accessor to the arity of this argument */
- public void setArity(int arity) {
- this.arity=arity;
- }
-
- /** sets the arity of this argument */
- public int getArity() {
- return arity;
- }
-
- /** access the argument inside a MethodRequest */
- public Object[] getElementContents(Object object,boolean isNew,Properties
references)
- throws ElementException {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.print(toString()+".getElementContents("+object+","+isNew+","+references+")\n");
-
- if(object instanceof MethodRequest) {
- Object[] allArguments=((MethodRequest) object).getArguments();
-
- if(allArguments!=null && allArguments.length>arity)
- return new Object[] {allArguments[arity]};
- else
- // how that?
- throw new ElementException();
- }
-
- return null;
- }
-
- /** put the argument inside the methodrequest */
-
- public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.print(toString()+".addElementContent("+object+","+value+","+references+")\n");
-
- if(object instanceof MethodRequest) {
-
- Object[] arguments=((MethodRequest) object).getArguments();
-
- if(arguments!=null && arguments.length>arity)
- arguments[arity]=value;
- else {
- Object[] newArguments=new Object[arity+1];
-
- if(arguments!=null)
- System.arraycopy(arguments,0,newArguments,0,arguments.length);
-
- newArguments[arity]=value;
-
- ((MethodRequest) object).setArguments(newArguments);
- }
- }
-
- return object;
- }
-
-} // ArgumentElement
-
-/*
+/*
+ * $Id: ArgumentElement.java,v 1.2 2000/12/04 12:36:06 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.MethodRequest;
+import org.zoap.soap.Environment;
+
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Type;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+
+import java.lang.reflect.Method;
+
+import java.util.Properties;
+import java.util.Map;
+import java.util.Collection;
+import java.util.ArrayList;
+
+/**
+ * an element that represents an argument to a method request
+ */
+
+public class ArgumentElement extends Element {
+
+ /** we keep the number of the argument in the parameter list */
+ int arity;
+
+ /** empty constructor */
+ public ArgumentElement() {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString()+"()\n");
+
+ }
+
+ /** accessor to the arity of this argument */
+ public void setArity(int arity) {
+ this.arity=arity;
+ }
+
+ /** sets the arity of this argument */
+ public int getArity() {
+ return arity;
+ }
+
+ /** access the argument inside a MethodRequest */
+ public Object[] getElementContents(Object object,boolean isNew,Properties
references)
+ throws ElementException {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.print(toString()+".getElementContents("+object+","+isNew+","+references+")\n");
+
+ if(object instanceof MethodRequest) {
+ Object[] allArguments=((MethodRequest) object).getArguments();
+
+ if(allArguments!=null && allArguments.length>arity)
+ return new Object[] {allArguments[arity]};
+ else
+ // how that?
+ throw new ElementException();
+ }
+
+ return null;
+ }
+
+ /** put the argument inside the methodrequest */
+
+ public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.print(toString()+".addElementContent("+object+","+value+","+references+")\n");
+
+ if(object instanceof MethodRequest) {
+
+ Object[] arguments=((MethodRequest) object).getArguments();
+
+ if(arguments!=null && arguments.length>arity)
+ arguments[arity]=value;
+ else {
+ Object[] newArguments=new Object[arity+1];
+
+ if(arguments!=null)
+ System.arraycopy(arguments,0,newArguments,0,arguments.length);
+
+ newArguments[arity]=value;
+
+ ((MethodRequest) object).setArguments(newArguments);
+ }
+ }
+
+ return object;
+ }
+
+} // ArgumentElement
+
+/*
* $Log: ArgumentElement.java,v $
- * Revision 1.1 2000/08/10 21:07:04 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:04 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ */
1.2 +170 -166 zoap/src/org/zoap/soap/meta/BodyElement.java
Index: BodyElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/BodyElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BodyElement.java 2000/08/10 21:07:04 1.1
+++ BodyElement.java 2000/12/04 12:36:06 1.2
@@ -1,169 +1,179 @@
-/*
- * $Id: BodyElement.java,v 1.1 2000/08/10 21:07:04 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Envelope;
-import org.zoap.soap.Environment;
-
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-
-/**
- * this builtin implements the strange SOAP-Envelope body construct
- * why cant these MS people read good specifications? Then they would know
- * how to implement the body and polymorphism correctly. Suckers. I bet
- * they do that intendedly ... nobody can be so stupid on his own.
- * <br>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class BodyElement extends Element {
-
- SoapBinding binding;
-
- /** empty constructor */
- public BodyElement(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString()+"("+binding+","+faultElement+")\n");
-
- this.binding=binding;
- setAppearanceName("Body");
- setAppearanceSchema(schema);
- setType(new BodyType(binding,schema,faultElement));
- }
-
-
- /** sets the body of the envelope and throw an exception if it is none */
- public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces)
- throws ElementException {
-
- if(object!=null) {
-
- if(object instanceof Envelope) {
- ((Envelope) object).setBody(value);
- } else {
- throw new ElementException();
- }
- }
-
- return object;
- }
-
- /** retrieve the body out of the given envelope */
- public Object[] getElementContents(Object envelope, boolean isNew, Properties
references)
- throws ElementException {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.println("EnvelopeType.getElementContents("+envelope+","+isNew+","+references+")");
-
- if(envelope!=null)
- if(envelope instanceof Envelope) {
- return new Object[] {((Envelope) envelope).getBody()};
- } else {
- // what the hell?
- throw new ElementException();
- } else return null;
- }
-
-
-} // BodyElement
-
-/*
+/*
+ * $Id: BodyElement.java,v 1.2 2000/12/04 12:36:06 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Envelope;
+import org.zoap.soap.Environment;
+
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+
+/**
+ * this builtin implements the strange SOAP-Envelope body construct
+ * why cant these MS people read good specifications? Then they would know
+ * how to implement the body and polymorphism correctly. Suckers. I bet
+ * they do that intendedly ... nobody can be so stupid on his own.
+ * <br>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class BodyElement extends Element {
+
+ SoapBinding binding;
+
+ /** empty constructor */
+ public BodyElement(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString()+"("+binding+","+faultElement+")\n");
+
+ this.binding=binding;
+ setAppearanceName("Body");
+ setAppearanceSchema(schema);
+ setType(new BodyType(binding,schema,faultElement));
+ }
+
+
+ /** sets the body of the envelope and throw an exception if it is none */
+ public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces)
+ throws ElementException {
+
+ if(object!=null) {
+
+ if(object instanceof Envelope) {
+ ((Envelope) object).setBody(value);
+ } else {
+ throw new ElementException();
+ }
+ }
+
+ return object;
+ }
+
+ /** retrieve the body out of the given envelope */
+ public Object[] getElementContents(Object envelope, boolean isNew, Properties
references)
+ throws ElementException {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.println("EnvelopeType.getElementContents("+envelope+","+isNew+","+references+")");
+
+ if(envelope!=null)
+ if(envelope instanceof Envelope) {
+ return new Object[] {((Envelope) envelope).getBody()};
+ } else {
+ // what the hell?
+ throw new ElementException();
+ } else return null;
+ }
+
+
+} // BodyElement
+
+/*
* $Log: BodyElement.java,v $
- * Revision 1.1 2000/08/10 21:07:04 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:16 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.3 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2.2.2 2000/07/07 15:50:02 jung
- * Request-Response Structure close to MS-SOAP
- *
- * removed a mega-bug in return element
- *
- * Revision 1.2.2.1 2000/07/07 12:42:40 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:04 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:16 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.3 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2.2.2 2000/07/07 15:50:02 jung
+ * Request-Response Structure close to MS-SOAP
+ *
+ * removed a mega-bug in return element
+ *
+ * Revision 1.2.2.1 2000/07/07 12:42:40 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ */
1.2 +114 -110 zoap/src/org/zoap/soap/meta/BodyType.java
Index: BodyType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/BodyType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BodyType.java 2000/08/10 21:07:05 1.1
+++ BodyType.java 2000/12/04 12:36:06 1.2
@@ -1,5 +1,5 @@
-/*
- * $Id: BodyType.java,v 1.1 2000/08/10 21:07:05 jung Exp $
+/*
+ * $Id: BodyType.java,v 1.2 2000/12/04 12:36:06 jung Exp $
* Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
* D-66299 Friedrichsthal, Germany. All Rights Reserved.
*
@@ -16,114 +16,124 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Envelope;
-import org.zoap.soap.Environment;
-
-
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-
-/**
- * this builtin implements the strange SOAP-Envelope body construct
- * why cant these MS people read good specifications? Then they would know
- * how to implement the body and polymorphism correctly. Suckers. I bet
- * they do that intendedly ... nobody can be so stupid on his own. <br>
- * I hardcoded the relation to faultElement here ....
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class BodyType extends ComplexType {
-
- SoapBinding binding;
- FaultElement faultElement;
-
- /** empty constructor */
- public BodyType(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + "(" + binding + "," +
schema + ","+ faultElement+")\n");
-
- this.binding = binding;
- this.faultElement=faultElement;
- setAssociatedClass(Object.class);
- setTypeName("Body");
- setTypeSchema(schema);
- }
-
- /**
- * retrieve the elements embedded into this type. Fakes a class element
- * or some other builtin that is able to deal with the content.
- */
-
- public Element[] getElements(Object object) {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + ".getElements(" + object +
")");
-
- if(object instanceof Throwable)
- return new Element[] {faultElement};
- else {
- Element embeddedElement =
- binding.findElementCompatibleTo(object, null);
-
- if (embeddedElement == null)
- return null;
-
- return new Element[] { embeddedElement };
- }
-
- }
-
- /** accept any builtin as value */
- public Element getElement(Schema schema, String name) {
-
- if (schema != null)
- return schema.getElement(name);
-
- return null;
- }
-
- /** "create" the content of this attribute we collect the subelements in a
collection */
- public Object newInstance(Map attributes, Map references, Map nameSpaces) {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + ".create()\n");
-
- return null;
- }
-
- public Object setContent(Object target, String body, String verboseElements,
Map references, Map nameSpaces) {
- return target;
- }
-
- // the body is always empty
- public String getContent(Object object) {
- return null;
- }
-
- /** no body */
- public String getVerboseElements(Object obj) {
- return null;
- }
-} // BodyType
-
-/*
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Envelope;
+import org.zoap.soap.Environment;
+
+
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+
+/**
+ * this builtin implements the strange SOAP-Envelope body construct
+ * why cant these MS people read good specifications? Then they would know
+ * how to implement the body and polymorphism correctly. Suckers. I bet
+ * they do that intendedly ... nobody can be so stupid on his own. <br>
+ * I hardcoded the relation to faultElement here ....
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class BodyType extends ComplexType {
+
+ SoapBinding binding;
+ FaultElement faultElement;
+
+ /** empty constructor */
+ public BodyType(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + "(" + binding + "," +
schema + ","+ faultElement+")\n");
+
+ this.binding = binding;
+ this.faultElement=faultElement;
+ setAssociatedClass(Object.class);
+ setTypeName("Body");
+ setTypeSchema(schema);
+ }
+
+ /**
+ * retrieve the elements embedded into this type. Fakes a class element
+ * or some other builtin that is able to deal with the content.
+ */
+
+ public Element[] getElements(Object object) {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + ".getElements(" + object +
")");
+
+ if(object instanceof Throwable)
+ return new Element[] {faultElement};
+ else {
+ Element embeddedElement =
+ binding.findElementCompatibleTo(object, null);
+
+ if (embeddedElement == null)
+ return null;
+
+ return new Element[] { embeddedElement };
+ }
+
+ }
+
+ /** accept any builtin as value */
+ public Element getElement(Schema schema, String name) {
+
+ if (schema != null)
+ return schema.getElement(name);
+
+ return null;
+ }
+
+ /** "create" the content of this attribute we collect the subelements in a
collection */
+ public Object newInstance(Map attributes, Map references, Map nameSpaces) {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + ".create()\n");
+
+ return null;
+ }
+
+ public Object setContent(Object target, String body, String verboseElements,
Map references, Map nameSpaces) {
+ return target;
+ }
+
+ // the body is always empty
+ public String getContent(Object object) {
+ return null;
+ }
+
+ /** no body */
+ public String getVerboseElements(Object obj) {
+ return null;
+ }
+} // BodyType
+
+/*
* $Log: BodyType.java,v $
- * Revision 1.1 2000/08/10 21:07:05 jung
- * Initial revision
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:05 jung
+ * Initial import.
+ *
+ *
+ */
1.2 +71 -67 zoap/src/org/zoap/soap/meta/DetailElement.java
Index: DetailElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/DetailElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DetailElement.java 2000/08/10 21:07:05 1.1
+++ DetailElement.java 2000/12/04 12:36:06 1.2
@@ -1,5 +1,5 @@
-/*
- * $Id: DetailElement.java,v 1.1 2000/08/10 21:07:05 jung Exp $
+/*
+ * $Id: DetailElement.java,v 1.2 2000/12/04 12:36:06 jung Exp $
* Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
* D-66299 Friedrichsthal, Germany. All Rights Reserved.
*
@@ -16,71 +16,81 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.meta.StringType;
-
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-/** FaultDetail is an inner element to FaultType implemented as a stringtype */
-public class DetailElement extends Element {
-
- /** empty constructor */
- public DetailElement() {
- setAppearanceName("Detail");
- }
-
- /** how to obtain the value of this element - use the java class */
- public Object[] getElementContents(Object fault,boolean isNew,
- Properties references) {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.print(toString()+".getElementContents("+fault+","+isNew+","+references+")\n");
-
- if(fault!=null)
-// return new Object[] {fault.getClass().getName()};
- return new Object[] {fault};
-
- return null;
- }
-
- /** just deliver an exception with the corresponding class */
-
- public Object addElementContent(Object object, Object value, Map
references, Map nameSpaces)
- throws ElementException {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.print(toString()+".addElementContent("+object+","+value+","+
- references+")\n");
-
- if(value!=null)
- return value;
- else
- return object;
-
- } // addElementContent
-
- } // FaultDetail
-
-
-/*
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.meta.StringType;
+
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.Iterator;
+
+/** FaultDetail is an inner element to FaultType implemented as a stringtype */
+public class DetailElement extends Element {
+
+ /** empty constructor */
+ public DetailElement() {
+ setAppearanceName("Detail");
+ }
+
+ /** how to obtain the value of this element - use the java class */
+ public Object[] getElementContents(Object fault,boolean isNew,
+ Properties references) {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.print(toString()+".getElementContents("+fault+","+isNew+","+references+")\n");
+
+ if(fault!=null)
+// return new Object[] {fault.getClass().getName()};
+ return new Object[] {fault};
+
+ return null;
+ }
+
+ /** just deliver an exception with the corresponding class */
+
+ public Object addElementContent(Object object, Object value, Map
references, Map nameSpaces)
+ throws ElementException {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.print(toString()+".addElementContent("+object+","+value+","+
+ references+")\n");
+
+ if(value!=null)
+ return value;
+ else
+ return object;
+
+ } // addElementContent
+
+ } // FaultDetail
+
+
+/*
* $Log: DetailElement.java,v $
- * Revision 1.1 2000/08/10 21:07:05 jung
- * Initial revision
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:05 jung
+ * Initial import.
+ *
+ *
+ */
1.2 +95 -91 zoap/src/org/zoap/soap/meta/DetailType.java
Index: DetailType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/DetailType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DetailType.java 2000/08/10 21:07:05 1.1
+++ DetailType.java 2000/12/04 12:36:06 1.2
@@ -1,5 +1,5 @@
-/*
- * $Id: DetailType.java,v 1.1 2000/08/10 21:07:05 jung Exp $
+/*
+ * $Id: DetailType.java,v 1.2 2000/12/04 12:36:06 jung Exp $
* Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
* D-66299 Friedrichsthal, Germany. All Rights Reserved.
*
@@ -16,95 +16,105 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Envelope;
-import org.zoap.soap.Environment;
-
-
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-
-/**
- * this builtin implements the strange detail node inside a SOAP:FAULT <br>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class DetailType extends ComplexType {
-
- SoapBinding binding;
-
- /** empty constructor */
- public DetailType(SoapBinding binding, SoapSchema schema) {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + "(" + binding + "," +
schema + ")\n");
-
- this.binding = binding;
- setAssociatedClass(Throwable.class);
- setTypeName("Detail");
- setTypeSchema(schema);
- }
-
- /**
- * retrieve the elements embedded into this type. Fakes a class element
- * or some other builtin that is able to deal with the content.
- */
-
- public Element[] getElements(Object object) {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + ".getElements(" + object +
")");
-
- Element embeddedElement =
- binding.findElementCompatibleTo(object, null);
-
- if (embeddedElement == null)
- return null;
-
- return new Element[] { embeddedElement };
- }
-
- /** accept any builtin as value */
- public Element getElement(Schema schema, String name) {
- if (schema != null)
- return schema.getElement(name);
-
- return null;
- }
-
- /** "create" the content of this attribute we collect the subelements in a
collection */
- public Object newInstance(Map attributes, Map references, Map nameSpaces) {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + ".create()\n");
-
- return new java.rmi.RemoteException();
- }
-
- public boolean isStateless() {
- return true;
- }
-
-
-}
-
-
-/*
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Envelope;
+import org.zoap.soap.Environment;
+
+
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+
+/**
+ * this builtin implements the strange detail node inside a SOAP:FAULT <br>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class DetailType extends ComplexType {
+
+ SoapBinding binding;
+
+ /** empty constructor */
+ public DetailType(SoapBinding binding, SoapSchema schema) {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + "(" + binding + "," +
schema + ")\n");
+
+ this.binding = binding;
+ setAssociatedClass(Throwable.class);
+ setTypeName("Detail");
+ setTypeSchema(schema);
+ }
+
+ /**
+ * retrieve the elements embedded into this type. Fakes a class element
+ * or some other builtin that is able to deal with the content.
+ */
+
+ public Element[] getElements(Object object) {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + ".getElements(" + object +
")");
+
+ Element embeddedElement =
+ binding.findElementCompatibleTo(object, null);
+
+ if (embeddedElement == null)
+ return null;
+
+ return new Element[] { embeddedElement };
+ }
+
+ /** accept any builtin as value */
+ public Element getElement(Schema schema, String name) {
+ if (schema != null)
+ return schema.getElement(name);
+
+ return null;
+ }
+
+ /** "create" the content of this attribute we collect the subelements in a
collection */
+ public Object newInstance(Map attributes, Map references, Map nameSpaces) {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + ".create()\n");
+
+ return new java.rmi.RemoteException();
+ }
+
+ public boolean isStateless() {
+ return true;
+ }
+
+
+}
+
+
+/*
* $Log: DetailType.java,v $
- * Revision 1.1 2000/08/10 21:07:05 jung
- * Initial revision
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:05 jung
+ * Initial import.
+ *
+ *
+ */
1.2 +116 -112 zoap/src/org/zoap/soap/meta/EncodingStyleAttribute.java
Index: EncodingStyleAttribute.java
===================================================================
RCS file:
/products/cvs/ejboss/zoap/src/org/zoap/soap/meta/EncodingStyleAttribute.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EncodingStyleAttribute.java 2000/08/10 21:07:06 1.1
+++ EncodingStyleAttribute.java 2000/12/04 12:36:06 1.2
@@ -1,115 +1,125 @@
-/*
- * $Id: EncodingStyleAttribute.java,v 1.1 2000/08/10 21:07:06 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Type;
-import org.zoap.xml.Schema;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-
-public class EncodingStyleAttribute extends Attribute {
-
- public EncodingStyleAttribute(SoapSchema schema) {
- setAppearanceSchema(schema);
- setAppearanceName("encodingStyle");
- setType(new EncodingStyleType(schema));
- }
-
-
- public Object getAttributeContent(Object envelope,boolean isNew,Properties
references) {
- return envelope;
- }
-
-}
-
-/*
+/*
+ * $Id: EncodingStyleAttribute.java,v 1.2 2000/12/04 12:36:06 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Type;
+import org.zoap.xml.Schema;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+
+public class EncodingStyleAttribute extends Attribute {
+
+ public EncodingStyleAttribute(SoapSchema schema) {
+ setAppearanceSchema(schema);
+ setAppearanceName("encodingStyle");
+ setType(new EncodingStyleType(schema));
+ }
+
+
+ public Object getAttributeContent(Object envelope,boolean isNew,Properties
references) {
+ return envelope;
+ }
+
+}
+
+/*
* $Log: EncodingStyleAttribute.java,v $
- * Revision 1.1 2000/08/10 21:07:06 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:16 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.2 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2.2.1 2000/07/10 14:57:01 jung
- * made exceptions more MS-compliant.
- *
- * included <?xml version?> annotation when writing.
- *
- * http-server now closes the channel as its default action.
- *
- * first testcall worked!
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:06 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:16 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.2 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2.2.1 2000/07/10 14:57:01 jung
+ * made exceptions more MS-compliant.
+ *
+ * included <?xml version?> annotation when writing.
+ *
+ * http-server now closes the channel as its default action.
+ *
+ * first testcall worked!
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ */
1.2 +115 -111 zoap/src/org/zoap/soap/meta/EncodingStyleType.java
Index: EncodingStyleType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/EncodingStyleType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EncodingStyleType.java 2000/08/10 21:07:06 1.1
+++ EncodingStyleType.java 2000/12/04 12:36:06 1.2
@@ -1,114 +1,124 @@
-/*
- * $Id: EncodingStyleType.java,v 1.1 2000/08/10 21:07:06 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.xml.SimpleType;
-import org.zoap.soap.Environment;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Type;
-import org.zoap.xml.Schema;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-
-public class EncodingStyleType extends SimpleType {
-
- public EncodingStyleType(SoapSchema schema) {
- setTypeSchema(schema);
- setTypeName("encodingStyle");
- }
-
- public String getContent(Object theOuter) {
- return "http://soap.zoap.org/";
- }
-
-}
-
-/*
+/*
+ * $Id: EncodingStyleType.java,v 1.2 2000/12/04 12:36:06 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.xml.SimpleType;
+import org.zoap.soap.Environment;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Type;
+import org.zoap.xml.Schema;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+
+public class EncodingStyleType extends SimpleType {
+
+ public EncodingStyleType(SoapSchema schema) {
+ setTypeSchema(schema);
+ setTypeName("encodingStyle");
+ }
+
+ public String getContent(Object theOuter) {
+ return "http://soap.zoap.org/";
+ }
+
+}
+
+/*
* $Log: EncodingStyleType.java,v $
- * Revision 1.1 2000/08/10 21:07:06 jung
- * Initial revision
- *
- * Revision 1.1.2.1 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:16 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.2 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2.2.1 2000/07/10 14:57:01 jung
- * made exceptions more MS-compliant.
- *
- * included <?xml version?> annotation when writing.
- *
- * http-server now closes the channel as its default action.
- *
- * first testcall worked!
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:06 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.1 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:16 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.2 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2.2.1 2000/07/10 14:57:01 jung
+ * made exceptions more MS-compliant.
+ *
+ * included <?xml version?> annotation when writing.
+ *
+ * http-server now closes the channel as its default action.
+ *
+ * first testcall worked!
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ */
1.2 +159 -155 zoap/src/org/zoap/soap/meta/EnvelopeElement.java
Index: EnvelopeElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/EnvelopeElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EnvelopeElement.java 2000/08/10 21:07:06 1.1
+++ EnvelopeElement.java 2000/12/04 12:36:06 1.2
@@ -1,158 +1,168 @@
-/*
- * $Id: EnvelopeElement.java,v 1.1 2000/08/10 21:07:06 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.Type;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.Properties;
-
-/**
- * Xml type of a SOAP envelope
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class EnvelopeElement extends Element {
-
-
- /** constructor sets up the default header/body elements and the encodingStyle
attribute */
- public EnvelopeElement(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
-
- setAppearanceName("Envelope");
- setAppearanceSchema(schema);
- setType(new EnvelopeType(binding,schema,faultElement));
-
- }
-
- /**
- * suppose we find an envelope somewhere referenced as an element which
- * should be only possible from the top-level, for the moment.
- */
-
- public Object[] getElementContents(Object object,boolean isNew,Properties
references)
- throws ElementException {
-
- if(object!=null)
- return new Object[] {object};
- else
- return null;
- }
-
-}
-
-/*
+/*
+ * $Id: EnvelopeElement.java,v 1.2 2000/12/04 12:36:06 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.Type;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.Properties;
+
+/**
+ * Xml type of a SOAP envelope
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class EnvelopeElement extends Element {
+
+
+ /** constructor sets up the default header/body elements and the encodingStyle
attribute */
+ public EnvelopeElement(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
+
+ setAppearanceName("Envelope");
+ setAppearanceSchema(schema);
+ setType(new EnvelopeType(binding,schema,faultElement));
+
+ }
+
+ /**
+ * suppose we find an envelope somewhere referenced as an element which
+ * should be only possible from the top-level, for the moment.
+ */
+
+ public Object[] getElementContents(Object object,boolean isNew,Properties
references)
+ throws ElementException {
+
+ if(object!=null)
+ return new Object[] {object};
+ else
+ return null;
+ }
+
+}
+
+/*
* $Log: EnvelopeElement.java,v $
- * Revision 1.1 2000/08/10 21:07:06 jung
- * Initial revision
- *
- * Revision 1.1.2.1 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.1 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- * Revision 1.1.1.1 2000/06/19 12:04:12 jung
- * imported ZOAPackage that should
- * go into a seperate Open Source project
- *
- * Revision 1.1.2.3 2000/06/14 12:39:04 jung
- * first RPC-functional version of the ZOAP package using a proxy and an
- * interceptor abstraction.
- *
- * Revision 1.1.2.1 2000/06/13 15:01:43 jung
- * SOAP support begins to run
- *
- * Revision 1.1.2.1 2000/06/08 17:15:47 jung
- * added initial soap service that uses the infor:X framework.
- *
- * Revision 1.2 2000/06/07 10:18:58 jung
- * added some service functionality to llokup other
- * beans and yourself as a bean. extended the test case
- * for that purpose.
- *
- * added a lookup service.
- *
- * Revision 1.1.1.1 2000/05/15 10:38:34 jung
- * Initial import of the directory structure. Contains templates and a batch file
to
- * create API documentation. Also contains the not yet
- * fully running directory service (AFDS).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:06 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.1 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.1 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ * Revision 1.1.1.1 2000/06/19 12:04:12 jung
+ * imported ZOAPackage that should
+ * go into a seperate Open Source project
+ *
+ * Revision 1.1.2.3 2000/06/14 12:39:04 jung
+ * first RPC-functional version of the ZOAP package using a proxy and an
+ * interceptor abstraction.
+ *
+ * Revision 1.1.2.1 2000/06/13 15:01:43 jung
+ * SOAP support begins to run
+ *
+ * Revision 1.1.2.1 2000/06/08 17:15:47 jung
+ * added initial soap service that uses the infor:X framework.
+ *
+ * Revision 1.2 2000/06/07 10:18:58 jung
+ * added some service functionality to llokup other
+ * beans and yourself as a bean. extended the test case
+ * for that purpose.
+ *
+ * added a lookup service.
+ *
+ * Revision 1.1.1.1 2000/05/15 10:38:34 jung
+ * Initial import of the directory structure. Contains templates and a batch file
to
+ * create API documentation. Also contains the not yet
+ * fully running directory service (AFDS).
+ *
+ */
1.2 +149 -145 zoap/src/org/zoap/soap/meta/EnvelopeType.java
Index: EnvelopeType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/EnvelopeType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EnvelopeType.java 2000/08/10 21:07:07 1.1
+++ EnvelopeType.java 2000/12/04 12:36:06 1.2
@@ -1,148 +1,158 @@
-/*
- * $Id: EnvelopeType.java,v 1.1 2000/08/10 21:07:07 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.Type;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.Properties;
-
-/**
- * Xml type of a SOAP envelope
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class EnvelopeType extends ComplexType {
-
- SoapBinding binding;
-
- /** constructor sets up the default header/body elements and the encodingStyle
attribute */
- public EnvelopeType(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
- this.binding=binding;
- setAssociatedClass(Envelope.class);
- setTypeSchema(schema);
- setTypeName("Envelope");
- addElement(new HeaderElement(binding,schema));
- addElement(new BodyElement(binding,schema,faultElement));
- addAttribute(new EncodingStyleAttribute(schema));
- }
-
-}
-
-/*
+/*
+ * $Id: EnvelopeType.java,v 1.2 2000/12/04 12:36:06 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.Type;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.Properties;
+
+/**
+ * Xml type of a SOAP envelope
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class EnvelopeType extends ComplexType {
+
+ SoapBinding binding;
+
+ /** constructor sets up the default header/body elements and the encodingStyle
attribute */
+ public EnvelopeType(SoapBinding binding, SoapSchema schema, FaultElement
faultElement) {
+ this.binding=binding;
+ setAssociatedClass(Envelope.class);
+ setTypeSchema(schema);
+ setTypeName("Envelope");
+ addElement(new HeaderElement(binding,schema));
+ addElement(new BodyElement(binding,schema,faultElement));
+ addAttribute(new EncodingStyleAttribute(schema));
+ }
+
+}
+
+/*
* $Log: EnvelopeType.java,v $
- * Revision 1.1 2000/08/10 21:07:07 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.1 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- * Revision 1.1.1.1 2000/06/19 12:04:12 jung
- * imported ZOAPackage that should
- * go into a seperate Open Source project
- *
- * Revision 1.1.2.3 2000/06/14 12:39:04 jung
- * first RPC-functional version of the ZOAP package using a proxy and an
- * interceptor abstraction.
- *
- * Revision 1.1.2.1 2000/06/13 15:01:43 jung
- * SOAP support begins to run
- *
- * Revision 1.1.2.1 2000/06/08 17:15:47 jung
- * added initial soap service that uses the infor:X framework.
- *
- * Revision 1.2 2000/06/07 10:18:58 jung
- * added some service functionality to llokup other
- * beans and yourself as a bean. extended the test case
- * for that purpose.
- *
- * added a lookup service.
- *
- * Revision 1.1.1.1 2000/05/15 10:38:34 jung
- * Initial import of the directory structure. Contains templates and a batch file
to
- * create API documentation. Also contains the not yet
- * fully running directory service (AFDS).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:06 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:07 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.1 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ * Revision 1.1.1.1 2000/06/19 12:04:12 jung
+ * imported ZOAPackage that should
+ * go into a seperate Open Source project
+ *
+ * Revision 1.1.2.3 2000/06/14 12:39:04 jung
+ * first RPC-functional version of the ZOAP package using a proxy and an
+ * interceptor abstraction.
+ *
+ * Revision 1.1.2.1 2000/06/13 15:01:43 jung
+ * SOAP support begins to run
+ *
+ * Revision 1.1.2.1 2000/06/08 17:15:47 jung
+ * added initial soap service that uses the infor:X framework.
+ *
+ * Revision 1.2 2000/06/07 10:18:58 jung
+ * added some service functionality to llokup other
+ * beans and yourself as a bean. extended the test case
+ * for that purpose.
+ *
+ * added a lookup service.
+ *
+ * Revision 1.1.1.1 2000/05/15 10:38:34 jung
+ * Initial import of the directory structure. Contains templates and a batch file
to
+ * create API documentation. Also contains the not yet
+ * fully running directory service (AFDS).
+ *
+ */
1.2 +127 -123 zoap/src/org/zoap/soap/meta/FaultElement.java
Index: FaultElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/FaultElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FaultElement.java 2000/08/10 21:07:07 1.1
+++ FaultElement.java 2000/12/04 12:36:07 1.2
@@ -1,126 +1,136 @@
-/*
- * $Id: FaultElement.java,v 1.1 2000/08/10 21:07:07 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-public class FaultElement extends Element {
-
- /** constructor extablished the element */
- public FaultElement() {
- setAppearanceName("Fault");
- }
-
- /** how to obtain the contents for this element*/
- public Object[] getElementContents(Object throwable, boolean isNew, Properties
references) {
- if(throwable!=null)
- return new Object[]{throwable};
- else
- return null;
- }
-
- /** register your exception in the body */
- public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
- return value;
- }
-
-} // FaultType
-
-
-/*
+/*
+ * $Id: FaultElement.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.Iterator;
+
+public class FaultElement extends Element {
+
+ /** constructor extablished the element */
+ public FaultElement() {
+ setAppearanceName("Fault");
+ }
+
+ /** how to obtain the contents for this element*/
+ public Object[] getElementContents(Object throwable, boolean isNew, Properties
references) {
+ if(throwable!=null)
+ return new Object[]{throwable};
+ else
+ return null;
+ }
+
+ /** register your exception in the body */
+ public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
+ return value;
+ }
+
+} // FaultType
+
+
+/*
* $Log: FaultElement.java,v $
- * Revision 1.1 2000/08/10 21:07:07 jung
- * Initial revision
- *
- * Revision 1.1.2.1 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.2 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2.2.1 2000/07/07 12:42:40 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:07 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.1 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.2 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2.2.1 2000/07/07 12:42:40 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ */
1.2 +164 -160 zoap/src/org/zoap/soap/meta/FaultType.java
Index: FaultType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/FaultType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FaultType.java 2000/08/10 21:07:08 1.1
+++ FaultType.java 2000/12/04 12:36:07 1.2
@@ -1,163 +1,173 @@
-/*
- * $Id: FaultType.java,v 1.1 2000/08/10 21:07:08 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.Type;
-import org.zoap.xml.TypeException;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.Properties;
-
-/**
- * Xml type of a SOAP fault
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
- public class FaultType extends ComplexType {
-
- /** constructor extablished the element */
- public FaultType() {
- setTypeName("Fault");
- }
-
- /** no body */
- public String getContent(Object obj) {
- return null;
- }
-
- /** no body */
- public String getVerboseElements(Object obj) {
- return null;
- }
-
- /**
- * how to create a throwable from an appearance
- * uses the currently purely string based FaultDetail element
- */
-
- public Object newInstance(Map attributes, Map references, Map nameSpaces)
- throws TypeException {
-
- return null;
- }
-
- } // FaultType
-
-
-/*
+/*
+ * $Id: FaultType.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.Type;
+import org.zoap.xml.TypeException;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.Properties;
+
+/**
+ * Xml type of a SOAP fault
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+ public class FaultType extends ComplexType {
+
+ /** constructor extablished the element */
+ public FaultType() {
+ setTypeName("Fault");
+ }
+
+ /** no body */
+ public String getContent(Object obj) {
+ return null;
+ }
+
+ /** no body */
+ public String getVerboseElements(Object obj) {
+ return null;
+ }
+
+ /**
+ * how to create a throwable from an appearance
+ * uses the currently purely string based FaultDetail element
+ */
+
+ public Object newInstance(Map attributes, Map references, Map nameSpaces)
+ throws TypeException {
+
+ return null;
+ }
+
+ } // FaultType
+
+
+/*
* $Log: FaultType.java,v $
- * Revision 1.1 2000/08/10 21:07:08 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.1 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- * Revision 1.1.1.1 2000/06/19 12:04:12 jung
- * imported ZOAPackage that should
- * go into a seperate Open Source project
- *
- * Revision 1.1.2.3 2000/06/14 12:39:04 jung
- * first RPC-functional version of the ZOAP package using a proxy and an
- * interceptor abstraction.
- *
- * Revision 1.1.2.1 2000/06/13 15:01:43 jung
- * SOAP support begins to run
- *
- * Revision 1.1.2.1 2000/06/08 17:15:47 jung
- * added initial soap service that uses the infor:X framework.
- *
- * Revision 1.2 2000/06/07 10:18:58 jung
- * added some service functionality to llokup other
- * beans and yourself as a bean. extended the test case
- * for that purpose.
- *
- * added a lookup service.
- *
- * Revision 1.1.1.1 2000/05/15 10:38:34 jung
- * Initial import of the directory structure. Contains templates and a batch file
to
- * create API documentation. Also contains the not yet
- * fully running directory service (AFDS).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:08 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.1 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ * Revision 1.1.1.1 2000/06/19 12:04:12 jung
+ * imported ZOAPackage that should
+ * go into a seperate Open Source project
+ *
+ * Revision 1.1.2.3 2000/06/14 12:39:04 jung
+ * first RPC-functional version of the ZOAP package using a proxy and an
+ * interceptor abstraction.
+ *
+ * Revision 1.1.2.1 2000/06/13 15:01:43 jung
+ * SOAP support begins to run
+ *
+ * Revision 1.1.2.1 2000/06/08 17:15:47 jung
+ * added initial soap service that uses the infor:X framework.
+ *
+ * Revision 1.2 2000/06/07 10:18:58 jung
+ * added some service functionality to llokup other
+ * beans and yourself as a bean. extended the test case
+ * for that purpose.
+ *
+ * added a lookup service.
+ *
+ * Revision 1.1.1.1 2000/05/15 10:38:34 jung
+ * Initial import of the directory structure. Contains templates and a batch file
to
+ * create API documentation. Also contains the not yet
+ * fully running directory service (AFDS).
+ *
+ */
1.2 +166 -162 zoap/src/org/zoap/soap/meta/HeaderElement.java
Index: HeaderElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/HeaderElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HeaderElement.java 2000/08/10 21:07:08 1.1
+++ HeaderElement.java 2000/12/04 12:36:07 1.2
@@ -1,165 +1,175 @@
-/*
- * $Id: HeaderElement.java,v 1.1 2000/08/10 21:07:08 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-
-import java.util.Properties;
-import java.util.Collection;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-/**
- * this builtin implements the strange SOAP-Envelope header construct
- * why cant these MS people read good specifications? Then they would know
- * how to implement the header with arrays and polymorphism correctly. Suckers.
- * I bet they do that intendedly ... nobody can be so stupid on his own.
- * <br>
- * Several parts of the header will be placed into additional header
- * annotations, for the moment. Maybe this is is not according to the spec, but
- * I have not seen yet an example with more than one entry in the header.
- * These whimps ... really making me angry.
- * <br>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class HeaderElement extends Element {
-
- SoapBinding binding;
-
- /** empty constructor */
- public HeaderElement(SoapBinding binding, SoapSchema schema) {
- this.binding=binding;
- setAppearanceName("Header");
- setAppearanceSchema(schema);
- setType(binding.findTypeCompatibleTo(null,Object[].class));
- }
-
- /** retrieve the headers out of the given envelope */
- public Object[] getElementContents(Object envelope, boolean isNew, Properties
references)
- throws ElementException {
-
- if(envelope!=null)
- if(envelope instanceof Envelope)
- return ((Envelope) envelope).getHeader();
- else
- // what the hell?
- throw new ElementException();
-
- return null;
- }
-
- public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
- if(object instanceof Envelope) {
- Object[] headers=((Envelope) object).getHeader();
- Object[] newHeaders=null;
-
- if(headers==null)
- newHeaders=new Object[1];
- else
- newHeaders=new Object[headers.length+1];
-
- newHeaders[headers.length]=value;
-
- ((Envelope) object).setHeader(newHeaders);
- }
-
- return object;
- }
-
-
-} // HeaderElement
-
-/*
+/*
+ * $Id: HeaderElement.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+
+import java.util.Properties;
+import java.util.Collection;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.Iterator;
+
+/**
+ * this builtin implements the strange SOAP-Envelope header construct
+ * why cant these MS people read good specifications? Then they would know
+ * how to implement the header with arrays and polymorphism correctly. Suckers.
+ * I bet they do that intendedly ... nobody can be so stupid on his own.
+ * <br>
+ * Several parts of the header will be placed into additional header
+ * annotations, for the moment. Maybe this is is not according to the spec, but
+ * I have not seen yet an example with more than one entry in the header.
+ * These whimps ... really making me angry.
+ * <br>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class HeaderElement extends Element {
+
+ SoapBinding binding;
+
+ /** empty constructor */
+ public HeaderElement(SoapBinding binding, SoapSchema schema) {
+ this.binding=binding;
+ setAppearanceName("Header");
+ setAppearanceSchema(schema);
+ setType(binding.findTypeCompatibleTo(null,Object[].class));
+ }
+
+ /** retrieve the headers out of the given envelope */
+ public Object[] getElementContents(Object envelope, boolean isNew, Properties
references)
+ throws ElementException {
+
+ if(envelope!=null)
+ if(envelope instanceof Envelope)
+ return ((Envelope) envelope).getHeader();
+ else
+ // what the hell?
+ throw new ElementException();
+
+ return null;
+ }
+
+ public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
+ if(object instanceof Envelope) {
+ Object[] headers=((Envelope) object).getHeader();
+ Object[] newHeaders=null;
+
+ if(headers==null)
+ newHeaders=new Object[1];
+ else
+ newHeaders=new Object[headers.length+1];
+
+ newHeaders[headers.length]=value;
+
+ ((Envelope) object).setHeader(newHeaders);
+ }
+
+ return object;
+ }
+
+
+} // HeaderElement
+
+/*
* $Log: HeaderElement.java,v $
- * Revision 1.1 2000/08/10 21:07:08 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.2 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.2.2.1 2000/07/07 12:42:40 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:08 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.2 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.2.2.1 2000/07/07 12:42:40 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ */
1.2 +149 -145 zoap/src/org/zoap/soap/meta/RequestElement.java
Index: RequestElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/RequestElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RequestElement.java 2000/08/10 21:07:09 1.1
+++ RequestElement.java 2000/12/04 12:36:07 1.2
@@ -1,148 +1,158 @@
-/*
- * $Id: RequestElement.java,v 1.1 2000/08/10 21:07:09 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-
-import org.zoap.soap.MethodRequest;
-import org.zoap.soap.MethodResponse;
-
-import org.zoap.xml.Type;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Appearance;
-import org.zoap.xml.AppearanceException;
-
-import de.infor.ce.util.ObjectFactory;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collection;
-import java.util.Properties;
-import java.util.Iterator;
-import java.util.ArrayList;
-
-import java.lang.reflect.Method;
-import org.zoap.xml.meta.builtin.DefaultBinding;
-
-/**
- * RequestType is an element type that wraps java method requests to a particular
- * method of a remote interface
- */
-
-public class RequestElement extends Element {
-
- /** private constructor is responsible for initialising the meta-data */
- public RequestElement() {
-
- }
-
- public Object[] getElementContents(Object object, boolean isNew, Properties
references)
- throws ElementException {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.print(toString()+".getElementContents("+object+","+isNew+","+references+")\n");
-
- if(object!=null) {
- if(object instanceof MethodRequest) {
- return new Object[] {object};
- } else
- throw new ElementException();
- }
-
- return null;
- }
-
- /** add the request structure to the body */
-
- public Object addElementContent(Object object, Object value, Map references, Map
nameSpaces) {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.print(toString()+".addElementContent("+object+","+value+","+references+","+nameSpaces+")");
-
- return value;
- }
-
-
-}
-
-/*
+/*
+ * $Id: RequestElement.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+
+import org.zoap.soap.MethodRequest;
+import org.zoap.soap.MethodResponse;
+
+import org.zoap.xml.Type;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Appearance;
+import org.zoap.xml.AppearanceException;
+
+import de.infor.ce.util.ObjectFactory;
+
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Collection;
+import java.util.Properties;
+import java.util.Iterator;
+import java.util.ArrayList;
+
+import java.lang.reflect.Method;
+import org.zoap.xml.meta.builtin.DefaultBinding;
+
+/**
+ * RequestType is an element type that wraps java method requests to a particular
+ * method of a remote interface
+ */
+
+public class RequestElement extends Element {
+
+ /** private constructor is responsible for initialising the meta-data */
+ public RequestElement() {
+
+ }
+
+ public Object[] getElementContents(Object object, boolean isNew, Properties
references)
+ throws ElementException {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.print(toString()+".getElementContents("+object+","+isNew+","+references+")\n");
+
+ if(object!=null) {
+ if(object instanceof MethodRequest) {
+ return new Object[] {object};
+ } else
+ throw new ElementException();
+ }
+
+ return null;
+ }
+
+ /** add the request structure to the body */
+
+ public Object addElementContent(Object object, Object value, Map references, Map
nameSpaces) {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.print(toString()+".addElementContent("+object+","+value+","+references+","+nameSpaces+")");
+
+ return value;
+ }
+
+
+}
+
+/*
* $Log: RequestElement.java,v $
- * Revision 1.1 2000/08/10 21:07:09 jung
- * Initial revision
- *
- * Revision 1.1.2.1 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.1.2.3 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.1.2.2 2000/07/07 15:50:02 jung
- * Request-Response Structure close to MS-SOAP
- *
- * removed a mega-bug in return element
- *
- * Revision 1.1.2.1 2000/07/07 12:45:21 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:09 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.1 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.1.2.3 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.1.2.2 2000/07/07 15:50:02 jung
+ * Request-Response Structure close to MS-SOAP
+ *
+ * removed a mega-bug in return element
+ *
+ * Revision 1.1.2.1 2000/07/07 12:45:21 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ */
1.2 +164 -160 zoap/src/org/zoap/soap/meta/RequestType.java
Index: RequestType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/RequestType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RequestType.java 2000/08/10 21:07:09 1.1
+++ RequestType.java 2000/12/04 12:36:07 1.2
@@ -1,163 +1,173 @@
-/*
- * $Id: RequestType.java,v 1.1 2000/08/10 21:07:09 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-
-import org.zoap.soap.MethodRequest;
-import org.zoap.soap.MethodResponse;
-
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.Type;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Appearance;
-import org.zoap.xml.AppearanceException;
-
-import de.infor.ce.util.ObjectFactory;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collection;
-import java.util.Properties;
-import java.util.Iterator;
-import java.util.ArrayList;
-
-import java.lang.reflect.Method;
-import org.zoap.xml.meta.builtin.DefaultBinding;
-
-/**
- * RequestType is an element type that wraps java method requests to a particular
- * method of a remote interface
- */
-
-public class RequestType extends ComplexType {
-
- /** the method associated to this request */
- Method associatedMethod;
-
- /** public constructor is responsible for initialising the meta-data */
- public RequestType() {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.println(toString()+"()\n");
-
- setAssociatedClass(MethodRequest.class);
- }
-
- public Method getAssociatedMethod() {
- return associatedMethod;
- }
-
- public void setAssociatedMethod(Method method) {
- associatedMethod=method;
- }
-
-
- /**
- * we have to overwrite the isCompatibleTo thing? This is a case where one
- * Java class is mapped to several XML elements/types. Hmmm, I dont think
- * its really used ... but lets try
- */
-
- public boolean isCompatibleTo(Object object, Class clazz) {
-
- if(object instanceof MethodRequest &&
- (associatedMethod.equals(((MethodRequest) object).getMethod())))
- return true;
-
- return false;
- }
-
- /** setting the content establishes the method inside the request structure */
-
- public Object setContent(Object object, String body, String verboseElements,Map
references,Map nameSpaces) {
-
- if(object instanceof MethodRequest)
- ((MethodRequest) object).setMethod(associatedMethod);
-
- return object;
- }
-
-}
-
-/*
+/*
+ * $Id: RequestType.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+
+import org.zoap.soap.MethodRequest;
+import org.zoap.soap.MethodResponse;
+
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.Type;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Appearance;
+import org.zoap.xml.AppearanceException;
+
+import de.infor.ce.util.ObjectFactory;
+
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Collection;
+import java.util.Properties;
+import java.util.Iterator;
+import java.util.ArrayList;
+
+import java.lang.reflect.Method;
+import org.zoap.xml.meta.builtin.DefaultBinding;
+
+/**
+ * RequestType is an element type that wraps java method requests to a particular
+ * method of a remote interface
+ */
+
+public class RequestType extends ComplexType {
+
+ /** the method associated to this request */
+ Method associatedMethod;
+
+ /** public constructor is responsible for initialising the meta-data */
+ public RequestType() {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.println(toString()+"()\n");
+
+ setAssociatedClass(MethodRequest.class);
+ }
+
+ public Method getAssociatedMethod() {
+ return associatedMethod;
+ }
+
+ public void setAssociatedMethod(Method method) {
+ associatedMethod=method;
+ }
+
+
+ /**
+ * we have to overwrite the isCompatibleTo thing? This is a case where one
+ * Java class is mapped to several XML elements/types. Hmmm, I dont think
+ * its really used ... but lets try
+ */
+
+ public boolean isCompatibleTo(Object object, Class clazz) {
+
+ if(object instanceof MethodRequest &&
+ (associatedMethod.equals(((MethodRequest) object).getMethod())))
+ return true;
+
+ return false;
+ }
+
+ /** setting the content establishes the method inside the request structure */
+
+ public Object setContent(Object object, String body, String verboseElements,Map
references,Map nameSpaces) {
+
+ if(object instanceof MethodRequest)
+ ((MethodRequest) object).setMethod(associatedMethod);
+
+ return object;
+ }
+
+}
+
+/*
* $Log: RequestType.java,v $
- * Revision 1.1 2000/08/10 21:07:09 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.1.2.3 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.1.2.2 2000/07/07 15:50:02 jung
- * Request-Response Structure close to MS-SOAP
- *
- * removed a mega-bug in return element
- *
- * Revision 1.1.2.1 2000/07/07 12:45:21 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:09 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.1.2.3 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.1.2.2 2000/07/07 15:50:02 jung
+ * Request-Response Structure close to MS-SOAP
+ *
+ * removed a mega-bug in return element
+ *
+ * Revision 1.1.2.1 2000/07/07 12:45:21 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ */
1.2 +144 -140 zoap/src/org/zoap/soap/meta/ResponseElement.java
Index: ResponseElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/ResponseElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ResponseElement.java 2000/08/10 21:07:10 1.1
+++ ResponseElement.java 2000/12/04 12:36:07 1.2
@@ -1,143 +1,153 @@
-/*
- * $Id: ResponseElement.java,v 1.1 2000/08/10 21:07:10 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.MethodResponse;
-
-import org.zoap.xml.Type;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Appearance;
-import org.zoap.xml.AppearanceException;
-
-import de.infor.ce.util.ObjectFactory;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collection;
-import java.util.Properties;
-import java.util.Iterator;
-import java.util.ArrayList;
-
-import java.lang.reflect.Method;
-import org.zoap.xml.meta.builtin.DefaultBinding;
-
-/**
- * ResponseType is an element type that wraps java method returns from a particular
- * method of a remote interface
- */
-
-public class ResponseElement extends Element {
-
-
- /** private constructor is responsible for initialising the meta-data */
- public ResponseElement() {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString()+"()\n");
- }
-
-
- public Object addElementContent(Object object, Object value, Map references, Map
nameSpaces) {
- return value;
- }
-
- public Object[] getElementContents(Object object, boolean isNew, Properties
references)
- throws ElementException {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
-
Environment.out.println("ResponseElement.getElementContents("+object+","+isNew+","+references+")");
-
- if(object!=null) {
- if(object instanceof MethodResponse) {
- return new Object[] {object};
- } else
- throw new ElementException();
- }
-
- return null;
- }
-
-}
-
-/*
+/*
+ * $Id: ResponseElement.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.MethodResponse;
+
+import org.zoap.xml.Type;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Appearance;
+import org.zoap.xml.AppearanceException;
+
+import de.infor.ce.util.ObjectFactory;
+
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Collection;
+import java.util.Properties;
+import java.util.Iterator;
+import java.util.ArrayList;
+
+import java.lang.reflect.Method;
+import org.zoap.xml.meta.builtin.DefaultBinding;
+
+/**
+ * ResponseType is an element type that wraps java method returns from a particular
+ * method of a remote interface
+ */
+
+public class ResponseElement extends Element {
+
+
+ /** private constructor is responsible for initialising the meta-data */
+ public ResponseElement() {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString()+"()\n");
+ }
+
+
+ public Object addElementContent(Object object, Object value, Map references, Map
nameSpaces) {
+ return value;
+ }
+
+ public Object[] getElementContents(Object object, boolean isNew, Properties
references)
+ throws ElementException {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+
Environment.out.println("ResponseElement.getElementContents("+object+","+isNew+","+references+")");
+
+ if(object!=null) {
+ if(object instanceof MethodResponse) {
+ return new Object[] {object};
+ } else
+ throw new ElementException();
+ }
+
+ return null;
+ }
+
+}
+
+/*
* $Log: ResponseElement.java,v $
- * Revision 1.1 2000/08/10 21:07:10 jung
- * Initial revision
- *
- * Revision 1.1.2.1 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.1.2.2 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.1.2.1 2000/07/07 15:50:54 jung
- * Request-Response Structure close to MS-SOAP
- *
- * removed a mega-bug in return element
- *
- * Revision 1.1.2.1 2000/07/07 12:45:21 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:10 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.1 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.1.2.2 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.1.2.1 2000/07/07 15:50:54 jung
+ * Request-Response Structure close to MS-SOAP
+ *
+ * removed a mega-bug in return element
+ *
+ * Revision 1.1.2.1 2000/07/07 12:45:21 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ */
1.2 +161 -157 zoap/src/org/zoap/soap/meta/ResponseType.java
Index: ResponseType.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/ResponseType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ResponseType.java 2000/08/10 21:07:10 1.1
+++ ResponseType.java 2000/12/04 12:36:07 1.2
@@ -1,160 +1,170 @@
-/*
- * $Id: ResponseType.java,v 1.1 2000/08/10 21:07:10 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.MethodResponse;
-
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.Type;
-import org.zoap.xml.Element;
-import org.zoap.xml.ElementException;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-import org.zoap.xml.Appearance;
-import org.zoap.xml.AppearanceException;
-
-import de.infor.ce.util.ObjectFactory;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collection;
-import java.util.Properties;
-import java.util.Iterator;
-import java.util.ArrayList;
-
-import java.lang.reflect.Method;
-import org.zoap.xml.meta.builtin.DefaultBinding;
-
-/**
- * ResponseType is an element type that wraps java method returns from a particular
- * method of a remote interface
- */
-
-public class ResponseType extends ComplexType {
-
- /** the real method that this response comes from */
- Method associatedMethod;
-
- /** public constructor is empty */
- public ResponseType() {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString()+"()\n");
-
- setAssociatedClass(MethodResponse.class);
- }
-
- public Method getAssociatedMethod() {
- return associatedMethod;
- }
-
- public void setAssociatedMethod(Method method) {
- associatedMethod=method;
- }
-
- /**
- * we have to overwrite the isCompatibleTo thing? This is a case where one
- * Java class is mapped to several XML elements/types. Hmmm, I dont think
- * its really used ... but lets try
- */
-
- public boolean isCompatibleTo(Object object, Class clazz) {
-
- if(object instanceof MethodResponse &&
- (associatedMethod.equals(((MethodResponse) object).getMethod())))
- return true;
-
- return false;
- }
-
- /** setting the content establishes the method inside the request structure */
-
- public Object setContent(Object object, String body, String verboseElements,Map
references,Map nameSpaces) {
-
- if(object instanceof MethodResponse)
- ((MethodResponse) object).setMethod(associatedMethod);
-
- return object;
- }
-
-}
-
-/*
+/*
+ * $Id: ResponseType.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.MethodResponse;
+
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.Type;
+import org.zoap.xml.Element;
+import org.zoap.xml.ElementException;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+import org.zoap.xml.Appearance;
+import org.zoap.xml.AppearanceException;
+
+import de.infor.ce.util.ObjectFactory;
+
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Collection;
+import java.util.Properties;
+import java.util.Iterator;
+import java.util.ArrayList;
+
+import java.lang.reflect.Method;
+import org.zoap.xml.meta.builtin.DefaultBinding;
+
+/**
+ * ResponseType is an element type that wraps java method returns from a particular
+ * method of a remote interface
+ */
+
+public class ResponseType extends ComplexType {
+
+ /** the real method that this response comes from */
+ Method associatedMethod;
+
+ /** public constructor is empty */
+ public ResponseType() {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString()+"()\n");
+
+ setAssociatedClass(MethodResponse.class);
+ }
+
+ public Method getAssociatedMethod() {
+ return associatedMethod;
+ }
+
+ public void setAssociatedMethod(Method method) {
+ associatedMethod=method;
+ }
+
+ /**
+ * we have to overwrite the isCompatibleTo thing? This is a case where one
+ * Java class is mapped to several XML elements/types. Hmmm, I dont think
+ * its really used ... but lets try
+ */
+
+ public boolean isCompatibleTo(Object object, Class clazz) {
+
+ if(object instanceof MethodResponse &&
+ (associatedMethod.equals(((MethodResponse) object).getMethod())))
+ return true;
+
+ return false;
+ }
+
+ /** setting the content establishes the method inside the request structure */
+
+ public Object setContent(Object object, String body, String verboseElements,Map
references,Map nameSpaces) {
+
+ if(object instanceof MethodResponse)
+ ((MethodResponse) object).setMethod(associatedMethod);
+
+ return object;
+ }
+
+}
+
+/*
* $Log: ResponseType.java,v $
- * Revision 1.1 2000/08/10 21:07:10 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/20 14:35:26 jung
- * some refactoring inside infor:xml
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.1.2.2 2000/07/11 08:08:34 jung
- * added functionality to store retrieve a part of a types elements
- * within "ignored" strings. Useful for writing generic handlers that
- * just process a part of the XML and transfer the rest.
- *
- * Revision 1.1.2.1 2000/07/07 15:50:54 jung
- * Request-Response Structure close to MS-SOAP
- *
- * removed a mega-bug in return element
- *
- * Revision 1.1.2.1 2000/07/07 12:45:21 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:10 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/20 14:35:26 jung
+ * some refactoring inside infor:xml
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.1.2.2 2000/07/11 08:08:34 jung
+ * added functionality to store retrieve a part of a types elements
+ * within "ignored" strings. Useful for writing generic handlers that
+ * just process a part of the XML and transfer the rest.
+ *
+ * Revision 1.1.2.1 2000/07/07 15:50:54 jung
+ * Request-Response Structure close to MS-SOAP
+ *
+ * removed a mega-bug in return element
+ *
+ * Revision 1.1.2.1 2000/07/07 12:45:21 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ */
1.2 +90 -89 zoap/src/org/zoap/soap/meta/ReturnElement.java
Index: ReturnElement.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/ReturnElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ReturnElement.java 2000/08/10 21:07:10 1.1
+++ ReturnElement.java 2000/12/04 12:36:07 1.2
@@ -1,89 +1,90 @@
-/*
- * $Id: ReturnElement.java,v 1.1 2000/08/10 21:07:10 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.MethodResponse;
-
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-import org.zoap.xml.Schema;
-import org.zoap.xml.Attribute;
-
-import java.lang.reflect.Method;
-import java.util.Properties;
-import java.util.Map;
-import java.util.ArrayList;
-
-public class ReturnElement extends Element {
-
- public ReturnElement() {
-
- if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString() + "()\n");
-
- }
-
- public Object[] getElementContents(Object object, boolean isNew, Properties
references) {
-
- if (object instanceof MethodResponse) {
- Object result = ((MethodResponse)object).getValue();
-
- if (result != null)
- return new Object[] { result };
- }
-
- return null;
- }
-
- public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
-
- if (object instanceof MethodResponse)
- ((MethodResponse)object).setValue(value);
-
- return object;
- }
-
-}
+/*
+ * $Id: ReturnElement.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.MethodResponse;
+
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+import org.zoap.xml.Schema;
+import org.zoap.xml.Attribute;
+
+import java.lang.reflect.Method;
+import java.util.Properties;
+import java.util.Map;
+import java.util.ArrayList;
+
+public class ReturnElement extends Element {
+
+ public ReturnElement() {
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() + "()\n");
+
+ }
+
+ public Object[] getElementContents(Object object, boolean isNew, Properties
references) {
+
+
+ if (Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString() +
".getElementContents("+object+","+isNew+","+references+")\n");
+
+ if (object instanceof MethodResponse) {
+ return new Object[] { ((MethodResponse)object).getValue() };
+ }
+
+ return null;
+ }
+
+ public Object addElementContent(Object object, Object value, Map references,
Map nameSpaces) {
+
+ if (object instanceof MethodResponse)
+ ((MethodResponse)object).setValue(value);
+
+ return object;
+ }
+
+}
1.2 +163 -159 zoap/src/org/zoap/soap/meta/SoapBinding.java
Index: SoapBinding.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/SoapBinding.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SoapBinding.java 2000/08/10 21:07:11 1.1
+++ SoapBinding.java 2000/12/04 12:36:07 1.2
@@ -1,162 +1,172 @@
-/*
- * $Id: SoapBinding.java,v 1.1 2000/08/10 21:07:11 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-import org.zoap.soap.MethodRequest;
-import org.zoap.soap.MethodResponse;
-
-import org.zoap.xml.meta.StringType;
-
-import org.zoap.xml.Binding;
-
-import org.zoap.xml.Schema;
-import org.zoap.xml.Element;
-import org.zoap.xml.Type;
-import org.zoap.xml.TypeException;
-import org.zoap.xml.ComplexType;
-import org.zoap.xml.ElementException;
-
-import de.infor.ce.util.URN;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Properties;
-
-/**
- * SoapBinding is an extension to the infor:XML binding that comes with a set of
predefined
- * elements and types, such as envelope, header, and faults.
- * <br>
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class SoapBinding extends Binding {
-
- /** register the additional soap schema which overrides some defaults */
- public SoapBinding() {
-
- if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
- Environment.out.print(toString()+"()\n");
-
- SoapSchema soapSchema=new SoapSchema();
-
- addSchema(soapSchema);
-
- FaultElement faultElement=new FaultElement();
-
- FaultType faultType=new FaultType();
-
- faultType.setTypeSchema(soapSchema);
-
- DetailElement faultDetail=new DetailElement();
-
- faultDetail.setAppearanceSchema(soapSchema);
-
- DetailType detailType=new DetailType(this,soapSchema);
-
- faultDetail.setType(detailType);
-
- faultType.addElement(faultDetail);
-
- faultElement.setType(faultType);
-
- faultElement.setAppearanceSchema(soapSchema);
-
- EnvelopeElement envelopeElement=
- new EnvelopeElement(this,soapSchema,faultElement);
-
- soapSchema.addElement(faultElement);
-
- soapSchema.addElement(envelopeElement);
-
- }
-
- /** we keep a static reference to a singleton */
- private static SoapBinding soapBinding;
-
- /** retrieve the singleton */
- public static SoapBinding getSoapBinding() {
- if(soapBinding==null)
- synchronized(SoapBinding.class) {
- if(soapBinding==null)
- soapBinding=new SoapBinding();
- }
-
- return soapBinding;
- }
-
-}
-
-/*
+/*
+ * $Id: SoapBinding.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+import org.zoap.soap.MethodRequest;
+import org.zoap.soap.MethodResponse;
+
+import org.zoap.xml.meta.StringType;
+
+import org.zoap.xml.Binding;
+
+import org.zoap.xml.Schema;
+import org.zoap.xml.Element;
+import org.zoap.xml.Type;
+import org.zoap.xml.TypeException;
+import org.zoap.xml.ComplexType;
+import org.zoap.xml.ElementException;
+
+import de.infor.ce.util.URN;
+
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Properties;
+
+/**
+ * SoapBinding is an extension to the infor:XML binding that comes with a set of
predefined
+ * elements and types, such as envelope, header, and faults.
+ * <br>
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class SoapBinding extends Binding {
+
+ /** register the additional soap schema which overrides some defaults */
+ public SoapBinding() {
+
+ if(Environment.DEBUG_SOAP && Environment.DEBUG_SOAP_META)
+ Environment.out.print(toString()+"()\n");
+
+ SoapSchema soapSchema=new SoapSchema();
+
+ addSchema(soapSchema);
+
+ FaultElement faultElement=new FaultElement();
+
+ FaultType faultType=new FaultType();
+
+ faultType.setTypeSchema(soapSchema);
+
+ DetailElement faultDetail=new DetailElement();
+
+ faultDetail.setAppearanceSchema(soapSchema);
+
+ DetailType detailType=new DetailType(this,soapSchema);
+
+ faultDetail.setType(detailType);
+
+ faultType.addElement(faultDetail);
+
+ faultElement.setType(faultType);
+
+ faultElement.setAppearanceSchema(soapSchema);
+
+ EnvelopeElement envelopeElement=
+ new EnvelopeElement(this,soapSchema,faultElement);
+
+ soapSchema.addElement(faultElement);
+
+ soapSchema.addElement(envelopeElement);
+
+ }
+
+ /** we keep a static reference to a singleton */
+ private static SoapBinding soapBinding;
+
+ /** retrieve the singleton */
+ public static SoapBinding getSoapBinding() {
+ if(soapBinding==null)
+ synchronized(SoapBinding.class) {
+ if(soapBinding==null)
+ soapBinding=new SoapBinding();
+ }
+
+ return soapBinding;
+ }
+
+}
+
+/*
* $Log: SoapBinding.java,v $
- * Revision 1.1 2000/08/10 21:07:11 jung
- * Initial revision
- *
- * Revision 1.1.2.2 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:20 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2.2.2 2000/07/07 15:50:02 jung
- * Request-Response Structure close to MS-SOAP
- *
- * removed a mega-bug in return element
- *
- * Revision 1.2.2.1 2000/07/07 12:42:40 jung
- * changed the method-request and response structure to be more
- * explicit instead of just serializable (such that MS-SOAP gets the
- * chance ot do something with that stuff).
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:11 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.2 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:20 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2.2.2 2000/07/07 15:50:02 jung
+ * Request-Response Structure close to MS-SOAP
+ *
+ * removed a mega-bug in return element
+ *
+ * Revision 1.2.2.1 2000/07/07 12:42:40 jung
+ * changed the method-request and response structure to be more
+ * explicit instead of just serializable (such that MS-SOAP gets the
+ * chance ot do something with that stuff).
+ *
+ */
1.2 +116 -112 zoap/src/org/zoap/soap/meta/SoapSchema.java
Index: SoapSchema.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/SoapSchema.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SoapSchema.java 2000/08/10 21:07:11 1.1
+++ SoapSchema.java 2000/12/04 12:36:07 1.2
@@ -1,115 +1,125 @@
-/*
- * $Id: SoapSchema.java,v 1.1 2000/08/10 21:07:11 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.zoap.soap.meta;
-
-import org.zoap.soap.Environment;
-import org.zoap.soap.Envelope;
-
-import org.zoap.xml.Schema;
-import org.zoap.xml.Type;
-import org.zoap.xml.Element;
-import org.zoap.xml.IllegalTypeException;
-
-import de.infor.ce.util.URN;
-
-/**
- * This is the schema that defines the basic SOAP types, such as envelope and
fault.
- *
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class SoapSchema extends Schema {
-
- /** construct a new soap schema */
- public SoapSchema() {
- setUrn(new URN(new String[]
{"http://schemas.xmlsoap.org/soap/envelope/2000-03-01"}));
- }
-
-}
-
-/*
+/*
+ * $Id: SoapSchema.java,v 1.2 2000/12/04 12:36:07 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package org.zoap.soap.meta;
+
+import org.zoap.soap.Environment;
+import org.zoap.soap.Envelope;
+
+import org.zoap.xml.Schema;
+import org.zoap.xml.Type;
+import org.zoap.xml.Element;
+import org.zoap.xml.IllegalTypeException;
+
+import de.infor.ce.util.URN;
+
+/**
+ * This is the schema that defines the basic SOAP types, such as envelope and
fault.
+ *
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class SoapSchema extends Schema {
+
+ /** construct a new soap schema */
+ public SoapSchema() {
+ setUrn(new URN(new String[] {"http://schemas.xmlsoap.org/soap/envelope/"}));
+ }
+
+}
+
+/*
* $Log: SoapSchema.java,v $
- * Revision 1.1 2000/08/10 21:07:11 jung
- * Initial revision
- *
- * Revision 1.1.2.2 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.1 2000/07/17 12:46:17 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:20 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.2 2000/07/06 16:55:06 jung
- * moved the default binding caches in order to make apartments
- * with different versions of the same class possible.
- *
- * Revision 1.1.1.1 2000/07/06 14:11:27 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- * Revision 1.1.1.1 2000/06/19 12:04:12 jung
- * imported ZOAPackage that should
- * go into a seperate Open Source project
- *
- * Revision 1.1.2.3 2000/06/14 12:39:05 jung
- * first RPC-functional version of the ZOAP package using a proxy and an
- * interceptor abstraction.
- *
- * Revision 1.1.2.2 2000/06/13 15:01:43 jung
- * SOAP support begins to run
- *
- * Revision 1.1.2.1 2000/06/08 17:15:47 jung
- * added initial soap service that uses the infor:X framework.
- *
- */
+ * Revision 1.2 2000/12/04 12:36:07 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:07:11 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.2 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.1 2000/07/17 12:46:17 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:20 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.2 2000/07/06 16:55:06 jung
+ * moved the default binding caches in order to make apartments
+ * with different versions of the same class possible.
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:27 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ * Revision 1.1.1.1 2000/06/19 12:04:12 jung
+ * imported ZOAPackage that should
+ * go into a seperate Open Source project
+ *
+ * Revision 1.1.2.3 2000/06/14 12:39:05 jung
+ * first RPC-functional version of the ZOAP package using a proxy and an
+ * interceptor abstraction.
+ *
+ * Revision 1.1.2.2 2000/06/13 15:01:43 jung
+ * SOAP support begins to run
+ *
+ * Revision 1.1.2.1 2000/06/08 17:15:47 jung
+ * added initial soap service that uses the infor:X framework.
+ *
+ */
No revision
No revision
No revision
No revision
1.2 +132 -132 zoap/src/org/zoap/soap/meta/meta.dfPackage
Index: meta.dfPackage
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/zoap/soap/meta/meta.dfPackage,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- meta.dfPackage 2000/08/10 21:07:08 1.1
+++ meta.dfPackage 2000/12/04 12:36:08 1.2
@@ -1,132 +1,132 @@
-package idjb3lcawf4020cawf8j5s;
-
-/**
-@version 2.0
-@physicalPackage
-@__modelType diagram
-*/
-class diagram {
-/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.EncodingStyleAttribute:oiref><oihard>
-@__modelType reference
-*/
-class reference {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.ArgumentElement:oiref><oihard>
-@__modelType reference
-*/
-class reference2 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.RequestType:oiref><oihard>
-@__modelType reference
-*/
-class reference3 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.FaultType:oiref><oihard>
-@__modelType reference
-*/
-class reference5 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.SoapSchema:oiref><oihard>
-@__modelType reference
-*/
-class reference6 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.EnvelopeType:oiref><oihard>
-@__modelType reference
-*/
-class reference7 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.ResponseType:oiref><oihard>
-@__modelType reference
-*/
-class reference8 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.BodyElement:oiref><oihard>
-@__modelType reference
-*/
-class reference9 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.SoapBinding:oiref><oihard>
-@__modelType reference
-*/
-class reference11 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.ReturnElement:oiref><oihard>
-@__modelType reference
-*/
-class reference12 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.HeaderElement:oiref><oihard>
-@__modelType reference
-*/
-class reference13 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.FaultElement:oiref><oihard>
-@__modelType reference
-*/
-class reference1 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.EnvelopeElement:oiref><oihard>
-@__modelType reference
-*/
-class reference14 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.EncodingStyleType:oiref><oihard>
-@__modelType reference
-*/
-class reference15 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.RequestElement:oiref><oihard>
-@__modelType reference
-*/
-class reference16 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.ResponseElement:oiref><oihard>
-@__modelType reference
-*/
-class reference17 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.BodyType:oiref><oihard>
-@__modelType reference
-*/
-class reference18 {
-}/**
-@__ref <oiref:design#Class#idd1uocbhi562acbhkttca.diagram:oiref><oihard>
-@__modelType reference
-*/
-class reference4 {
-}/**
-@__ref <oiref:design#Class#id35v73cbhi562acbhkttei.diagram:oiref><oihard>
-@__modelType reference
-*/
-class reference10 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.DetailElement:oiref><oihard>
-@__modelType reference
-*/
-class reference19 {
-}/**
-@__ref <oiref:design#Class#id2ksducbhi562acbhkttg6.diagram:oiref><oihard>
-@__modelType reference
-*/
-class reference20 {
-}/**
-@__ref <oiref:java#Class#org.zoap.soap.meta.DetailType:oiref><oihard>
-@__modelType reference
-*/
-class reference21 {
-}}/**
-@__tags
-@shapeType ClassDiagram
-*/
-class __tags {
-}/**
-@__options
-*/
-class __options {
-}/**
-@__positions
-*/
-class __positions {
-}
\ No newline at end of file
+package idjb3lcawf4020cawf8j5s;
+
+/**
+@version 2.0
+@physicalPackage
+@__modelType diagram
+*/
+class diagram {
+/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.EncodingStyleAttribute:oiref><oihard>
+@__modelType reference
+*/
+class reference {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.ArgumentElement:oiref><oihard>
+@__modelType reference
+*/
+class reference2 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.RequestType:oiref><oihard>
+@__modelType reference
+*/
+class reference3 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.FaultType:oiref><oihard>
+@__modelType reference
+*/
+class reference5 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.SoapSchema:oiref><oihard>
+@__modelType reference
+*/
+class reference6 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.EnvelopeType:oiref><oihard>
+@__modelType reference
+*/
+class reference7 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.ResponseType:oiref><oihard>
+@__modelType reference
+*/
+class reference8 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.BodyElement:oiref><oihard>
+@__modelType reference
+*/
+class reference9 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.SoapBinding:oiref><oihard>
+@__modelType reference
+*/
+class reference11 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.ReturnElement:oiref><oihard>
+@__modelType reference
+*/
+class reference12 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.HeaderElement:oiref><oihard>
+@__modelType reference
+*/
+class reference13 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.FaultElement:oiref><oihard>
+@__modelType reference
+*/
+class reference1 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.EnvelopeElement:oiref><oihard>
+@__modelType reference
+*/
+class reference14 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.EncodingStyleType:oiref><oihard>
+@__modelType reference
+*/
+class reference15 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.RequestElement:oiref><oihard>
+@__modelType reference
+*/
+class reference16 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.ResponseElement:oiref><oihard>
+@__modelType reference
+*/
+class reference17 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.BodyType:oiref><oihard>
+@__modelType reference
+*/
+class reference18 {
+}/**
+@__ref <oiref:design#Class#idd1uocbhi562acbhkttca.diagram:oiref><oihard>
+@__modelType reference
+*/
+class reference4 {
+}/**
+@__ref <oiref:design#Class#id35v73cbhi562acbhkttei.diagram:oiref><oihard>
+@__modelType reference
+*/
+class reference10 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.DetailElement:oiref><oihard>
+@__modelType reference
+*/
+class reference19 {
+}/**
+@__ref <oiref:design#Class#id2ksducbhi562acbhkttg6.diagram:oiref><oihard>
+@__modelType reference
+*/
+class reference20 {
+}/**
+@__ref <oiref:java#Class#org.zoap.soap.meta.DetailType:oiref><oihard>
+@__modelType reference
+*/
+class reference21 {
+}}/**
+@__tags
+@shapeType ClassDiagram
+*/
+class __tags {
+}/**
+@__options
+*/
+class __options {
+}/**
+@__positions
+*/
+class __positions {
+}