{"action":"created","issue":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/63","labels_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/63/comments","events_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/63/events","html_url":"https://github.com/highsource/maven-jaxb2-plugin/issues/63","id":114145614,"number":63,"title":"Incomplete generation <xs:element ... type=...>","user":{"login":"computerlyrik","id":2070112,"avatar_url":"https://avatars.githubusercontent.com/u/2070112?v=3","gravatar_id":"","url":"https://api.github.com/users/computerlyrik","html_url":"https://github.com/computerlyrik","followers_url":"https://api.github.com/users/computerlyrik/followers","following_url":"https://api.github.com/users/computerlyrik/following{/other_user}","gists_url":"https://api.github.com/users/computerlyrik/gists{/gist_id}","starred_url":"https://api.github.com/users/computerlyrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/computerlyrik/subscriptions","organizations_url":"https://api.github.com/users/computerlyrik/orgs","repos_url":"https://api.github.com/users/computerlyrik/repos","events_url":"https://api.github.com/users/computerlyrik/events{/privacy}","received_events_url":"https://api.github.com/users/computerlyrik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"highsource","id":6707996,"avatar_url":"https://avatars.githubusercontent.com/u/6707996?v=3","gravatar_id":"","url":"https://api.github.com/users/highsource","html_url":"https://github.com/highsource","followers_url":"https://api.github.com/users/highsource/followers","following_url":"https://api.github.com/users/highsource/following{/other_user}","gists_url":"https://api.github.com/users/highsource/gists{/gist_id}","starred_url":"https://api.github.com/users/highsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highsource/subscriptions","organizations_url":"https://api.github.com/users/highsource/orgs","repos_url":"https://api.github.com/users/highsource/repos","events_url":"https://api.github.com/users/highsource/events{/privacy}","received_events_url":"https://api.github.com/users/highsource/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/milestones/3","html_url":"https://github.com/highsource/maven-jaxb2-plugin/milestones/0.13.x","labels_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/milestones/3/labels","id":1279996,"number":3,"title":"0.13.x","description":null,"creator":{"login":"highsource","id":6707996,"avatar_url":"https://avatars.githubusercontent.com/u/6707996?v=3","gravatar_id":"","url":"https://api.github.com/users/highsource","html_url":"https://github.com/highsource","followers_url":"https://api.github.com/users/highsource/followers","following_url":"https://api.github.com/users/highsource/following{/other_user}","gists_url":"https://api.github.com/users/highsource/gists{/gist_id}","starred_url":"https://api.github.com/users/highsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highsource/subscriptions","organizations_url":"https://api.github.com/users/highsource/orgs","repos_url":"https://api.github.com/users/highsource/repos","events_url":"https://api.github.com/users/highsource/events{/privacy}","received_events_url":"https://api.github.com/users/highsource/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-08-30T08:59:21Z","updated_at":"2015-10-29T21:07:52Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-10-29T20:59:01Z","updated_at":"2015-10-29T22:11:06Z","closed_at":"2015-10-29T21:07:52Z","body":"I have a wsdl file like follows:\r\n\r\n```\r\n<wsdl:definitions  .... >\r\n       <wsdl:types>\r\n              <xs:schema elementFormDefault=\"qualified\" attributeFormDefault=\"qualified\"   targetNamespace=\"...\"  xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\r\n                    <xs:element name=\"someRequest\" type=\"ws:someRequestType\" />\r\n                    <xs:element name=\"someResponse\" type=\"ws:someResponseType\" />\r\n .....\r\n```\r\n\r\nthe ```someRequestType``` and ```someResponseType```  are later defined as ```<xs:complexType>```\r\n\r\nBut they are never generated as classes with ```@XmlRootElement```\r\n\r\nSo i cannot use them in the request, neither marshalling the response.\r\n\r\nWhy is this?\r\n\r\nI am following https://spring.io/guides/gs/consuming-web-service/"},"comment":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/comments/152342596","html_url":"https://github.com/highsource/maven-jaxb2-plugin/issues/63#issuecomment-152342596","issue_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/63","id":152342596,"user":{"login":"computerlyrik","id":2070112,"avatar_url":"https://avatars.githubusercontent.com/u/2070112?v=3","gravatar_id":"","url":"https://api.github.com/users/computerlyrik","html_url":"https://github.com/computerlyrik","followers_url":"https://api.github.com/users/computerlyrik/followers","following_url":"https://api.github.com/users/computerlyrik/following{/other_user}","gists_url":"https://api.github.com/users/computerlyrik/gists{/gist_id}","starred_url":"https://api.github.com/users/computerlyrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/computerlyrik/subscriptions","organizations_url":"https://api.github.com/users/computerlyrik/orgs","repos_url":"https://api.github.com/users/computerlyrik/repos","events_url":"https://api.github.com/users/computerlyrik/events{/privacy}","received_events_url":"https://api.github.com/users/computerlyrik/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T22:11:06Z","updated_at":"2015-10-29T22:11:06Z","body":"ALWAYS USE \r\n\r\n```\r\n<jaxb:bindings xmlns:jaxb=\"http://java.sun.com/xml/ns/jaxb\" jaxb:version=\"2.0\" xmlns:xjc= \"http://java.sun.com/xml/ns/jaxb/xjc\" jaxb:extensionBindingPrefixes=\"xjc\">\r\n<jaxb:globalBindings>\r\n<xjc:simple/>\r\n</jaxb:globalBindings>\r\n</jaxb:bindings> \r\n```\r\n\r\nWas the solution for me."}}