facebook

Getting Error while Binding Customization file

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #291284 Reply

    kumar
    Member

    H 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&#8221;
    xmlns:xs=”http://www.w3.org/2001/XMLSchema”&gt;
    <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.xjb

    4) when i do next validation goes good
    5) when i click finish it shows error as

    file 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

    #291285 Reply

    kumar
    Member

    H 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&#8221;
    xmlns:xs=”http://www.w3.org/2001/XMLSchema”&gt;
    <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.xjb

    4) when i do next validation goes good
    5) when i click finish it shows error as

    file 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

    #291318 Reply

    kumar
    Member

    I 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

    #291380 Reply

    kumar
    Member

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Getting Error while Binding Customization file

You must be logged in to post in the forum log in