Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] DBWS output format

It didn't work for me. 
When I use testSQL.xml ( http://old.nabble.com/file/p29912793/testSQL.xml
testSQL.xml ) I receive error

./dbwsbuilder.sh -builderFile testSQL.xml -stageDir ./stage/ -packageAs war

Exception in thread "main" java.lang.NullPointerException
        at
org.eclipse.persistence.oxm.record.UnmarshalRecord.startCDATA(UnmarshalRecord.java:1035)
        at
org.eclipse.persistence.internal.oxm.record.XMLReader$LexicalHandlerWrapper.startCDATA(XMLReader.java:226)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startCDATA(AbstractSAXParser.java:625)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:484)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
        at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:147)
        at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:650)
        at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:264)
        at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:251)
        at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:215)
        at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:306)
        at
org.eclipse.persistence.tools.dbws.DBWSBuilder.start(DBWSBuilder.java:297)
        at
org.eclipse.persistence.tools.dbws.DBWSBuilder.main(DBWSBuilder.java:263)

When I delete line <secondary-text> from testSQL.xml there is no error but
WS output is still in simple-xml-format (at designtime and at runtime).  
Files eclipselink-dbws-or.xml and eclipselink-dbws-ox.xml are not generated
in both cases (with and without <secondary-text> line in testSQL.xml)

I am doing something wrong?
I use glassfish3.0.1, ojdbc14.jar and jdk1.6.0_06



Mike Norman wrote:
> 
> I've just put the finishing touches on a new feature that auto-generates 
> the schema/OR/OX files
> from JDBC metadata by running at design-time a slightly-modified version 
> of the SQL 
> <http://wiki.eclipse.org/EclipseLink/Development/DBWS/CustomSQLDesignTimeSchema>.
> Can you download the M1 milestone of EclipseLink 2.1.2 
> <http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/milestones/2.1.2/M1/eclipselink-2.1.2.v20100928-r8243.zip> 
> and see if it meets your needs?
> 
> Any feedback would be greatly appreciated,
> ---
> Oracle <http://www.oracle.com>
> Mike Norman | Principal Software Designer
> Phone: +6132884638 | | Fax: +6132382818 |
> Oracle Oracle Server Technologies, EclipseLink Product
> ORACLE Canada | 45 O'Connor Street, Suite 400, Ottawa, Ontario | K1P 1A4
> Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
> developing practices and products that help protect the environment
> 
> 

-- 
View this message in context: http://old.nabble.com/DBWS-output-format-tp29903283p29912793.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top