0

I want to create Java classes but failed below exception come,

Error resolving component 'q1:ArrayOflong'. It was detected that 'q1:ArrayOflong' is in namespace 'http://schemas.microsoft.com/2003/10/Serialization/Arrays', but components from this namespace are not referenceable from schema document

what is alternative url for this http://schemas.microsoft.com/2003/10/Serialization/Arrays

Cœur
  • 37,241
  • 25
  • 195
  • 267
Z.I.J
  • 1,157
  • 16
  • 36
  • 1
    https://msdn.microsoft.com/en-us/library/hh632574(v=office.12).aspx ? – Aaron Aug 31 '17 at 08:47
  • @Aaron how can i used in our xsd as namespace? – Z.I.J Aug 31 '17 at 08:50
  • You could add schemaLocation pointing to the xsd file in files which require it. Otherwise `wsdl2java` might have a mechanism to reference additional schema files, but I didn't find it. – Aaron Aug 31 '17 at 08:56
  • @Aaron can you give me detail, i am new in this side – Z.I.J Aug 31 '17 at 08:59
  • [This question](https://stackoverflow.com/questions/5875021/what-is-the-use-of-xsischemalocation) explains it well. You will want to provide a location for the `https://stackoverflow.com/questions/5875021/what-is-the-use-of-xsischemalocation` namespace's declaration instead of relying on downloading it from the internet. – Aaron Aug 31 '17 at 09:03
  • @Aaron thanks problem solved – Z.I.J Aug 31 '17 at 10:36
  • You're welcome ! I'm voting to close as duplicate of the linked question since it's what mainly helped you there I guess. – Aaron Aug 31 '17 at 10:39

0 Answers0