{"id":96,"date":"2007-08-08T12:07:47","date_gmt":"2007-08-08T17:07:47","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/axis2-duplicate-global-type\/"},"modified":"2011-03-10T10:57:29","modified_gmt":"2011-03-10T15:57:29","slug":"axis2-duplicate-global-type","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/axis2-duplicate-global-type\/","title":{"rendered":"Axis2: Duplicate global type"},"content":{"rendered":"<p>While Axis2 was compiling my WSDL and XSD files, it yelled at me with this:<\/p>\n<p>org.apache.xmlbeans.XmlException: project:\/\/local\/MyFile.xsd:3:1: error: sch-props-correct.2: Duplicate global type: MyType@http:\/\/mycompany.com\/spr\/lite\/xsd (Original global type found in file: MyFile.xsd)<\/p>\n<p>It turned out the error was due to my double importing of an XSD file.  (That is, file A imported file B and C, but file B also imported file C.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While Axis2 was compiling my WSDL and XSD files, it yelled at me with this: org.apache.xmlbeans.XmlException: project:\/\/local\/MyFile.xsd:3:1: error: sch-props-correct.2: Duplicate global type: MyType@http:\/\/mycompany.com\/spr\/lite\/xsd (Original global type found in file: MyFile.xsd) It turned out the error was due to my double importing of an XSD file. (That is, file A imported file B and C, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}