wsdl에는 2 가지 유형, 동일한 이름, 다른 경우 인 LoginResponse 및 LOGINRESPONSE가 있습니다.wsdl 자바 클래스의 케이스 감도
xfire를 사용하여 Java 클래스를 생성하는 경우 LOGINRESPONSE를 삭제하는 LoginResponse 인 클래스 하나만 생성합니다.
어떻게이 문제를 해결할 수 있습니까? WSDL에서 선언
<s:element name="LoginResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="LoginResult" type="tns:LOGINRESPONSE" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="LOGINRESPONSE">
<s:attribute name="Message" type="s:string" />
<s:attribute name="Token" type="s:string" />
<s:attribute name="DataFormat" type="s:string" />
<s:attribute name="Header" type="s:boolean" use="required" />
<s:attribute name="Suffix" type="s:boolean" use="required" />
</s:complexType>
"xfire"에서 약간의 결함이있을 수 있습니다. 하지만 완전히 다른 이름을 사용하면 같은 것을 피할 수 있습니다. – YoK