일부 Java 클래스를 생성하는 동안 문제가 발생합니다. 라인 81에서 다음 내용java wsimport string
C:\Users\kon\Desktop>wsimport -keep -verbose -extension -d generated http://XXXXXXWebServicesPort?wsdl
parsing WSDL...
[INFO] Trying to read authorization file : "C:\Users\kon\.metro\auth"...
[ERROR] Schema descriptor {http://www.w3.org/2001/XMLSchema}string in message part "return" is not defined and could not be bound to Java. Perhaps the schema descriptor {http://www.w3.org/2001/XMLSche
ma}string is not defined in the schema imported/included in the WSDL. You can either add such imports/includes or run wsimport and provide the schema location using -b switch.
line 81 of http://XXXXXXWebServicesPort?wsdl
: 전에 wsimport를 사용하지 않은 웹에 유사한 문제를 찾을 수 없습니다
<message name="getJDBCConnectionURLOutput">
<part name="return" element="xsd:string"/>
</message>
. 이 문제가 맞춤법 문제입니까?
당신에게 당신이 사이에 제어 문자가없는 확신 ':'아마 WSDL 스펙이 정보가 도움이 될 것입니다와의 '의 xsd : string @ 81? –
나는 이것을 WireShark로 확인했으나 정확함에 틀림 없다. [link] (http://img217.imageshack.us/img217/5594/stringh.png) – kon
내 대답을 읽었습니까? – davidfrancis