- This topic has 3 replies, 1 voice, and was last updated 15 years, 11 months ago by kumar.
-
AuthorPosts
-
kumarMemberH i Need Guidence….
1) I created a file oncall_binding.xjb at location C:\On_call_customization_file
2) Inside oncall_binding.xjb I wrote<jxb:bindings version=”1.0″ xmlns:jxb=”http://java.sun.com/xml/ns/jaxb”
xmlns:xs=”http://www.w3.org/2001/XMLSchema”>
<jxb:bindings schemaLocation=”C:\Users\kumar\AppData\Local\MyEclipse 6.5\eclipse\configuration\org.eclipse.osgi\bundles\606\1\.cp\cache\www.w3.org\2001\XMLSchema.xsd”>
<jxb:schemaBindings>
<jxb:package name=”oncall.ws” />
<jxb:nameXmlTransform>
<jxb:elementName suffix=”Element” />
</jxb:nameXmlTransform>
</jxb:schemaBindings>
</jxb:bindings>
</jxb:bindings>3) on the second page under
Binding Customization file i gave – C:\On_call_customization_file\oncall_binding.xjb4) when i do next validation goes good
5) when i click finish it shows error asfile C:\Users\kumar\AppData\Local\MyEclipse 6.5\eclipse\configuration\org.eclipse.osgi\bundles\606\1\.cp\cache\www.w3.org\2001\XMLSchema.xsd is not part of compilation. is ths a mistake for C:/On_call_customization_file/oncall_binding.xjb
This message made me confused what’s wrong?I am using Myeclipse 6.6
Any help guidence will be appreciated.
Thanks
Kumar
kumarMemberH i Need Guidence….
1) I created a file oncall_binding.xjb at location C:\On_call_customization_file
2) Inside oncall_binding.xjb I wrote<jxb:bindings version=”1.0″ xmlns:jxb=”http://java.sun.com/xml/ns/jaxb”
xmlns:xs=”http://www.w3.org/2001/XMLSchema”>
<jxb:bindings schemaLocation=”XMLSchema.xsd”>
<jxb:schemaBindings>
<jxb:package name=”oncall.ws” />
<jxb:nameXmlTransform>
<jxb:elementName suffix=”Element” />
</jxb:nameXmlTransform>
</jxb:schemaBindings>
</jxb:bindings>
</jxb:bindings>3) on the second page under
Binding Customization file i gave – C:\On_call_customization_file\oncall_binding.xjb4) when i do next validation goes good
5) when i click finish it shows error asfile XMLSchema.xsd is not part of compilation. is ths a mistake for C:/On_call_customization_file/oncall_binding.xjb
This message made me confused what’s wrong?
I am using Myeclipse 6.6
Any help guidence will be appreciated.
Thanks
Kumar
kumarMemberI have questioned here ….
I am consuming service which is written in DOT NET Technology. My development platform is J2EE.
While consume service do I need to copy xsd file from dot net platform to my environment so that when I am writing “Binding Customization file” which needs path for “schemaLocation” can point to that copied xsd file from DOT Net platform?
Can some one explain me what will go under “schemaLocation”
Thanks in advance
Kumar
kumarMemberHi all I figure out that WSDL which i am trying to consume to generate WebService client code contains inline XSD.
In that case jaxbSchemabinding is not associated with any Schema
This leads me in circle where i am unable to exit
Any suggestions
Thanks
Kumar -
AuthorPosts