title: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
body: <p>My apache cxf client web service got exception just like below. However, 'XML type name "address"' is the soap:address location of my WSDL. What is the problem? </p>
  
  <pre><code>Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
  Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them.
      this problem is related to the following location:
          at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address
          at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr
          at com.sun.xml.ws.developer.MemberSubmissionEndpointReference
      this problem is related to the following location:
          at javax.xml.ws.wsaddressing.W3CEndpointReference$Address
          at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address
          at javax.xml.ws.wsaddressing.W3CEndpointReference
  Two classes have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them.
      this problem is related to the following location:
          at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements
          at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties
          at com.sun.xml.ws.developer.MemberSubmissionEndpointReference
      this problem is related to the following location:
          at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements
          at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParameters
          at javax.xml.ws.wsaddressing.W3CEndpointReference
  </code></pre>