liser they want. Of course default behaviour would be as it is now. So
Castor would ship with a default implementation this new interface that
works with Xerces. Thoughts? Anybody have any objections if I start to look into
this within the next few weeks?
Cheers,
Andrew
Fawcett
"Th
Hello Castor Community,
If anybody is currently looking at generating WSDL and has seen Sun's JWSDL API
(and IBM's reference implementation WSDL4J) you might be interested in this
demo I cooked up for one of our developers. It uses the JWSDL API to marshal
out a .wsdl with an embedded XML Sche
Keith,
Excellent, that sorted it out.
Thanks very much
Andrew
Andrew Mace
Global Markets Derivatives Technology
Deutsche Bank
Keith Visco <[EMAIL PROTECTED]>
03/31/2004 03:09 AM
Please respond to "[EMAIL PROTECTED]"
To: "[EMAIL PROTECTED]" <
ay to change the mapping file so i can get the marshalled xml
to look as follows
3DSZM13
3DSZM14
If you need any extra information, then please let me know
Thanks in advance
Andrew
Andrew Mace
Global Markets Derivatives Technology
Deutsche
thats wrong
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
<>
O#Ï•Õ
0#që}‹ý?8ßsO†J¿ÕüÌ\ô—»˜`óù.?ËqSšk&‚¥IL’±ãMÊaDŸcaDKÖ#ÏðëRg!¾J£æ?›¬8²ŒÁ‡/”²6!ágnÚðŸmÔéÓÀN²÷/oårˆÀ>ßa·À9Š}¿þü0½Óâóê¼jISí%‹ó¾Êß´‘âU6ÜJÇáwÅŸž#Ô!ˆuv{¸£C¨ßœ¤nz7ÀÜ1?6±è'T*öš7ði5á4‘&Òwïý×ÉO?¡½$åƒðˆvrY‰÷‰æ?Ü!S<œ×ö!êöé£)Û½ùóxó°•Ó‚(?†Võ>Íû”>:»%ÜeEdx¶XO
õV?“éÖ(
A]4a°S¦Q÷£qêóȸu¢—Í|??ÞÙ4žø7ç)ËÃ×PÓ¶OÔé_ö
î
The message cannot be represented in 7-bit ASCII encoding and has been sent as a
binary attachment.
<>
The message contains Unicode characters and has been sent as a binary attachment.
<>
The message cannot be represented in 7-bit ASCII encoding and has been sent as a
binary attachment.
<>
<>
test
<>
The message cannot be represented in 7-bit ASCII encoding and has been sent as a
binary attachment.
message.pif
Description: Binary data
Castor maps the value of the "targetNamespace" attribute to a
Java package via the entries in the castorbuilder.properties. An example
is shown in this file currently. So to build up the package hierarchy
you want you must have each schema in its own namespace and use
to share types between them.
As regards point 2), use the following setting in castorbuilder.properties.
org.exolab.castor.builder.javaclassmapping=type
Cheers.
-Original Message-
From: Leeuw van der, Tim [mailto:[EMAIL PROTECTED]
Sent: 30 July 2003 10:05
To: [EMAIL PROTECTED]
I have a couple of questions regard
Hi, is castor xml marshaling framework support xsi:nil serialization? I mean
that if field is of type java.lang.Integer and it's null I want
to have it in result of serialization with xsi:nil="true" set on the element
and content is empty(if it's element).
Thanks.
It's not correct XML schema. Attribute "mixed" must be set on
"complexContent" element- child of "complexType", look at spec.
xs:element name="i1">
> >
> >
> >
> >
> >
> >
---
If you wish to unsubscribe from this mailing, send mail to
When unmarshalling objects from XML, I'd like to know for each object
what line number it comes from. In other words, if the element was at
line 17, is there a way I could have Castor tell that to the new object?
Thanks,
Andrew H
Title: RE: [castor-dev] SourceGenerator -- package mapping with IMPORT
-Original Message-
From: Brian Goetz [mailto:[EMAIL PROTECTED]]
Sent: 11 December 2002 02:45
To: [EMAIL PROTECTED]
Subject: [castor-dev] SourceGenerator -- package mapping with IMPORT
Hi. I'm using Castor Sour
By
default the Source Generator will output descriptor classes.
Trying
look into the methods on your FormatDescriptor class.
Note
that the names are also defined as public static final's so that you can refer
to them statically aswell.
Cheers.
-Original Message-From: Rudra
Title: RE: [castor-dev] c++ binding??
http://www.code-generator.com/default.htm
-Original Message-
From: Bill Marcum [mailto:[EMAIL PROTECTED]]
Sent: 13 November 2002 16:27
To: [EMAIL PROTECTED]
Subject: [castor-dev] c++ binding??
Are there any c++ binding tools out there, compati
Title: RE: [castor-dev] How to use SAX filters with marshal/unmarshal - repost
Hi,
I think you need to look into the EventProducer interface. Basically you implement this interface. You then pass an instance of an object implementing this interface to the Marshaller. With this interface you
-Original Message-----From: Andrew
[mailto:[EMAIL PROTECTED]]Sent: Sunday, October 27, 2002 8:10
PMTo: [EMAIL PROTECTED]Subject: Re: [castor-dev]
how can i inform Castor JDO engine that i will use EJB Container's
Transaction Management?
1)You need to configure
1)You need to configure castor for container integration-
through JNDI DataSource in database mapping config file(see site for
reference).
2)Be sure that you set up properly container
configuration(transaction management) in EJB descriptor.
Regards.
- Original Message -
Fr
Title: RE: [castor-dev] Castor XML DateFieldHandler does not handle locales correctly
Thanks for this David,
This does indeed sound like a problem. It wasn't the intention for this class to be locale sensitive. I'll take a look at this for the next release.
Cheers.
-Original Message--
gt; switching to 0.9.4 one day after it has been released is not an option due
to
> standard release management procedures.
>
> Werner
>
> Andrew wrote:
>
> > Try to use 0.9.4 version.
> >
> > - Original Message -
> > From: "Andre Machowiak&qu
I think it's possible if castor supports object form of simple types so
nill'able element can looks like
this element is of simple type java.lang.Long and it's
value is null.So figure out youself.
Regards.
- Original Message -
From: "Tim Hollosy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
Title: Format for dateTime element
If you
use GMT/UTC timezone it will output a Z on the end. You can set this via
TimeZone.setDefault or via a static method on the DateFieldHandler class.
However eitherway it will attempt to retain the timezone in some way or
another.
-Original Messa
Thanks for the info on OJB, as for Castor JDO - I stand corrected :)
BTW, what aspects of JDO do you think make it more tailored to OODBMS? A few
years ago I used Ardent's Java Relational Binding. It was a nice
implementation of the ODMG spec and supported Object-Relational mapping.
Ardent also p
It strikes me that Castor JDO may be at a cross-roads. It appears to suffer
from its heritage of being an early implementation of JDO that has not
totally embraced the latest spec. I imagine that as commercial products and
other open source projects mature in this space, Castor JDO may become
incr
Hi, I've the following code in my stateless session bean:
info- is value object for client exchange(CustomerStore init data)
jdo- DataObjects.
database in use- Oracle9/local datasource.
CustomerStore- persistent object
both methods declared as RequiresNew
1)--
Firstly, apologies if this is an inappropriate forum for this kind of
question.
I'm investigating the use of CastorJDO with WAS3.5 and DB/2 7. I'd like to
try using the Session Managed Persistence pattern as described by Versant,
where a Session Bean manages the interaction with the object store
probably
optimistic locking in action
-Original
Message-From: Benjamin Voiturier
[mailto:[EMAIL PROTECTED]]Sent: 06 June 2002 16:59To:
[EMAIL PROTECTED]Subject: [castor-dev] JDO's SQL UPDATE clause
causing trouble...
Hi,
I'm using castor JDO and have a
quest
Title: Source Generator, FieldInfoFactory2.java Enhancement for additional collection accessor methods?
Hi,
I would like to make an enhancement to this class to output the following method.
MyListItem removeMyListItem(int index)
It currently outputs just
boolean removeM
Title: RE: [castor-dev] xsd:include
I have experienced this problem before, it turned out to be my version of xerces.jar. Are you using the version that builds with Castor?
-Original Message-
From: Arnaud Blandin [mailto:[EMAIL PROTECTED]]
Sent: 27 May 2002 12:40
To: [EMAIL PROTECTED]
I'm trying to run a query such as below - and get a null pointer exception,
I don't know how this can be as I check the attribute before the sql. Does
anyone have an idea why this would occur?
The attribute 'theRecording' is a Class Recording and is set in the xml file
below.
-- Error -
Hi,
I have an issue with JDO inheritence.
Say I have a Customer class with some fields.
I have a Corporation class which extends Customer, this class has 2 new
fields.
They both enter data into 1 table - customers.
When I try to insert into Customer, that works fine, however when using
Corporat
Sent: 23 May 2002 14:11
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] MappingException
Andrew,
Your mapping an integer for theCusstomerType to a customerType object, and
obviously, Castor is unable to convert from integer to the customer type. I
believe that the mapping for theCustomerType shoul
> I have a Customer class, that has an attribute of CustomerType. This is a
> one-to-one relationship.
> I'm getting this error, and I can't work out why. I've read through all
> the posts, but haven't been able to find a solution.
> Can someone point me in the right direction?
> Thanks
>
> Nest
Hi, I've tried to use Castor under 2.4.5 and got:
java.sql.SQLException: Closed Statement
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:166)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:526)
at org.jboss.ejb.plugins.TxInte
Which one?
Could you please respond to [EMAIL PROTECTED]
Regards
--
Andrew Pym
Project Victor
Ph: 937 85743
Mob: 0417 416 569
** IMPORTANT MESSAGE **
This e-mail message is intended only for the addressee(s) and contains information
which may be confidential. If you a
Title: RE: [castor-dev] Suppressing xsi:type in marshalled output
Yes, use setMarshalExtendedType(false) on the Marshaller object
-Original Message-
From: Schneeman, Brent [mailto:[EMAIL PROTECTED]]
Sent: 17 April 2002 19:05
To: [EMAIL PROTECTED]
Subject: [castor-dev] Suppressing xsi
Hi,
At
CODA we carn't get enough of the fantastic tool!
You
can read what we and others had to say about it on the Exolab
website.
http://www.exolab.org/latestnews.html
Andy.
-Original Message-From: Rafert, Tim
[mailto:[EMAIL PROTECTED]]Sent: 10 April 2002 05:32To:
[
That would be outstanding! I would be very interested in your
presentation and code.
Mark
Andrew Fawcett wrote:
>
>
> Last September I did a presentation on XML Data Binding and Web
> Services. It showed how to use Castor within the Apache SOAP SDK to
> unmarshall a liter
Integration module use org.jboss.logging.Logger class but 2.4.4 doesn't have
one.
Thanks.
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
Currently you have to run the Source Generator for each namespace you
want source code generated for.
-Original Message-From: Annavajjala, Karuna
[mailto:[EMAIL PROTECTED]]Sent: 10 January 2002
14:43To: [EMAIL PROTECTED]Subject: [castor-dev]
SourceGenerator for multiple name
---Mapping file--
-REsulting XML
Composite
Test Article 1
Andrew Coulson
Software Architect; VGM-AST, Vignette Corp.
ofc: 512 741-1368 [EMAIL PROTECTED]
"The path to enlightenment is /usr/bin/enlightenmen
Hi, I've little query:
select p from DataStore as o, p in o.elements where p.element_sno=$1
getOQL() throws Exception: Incorrect token type near(,)- o,p.
What cold be wrong?
Thanks.
---
If you wish to unsubscribe from this mailing, se
Title: RE: [castor-dev] xs:datetime in DateFieldHandler
Hi Owen,
This work has already been started, I am currently looking to complete it over the next few weeks. Attached is what has been done so far.
Thanks.
-Original Message-
From: Owen [mailto:[EMAIL PROTECTED]]
Sent: 26 Sept
Title: RE: [castor-dev] Source Generator with xs:enumerations
Hi,
As you say the problem is with the name and scope of the resulting Java class. BTW, this problem also has the potential to occur with the use of anonymous xs:complexType's too. :-(
In the past I have also given this some thou
t; transaction, that why it can automatically detect change and persist
> modification.
>
> In your case, "oi" is not loaded in the same transaction, and that is what
> the error message mean.
> The easiest solution is to load oi again.
>
>
> Thomas
>
> -Original Me
Title: RE: [castor-dev] Namespaces
In the meantime you might want to try playing with the setNamespaceMapping and setNSPrefixAtRoot methods on the Marshaller class. I don't no of anyway to switch off the namespace markup (although you could filter these out using a custom SAX document handler)
Hi, seems Castor doesn't
understand transaction processing in JBoss. In session bean method with Required
transaction attribute
execute following sequence:
jdo.getDatabase();
load( Object,id)
db.close();
on "load" line throws exception:
[Default] java.lang.IllegalStateException:
Transac
Message-From: Andrew
Fawcett [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23,
2001 11:46
AMTo: [EMAIL PROTECTED]Subject: Re: [castor-dev] errors
compiling castor generated classes 0.9.3
It looks
like you've got the old version of castor.jar in your compilers clas
It
looks like you've got the old version of castor.jar in your compilers classpath,
these a relatively new methods/classes the compilers referring
to.
-Original Message-From: michael robkin
[mailto:[EMAIL PROTECTED]]Sent: 23 August 2001 16:45To:
[EMAIL PROTECTED]Subject: [cas
Hi, I've dependent class with
bidirectional connection with master object.When I try to create dependents with
different foreign keys( from master)
I've got primary key violation on dependent
table(that is foreign from master+primary for dependent).Mapping
file:
Castor
does have multiple include/import checking built into the schema parser. However
currently it simply does a case sensitive compare of the URI to determine if
it's met the schema before. This means that a URI used for a specific schema
must specified consistently, in terms of both form
(shown on the web-site) to
unmarshal two or more instances of one class.
is that possible, do i have to provide a mapping-file, or is there any
other way?
thanks a lot
folker
Andrew Fawcett schrieb am 06.08.2001 um 09:24 :
>You could try directing the output of the Marshaller to a SAX docu
This
is a problem with the IncludeUnmarshaller.java class. It has now been fixed in
CVS.
-Original Message-From: michael robkin
[mailto:[EMAIL PROTECTED]]Sent: 09 August 2001 22:02To:
[EMAIL PROTECTED]Subject: [castor-dev] saxparse exception -
0.9.3 cvs
I hav
Hi, I've following mapping:
Tables defined as:
stage_table( order_sno)->order_table( order_sno) and
order_table(contract_no,stage_no)-> stage_table( contract_no,stage_no)
but when I try to load OrderStore I've got:
java.sql
Title: RE: [castor-dev] castor xml-marshalling
You could try directing the output of the Marshaller to a SAX document handler that serialises XML (such as org.apache.xml.serialize.XMLSerializer). First start your document and send your root node, e.g. handler.startDocument(); handler.startElem
After load operation on master
object I do commit without any changes in dependent but castor try to recreate
them anyway as if I've modified dependets' collection.
But I'm not!
Code:
db.begin(); ContractStore cs=
(ContractStore)db.load( ContractStore.class, "Contract3"); Vector
c= c
Hi, I've following mapping
file:
"file:///C:/Java/Schema/Castor/mapping.dtd"> //-
In app I do:
ContractStore cs=
(ContractStore)db.load( ContractStore.class,
"Contract2"); Collection c= cs.getStages();
and Collec
This was the very problem I found myself recently.
Basically the and
handlers use the File.isAbsolute method to
determine if you have specified a relative path to your schema.
If Castor determines the file reference is
relative it uses the parsers context to determine the path to the
Hi, when I do
DataObjects.getDatabase() I've got following exception:
[Contract] java.lang.IllegalArgumentException:
Identity field must be of type JDOFieldDescriptor
What it means?
My mapping file is:
Thank you.
66 matches
Mail list logo