axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinath Perera" <hemap...@opensource.lk>
Subject RE: Replace SchemaUtils/DOM with JaxMe's Schema Parser?
Date Thu, 23 Oct 2003 16:26:09 GMT
>>This isn't good, we need to maintain compatibility!!
yes ... You are right,

we try to play with commenting places genarating the error .. occured(they
are validating things always.) (basicall there are two error ..
"schemaLocation not defined" and "name or ref must be defined". )

We will come back with test case's and go for bugzilla (as dims
instructed.) and jaxme mailing list.

hopefully we can find a answer.

Srinath



>> The most of the schema's in the  WSDL's are rejected by the JAXME
>> saying invalied :( sound's like we have  to change them.
>
> This isn't good, we need to maintain compatibility!!
> Sounds like JaxME needs to be more permissive in what Schema it will
> handle
>
> --
> Tom Jordahl
> Macromedia Server Development
>
> -----Original Message-----
> From: Srinath Perera [mailto:hemapani@vijayaba.cse.mrt.ac.lk]
> Sent: Wednesday, October 22, 2003 10:02 PM
> To: axis-dev@ws.apache.org
> Subject: RE: Replace SchemaUtils/DOM with JaxMe's Schema Parser?
>
> Hi Tom Jordahl,All
>
> thank you very much for the answer ...
> we ill try it.
>
> Now the story has moved more foward ...(there is a mail DOM->JAXME
> INTIAL PHASE DONE).
>
> The most of the schema's in the  WSDL's are rejected by the JAXME saying
> invalied :( sound's like we have  to change them.
>
> thanks for help
>
> Srinath
>
> On Wed, 2003-10-22 at 23:49, Tom Jordahl wrote:
>> I believe you can change these tests (in the build.xml files for each)
>> to use a local version of these WSDL files.  There should be local
>> copied checked in to the CVS tree of the WSDL for each of the tests
>> that use an external WSDL.
>>
>> This may not solve your problem completely as you will need to talk to
> these
>> web services to complete the test.
>>
>>
>> --
>> Tom Jordahl
>> Macromedia Server Development
>>
>> -----Original Message-----
>> From: Dimuthu Leelarathne [mailto:muthulee@vijayaba.cse.mrt.ac.lk]
>> Sent: Monday, October 14, 2002 5:23 AM
>> To: axis-dev@ws.apache.org
>> Subject: Re: Replace SchemaUtils/DOM with JaxMe's Schema Parser?
>>
>> Hi Dims and all,
>>
>> Sorry abt the previous mail. Now that problem is solved. Now we have a
>> serious new problem.
>>
>> We were not working on the most recent source from the cvs. As a
>> starting point we used a very recent code from the cvs - not the
>> latest. That is
> why
>> we are having a few hiccups now.
>>
>> All tests depend on some uris such as
>> http://www.whitemesa.com/interop/InteropTest.wsdl",
>> "http://mssoapinterop.org/stk/InteropB.wsdl " and etc ...   We get a
>> "ConnectException: Connection timed out" (stack trace is given below).
> Due
>> to this eventually the build fails.
>>
>> The internet connection here is very, very, very slow. Should we
>> increase the timeouts in these test cases inorder to make them work ?
>> Could it be
> the
>> reason ?
>>
>> Thanks,
>> Dimuthu.
>>
>>   [java] [wsdl2java] java.net.ConnectException: Connection timed out:
>> connect
>>      [java] [wsdl2java] WSDL2Java
>> http://www.whitemesa.com/interop/InteropTest.wsdl
>>      [java] [wsdl2java] java.net.ConnectException: Connection timed
>> out:
>> connect
>>      [java] [wsdl2java] WSDL2Java
>> http://www.whitemesa.com/interop/InteropTestB.wsdl
>>      [java] [wsdl2java] java.net.ConnectException: Connection timed
>> out:
>> connect
>>      [java] [wsdl2java] WSDL2Java
> http://mssoapinterop.org/stk/InteropB.wsdl
>>      [java] [wsdl2java] java.net.ConnectException: Connection timed
>> out:
>> connect
>>      [java] [wsdl2java] WSDL2Java
>> http://mssoapinterop.org/stk/InteropBtyped.wsdl
>>      [java] [wsdl2java] java.net.ConnectException: Connection timed
>> out:
>> connect
>>      [java] [wsdl2java] WSDL2Java
> http://mssoapinterop.org/stk/InteropC.wsdl
>>      [java] [wsdl2java] java.net.ConnectException: Connection timed
>> out:
>> connect
>>      [java] [wsdl2java] WSDL2Java
>> http://www.whitemesa.com/r3/import1.wsdl [java] [wsdl2java]
>> java.net.ConnectException: Connection timed out:
>> connect
>>      [java] [java2wsdl] Java2WSDL
>> test.wsdl.interop3.import1.definitions.SoapInt
>> eropImport1PortType
>>      [java] [java2wsdl] java.lang.ClassNotFoundException:
>> test.wsdl.interop3.imp
>> ort1.definitions.SoapInteropImport1PortType
>>      [java] [java2wsdl]         at
>> java.net.URLClassLoader$1.run(URLClassLoader.
>> java:198)
>>      [java] [java2wsdl]         at
>> java.security.AccessController.doPrivileged(N
>> ative Method)
>>      [java] [java2wsdl]         at
>> java.net.URLClassLoader.findClass(URLClassLoa
>> der.java:186)
>>      [java] [java2wsdl]         at
>> java.lang.ClassLoader.loadClass(ClassLoader.j
>> ava:306)
>>      [java] [java2wsdl]         at
>> sun.misc.Launcher$AppClassLoader.loadClass(La
>> uncher.java:265)
>>      [java] [java2wsdl]         at
>> java.lang.ClassLoader.loadClass(ClassLoader.j
>> ava:262)
>>      [java] [java2wsdl]         at
>> java.lang.ClassLoader.loadClassInternal(Class
>> Loader.java:322)
>>      [java] [java2wsdl]         at java.lang.Class.forName0(Native
>> Method) [java] [java2wsdl]         at
>> java.lang.Class.forName(Class.java:130) [java] [java2wsdl]
>>  at
>> org.apache.axis.utils.ClassUtils$2.run(ClassU
>> tils.java:197)
>>      [java] [java2wsdl]         at
>> java.security.AccessController.doPrivileged(N
>> ative Method)
>>      [java] [java2wsdl]         at
>> org.apache.axis.utils.ClassUtils.loadClass(Cl
>> assUtils.java:171)
>>      [java] [java2wsdl]         at
>> org.apache.axis.utils.ClassUtils.forName(Clas
>> sUtils.java:112)
>>      [java] [java2wsdl]         at
>> org.apache.axis.wsdl.fromJava.Emitter.setCls(
>> Emitter.java:1477)
>>      [java] [java2wsdl]         at
>> org.apache.axis.tools.ant.wsdl.Java2WsdlAntTa
>> sk.execute(Java2WsdlAntTask.java:206)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Task.perform(Task.java:3
>> 41)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Target.execute(Target.ja
>> va:309)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Target.performTasks(Targ
>> et.java:336)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Project.executeTarget(Pr
>> oject.java:1339)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.taskdefs.Ant.execute(Ant
>> .java:397)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Task.perform(Task.java:3
>> 41)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Target.execute(Target.ja
>> va:309)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Target.performTasks(Targ
>> et.java:336)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Project.executeTarget(Pr
>> oject.java:1339)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.taskdefs.Ant.execute(Ant
>> .java:397)
>>      [java] [java2wsdl]         at
>> org.apache.axis.tools.ant.foreach.ForeachTask
>> .executeAntTask(ForeachTask.java:228)
>>      [java] [java2wsdl]         at
>> org.apache.axis.tools.ant.foreach.ForeachTask
>> .executeTarget(ForeachTask.java:181)
>>      [java] [java2wsdl]         at
>> org.apache.axis.tools.ant.foreach.ForeachTask
>> .executeParameters(ForeachTask.java:247)
>>      [java] [java2wsdl]         at
>> org.apache.axis.tools.ant.foreach.ForeachTask
>> .executeParameters(ForeachTask.java:254)
>>      [java] [java2wsdl]         at
>> org.apache.axis.tools.ant.foreach.ForeachTask
>> .execute(ForeachTask.java:263)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Task.perform(Task.java:3
>> 41)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Target.execute(Target.ja
>> va:309)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Target.performTasks(Targ
>> et.java:336)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Project.executeTarget(Pr
>> oject.java:1339)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Project.executeTargets(P
>> roject.java:1255)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Main.runBuild(Main.java:
>> 609)
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Main.start(Main.java:196
>> )
>>      [java] [java2wsdl]         at
>> org.apache.tools.ant.Main.main(Main.java:235)
>>
>>
>>      [java] BUILD FAILED
>>      [java]
>> file:D:/Program%20Files/axis-1_1-src/axis-1_1/test/wsdl/interop/buil
>> d.xml:284: Error while running
>> org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask
>>
>>      [java] Total time: 5 minutes 21 seconds
>>
>> BUILD FAILED
>>
>> ----- Original Message -----
>> From: "Dimuthu Leelarathne" <muthulee@vijayaba.cse.mrt.ac.lk>
>> To: <axis-dev@ws.apache.org>; <dims@yahoo.com>
>> Sent: Monday, October 14, 2002 10:48 AM
>> Subject: Re: Replace SchemaUtils/DOM with JaxMe's Schema Parser?
>>
>>
>> >
>> > Hi Dims and all,
>> >
>> > >   #3: If you compare the results of running "ant clean all-tests"
>> between
>> > the original code and
>> > > your modified code (do a windiff on build/work directory where all
>> the
>> > generated code is present)
>> >
>> > We ran "ant clean all-tests", but the problem is the work directory
>> is empty.
>> >
>> > Thanks,
>> > Dimuthu.
>> >
>> >
>> > ----- Original Message -----
>> > From: "Davanum Srinivas" <dims@yahoo.com>
>> > To: <axis-dev@ws.apache.org>; <hemapani@vijayaba.cse.mrt.ac.lk>
>> Sent: Tuesday, September 30, 2003 5:52 PM
>> > Subject: Re: Replace SchemaUtils/DOM with JaxMe's Schema Parser?
>> >
>> >
>> > > Here's a plan for you all:
>> > > - Get the latest CVS code for axis
>> > >   #1: make a copy/zip it up so that you know what you started with
>> #2: run "ant clean all-tests" to make sure that nothing is
>> broken
>> > > - Get the latest CVS code for JaxMe
>> > > - Iteratively make changes to axis's code (and if necessary
>> JaxMe's
>> code)
>> > such that:
>> > >   #1: You replace all dom traversal stuff in
>> symbolTable\SchemaUtils.java
>> > and other files.
>> > >   #2: If you run "ant clean all-tests", it should NOT fail
>> > >   #3: If you compare the results of running "ant clean all-tests"
>> between
>> > the original code and
>> > > your modified code (do a windiff on build/work directory where all
>> the
>> > generated code is present)
>> > > they should be EXACTLY the same.
>> > > - When you are ready, we can create a CVS branch to let everyone
> review
>> > your work before it gets
>> > > merged into the HEAD branch
>> > > - If you need changes to JaxMe stuff, you will need to submit
>> bugzilla
>> > patches as usual, i will
>> > > work with them to merge the changes needed into their source tree.
>> > >
>> > > How does this sound? Do you have enough to get going?
>> > >
>> > > Thanks,
>> > > dims
>> > >
>> > > --- Srinath Perera <hemapani@vijayaba.cse.mrt.ac.lk> wrote:
>> > > > Hi All
>> > > >
>> > > > we would like to give it a try. Knows it was bit of a challenge.
>> Plus we have not work with JaxMe's schema parser. Yet will do
>> our
>> best.
>> > > >
>> > > > How should we do it .. keeping our copy and work on it till we
>> have something or have it somewhere in CVS so others can have
>> look and
> help
>> > > > :). (quite sure help is necessary)
>> > > >
>> > > > If all goes well we could start work on it about a week by now.
>> > > >
>> > > > regards
>> > > >
>> > > > Srianth,Dimuthu,VTPavan,jkumaran
>> > > >
>> > > >
>> > > > On Thu, 2003-09-25 at 21:50, Davanum Srinivas wrote:
>> > > > > Given the # of bugs we have related to Schema's. Does anyone
>> have
>> > cycles to replace what we
>> > > > have
>> > > > > with JaxMe's Schema Parser?
>> > (http://ws.apache.org/jaxme/xs/index.html). This would involve
>> > > > fixing
>> > > > > both our code as well as JaxMe code (if necessary). The first
>> > objective would be to remove all
>> > > > our
>> > > > > dependency on DOM parsing/walking (see
>> > org\apache\axis\wsdl\symbolTable\SchemaUtils.java).
>> > > > This
>> > > > > work could be done in a separate branch till code is stable
>> enough
>> so
>> > that our "ant clean
>> > > > > all-tests" works ok.
>> > > > >
>> > > > > Anyone up for it?
>> > > > >
>> > > > > Thanks,
>> > > > > dims
>> > > > >
>> > > > > =====
>> > > > > Davanum Srinivas - http://webservices.apache.org/~dims/
>> > > > >
>> > > >
>> > >
>> > >
>> > > =====
>> > > Davanum Srinivas - http://webservices.apache.org/~dims/
>> > >
>> > >
>> >
>> >
>> >
>>




Mime
View raw message