Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Marshaller not generating namespace definition(Marshaller not generating namespace definition)
Marshaller not generating namespace definition [message #1758722] Sat, 01 April 2017 00:54
Varuna Jain is currently offline Varuna JainFriend
Messages: 1
Registered: April 2017
Junior Member
We just migrated from Weblogic 12.1 to Weblogic 12.2 and Weblogic 12.2 comes with eclipselink 2.6.1 version. In some cases marshaller is not generating name space definition for the elements. Here's the sample schema and output:

There are four XSD files in single text file which is attached to the topic.

output is also attached.

There is no definition for ns2 even though it's being referred. As part of debugging I realized that it may be issue with following line:
((XMLLogin) xmlContext.getSession().getDatasourceLogin()).setEqualNamespaceResolvers(true);


In 2.0 version shipped with weblogic above line was conditional but now it always sets to true and hence it does not write namespace definition.

Any suggestions will be helpful?

  • Attachment: test.txt
    (Size: 3.56KB, Downloaded 95 times)
  • Attachment: output.txt
    (Size: 0.54KB, Downloaded 111 times)
Previous Topic:Support for LocalDateTime
Next Topic:Wrong deserializing of collection from JSON
Goto Forum:

Current Time: Mon Dec 16 13:13:14 GMT 2019

Powered by FUDForum. Page generated in 0.01704 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top