いくつかのJavaクラスの生成中に問題が発生しています。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
ライン81のコンテンツ:
<message name="getJDBCConnectionURLOutput">
<part name="return" element="xsd:string"/>
</message>
私は前にwsimportのを使用していないと、ウェブ上の任意の同様の問題を見つけることができませんでした。これはスペルの問題ですか?
はあなたが間のすべての制御文字を持っていないよろしいですが'のxsd:string @ 81? –
これをWireSharkでチェックしましたが、正しいと思われます。[リンク](http://img217.imageshack.us/img217/5594/stringh.png) – kon
下の回答は読んでいますか? – davidfrancis