Tom,

WorkInProgress...I have not closed the bug yet
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14162). Am waiting for feedback from
SOAPBuilders on echoNotation before jumping in again
(http://groups.yahoo.com/group/soapbuilders/message/8805).

Thanks,
dims

--- Tom Jordahl <[EMAIL PROTECTED]> wrote:
> 
> Dims,
> 
> I didn't see any way for users of the new types (e.g. NMTokens, Entities) to 
>actually GET the
> data out of them.  The members are private.
> 
> Am I missing something?
> 
> --
> Tom Jordahl
> Macromedia Server Development
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:dims@;apache.org]
> Sent: Friday, November 01, 2002 8:49 AM
> To: [EMAIL PROTECTED]
> Subject: cvs commit: xml-axis/java/src/org/apache/axis/types
> Entities.java Entity.java IDRef.java IDRefs.java NMTokens.java
> Notation.java
> 
> 
> dims        2002/11/01 05:49:06
> 
>   Modified:    java/src/org/apache/axis Constants.java
>                java/src/org/apache/axis/encoding
>                         DefaultTypeMappingImpl.java
>   Added:       java/test/wsdl/interop5/basetype
>                         BaseTypesInteropTestsTestCase.java build.xml
>                         InteropTestsBindingImpl.java Round5BaseTypes.wsdl
>                java/src/org/apache/axis/types Entities.java Entity.java
>                         IDRef.java IDRefs.java NMTokens.java Notation.java
>   Log:
>   Initial checkin for Bug 14162 - Round 5 BaseType WSDL needs additional schema 
>built-in types
>   
>   Revision  Changes    Path
>   1.1                 
> xml-axis/java/test/wsdl/interop5/basetype/BaseTypesInteropTestsTestCase.java
>   
>   Index: BaseTypesInteropTestsTestCase.java
>   ===================================================================
>   /**
>    * BaseTypesInteropTestsTestCase.java
>    *
>    * This file was auto-generated from WSDL
>    * by the Apache Axis WSDL2Java emitter.
>    */
>   
>   package test.wsdl.interop5.basetype;
>   
>   import java.net.URL;
>   
>   public class BaseTypesInteropTestsTestCase extends junit.framework.TestCase {
>       public static URL url = null;
>       
>       public static void main(String[] args) throws Exception {
>           if (args.length == 1) {
>               url = new URL(args[0]);
>           } else {
>               url = new URL(new
> 
>test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPortAddress());
>           }
>           junit.textui.TestRunner.run(new
> junit.framework.TestSuite(BaseTypesInteropTestsTestCase.class));
>       } // main
>   
>       public BaseTypesInteropTestsTestCase(java.lang.String name) {
>           super(name);
>       }
>       public void test1InteropTestsPortEchoDouble() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
>           }
>           assertTrue("binding is null", binding != null);
>   
>           // Test operation
>           double value = -3;
>           value = binding.echoDouble(0);
>           // TBD - validate results
>       }
>   
>       public void test2InteropTestsPortEchoDuration() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
>           }
>           assertTrue("binding is null", binding != null);
>   
>           // Test operation
>           org.apache.axis.types.Duration value = null;
>           value = binding.echoDuration(new org.apache.axis.types.Duration());
>           // TBD - validate results
>       }
>   
>       public void test3InteropTestsPortEchoDateTime() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
>           }
>           assertTrue("binding is null", binding != null);
>   
>           // Test operation
>           java.util.Calendar value = null;
>           value = binding.echoDateTime(java.util.Calendar.getInstance());
>           // TBD - validate results
>       }
>   
>       public void test4InteropTestsPortEchoTime() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
>           }
>           assertTrue("binding is null", binding != null);
>   
>           // Test operation
>           org.apache.axis.types.Time value = null;
>           value = binding.echoTime(new org.apache.axis.types.Time("15:45:45.275Z"));
>           // TBD - validate results
>       }
>   
>       public void test5InteropTestsPortEchoGYearMonth() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
>           }
>           assertTrue("binding is null", binding != null);
>   
>           // Test operation
>           org.apache.axis.types.YearMonth value = null;
>           value = binding.echoGYearMonth(new 
>org.apache.axis.types.YearMonth(2000,1));
>           // TBD - validate results
>       }
>   
>       public void test6InteropTestsPortEchoGYear() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
>           }
>           assertTrue("binding is null", binding != null);
>   
>           // Test operation
>           org.apache.axis.types.Year value = null;
>           value = binding.echoGYear(new org.apache.axis.types.Year(2000));
>           // TBD - validate results
>       }
>   
>       public void test7InteropTestsPortEchoGMonthDay() throws Exception {
>           test.wsdl.interop5.basetype.InteropTestsExpType binding;
>           try {
>               binding = new
> test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort();
>           }
>           catch (javax.xml.rpc.ServiceException jre) {
>               if(jre.getLinkedCause()!=null)
>                   jre.getLinkedCause().printStackTrace();
>               throw new junit.framework.AssertionFailedError("JAX-RPC 
>ServiceException caught: "
> + jre);
> 
=== message truncated ===


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

Reply via email to