Skip to main content

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

Hello
I want to use EclipseLink DBWS and have a question. When I create WS from
procedure or table the result is in format retrived from db metadata, this
is OK.
When I use sql insteed it returns in simple-xml-format. I want to return in
some schema. I can set returnType parameter in builder file but when I
deploy this app I recieve error:

Exception Description: Result type [{urn:testSQL}twpkType] for operation
[twpk] has no O-X mapping

OK I understand that, I need to create eclipselink-dbws-or.xml and
eclipselink-dbws-ox.xml files.
How can I do that when I know select sql and I know column types?
I can create simple xsd file but how to create from  that xo an or files?
Maybe is another, simpler, method to generate WS from sql with returns in
some schema?
Is there any method to convert simple-xml-format to ox, or files with no
type declared? (for example all columns ar strings)
-- 
View this message in context: http://old.nabble.com/DBWS-output-format-tp29903283p29903283.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top