Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] A class/interface with the same name
- "com.microsoft.schemas.crm._2007.webservices.RetrieveResponse" is already in use. Use a class customization to resolve this conflict.
- line 979 of file://src/main/webapp/WEB-INF/classes/META-INF/wsdl/CrmServiceWsdl.wsdl
- [ERROR] (Relevant to above error) another "RetrieveResponse" is generated from here.
- line 12274 of file://src/main/webapp/WEB-INF/classes/META-INF/wsdl/CrmServiceWsdl.wsdl
- <s:element name="RetrieveResponse">
- <s:complexType>
- <s:sequence>
- <s:element name="RetrieveResult" type="s3:BusinessEntity" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="RetrieveResponse">
- <s:complexContent mixed="false">
- <s:extension base="tns:Response">
- <s:sequence>
- <s:element ref="s3:BusinessEntity" />
- </s:sequence>
- </s:extension>
- </s:complexContent>
- </s:complexType>
- <bindings node="//xsd:complexType[@name='RetrieveResponse']">
- <jaxb:class name="RetrieveResponseType"/>
- </bindings>
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "response"
- })
- @XmlRootElement(name = "ExecuteResponse")
- public class ExecuteResponse {
- @XmlElement(name = "Response")
- protected MetadataServiceResponse response;
- etc...
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "response"
- })
- @XmlRootElement(name = "ExecuteResponse")
- public class ExecuteResponse {
- @XmlElement(name = "Response", required = true)
- protected ResponseType response;
- etc...
- Two classes have the same XML type name "{http://schemas.microsoft.com/crm/2007/CoreTypes}CrmAuthenticationToken". Use @XmlType.name and @XmlType.namespace to assign different names to them.
- this problem is related to the following location:
- at com.microsoft.schemas.crm._2007.coretypes.CrmAuthenticationToken
- at public com.microsoft.schemas.crm._2007.coretypes.CrmAuthenticationToken *prefix*.com.microsoft.schemas.crm._2007.coretypes.ObjectFactory.createCrmAuthenticationToken()
- at *prefix*.com.microsoft.schemas.crm._2007.coretypes.ObjectFactory
- this problem is related to the following location:
- at *prefix*.com.microsoft.schemas.crm._2007.coretypes.CrmAuthenticationToken
- at public javax.xml.bind.JAXBElement *prefix*.com.microsoft.schemas.crm._2007.webservices.ObjectFactory.createCrmAuthenticationToken(*prefix*.com.microsoft.schemas.crm._2007.coretypes.CrmAuthenticationToken)
- at *prefix*.com.microsoft.schemas.crm._2007.webservices.ObjectFactory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement