Netbean 6.8 で ws-import を使用して、この Java クラスの生成を試みました。パッケージ ebay.api.paypalapi でエラーが見つかったため、jax-ws を再生成したかった (エラーは、Paypal SOAP Api の wsdl ファイルによるものだと思います)。
Netbean 6.8 では生成されたソース (jax-ws) を削除できないため、www.paypal.com/wsdl/PayPalSvc.wsdl に基づいて wsdl を使用して別の ws ファイルを再作成しましたが、まだ機能していません。
この問題を修正するために何をすべきか誰かが私にアドバイスしてくれることを願っています. ありがとう。
エラーコードは次のとおりです。
20-Oct-2012 21:39:18 : Retrieving Location: http://www.paypal.com/wsdl/PayPalSvc.wsdl
Retrieved : https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl
Saved at: C:\Documents and Settings\Karen\Desktop\ShoppingCart\src\conf
\xml-resources\web-service-references\PayPalSvc\wsdl\www.paypalobjects.com\wsdl\PayPalSvc.wsdl
Retrieving Location: CoreComponentTypes.xsd
Found in document: https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl
Error: An I/O error occured. Remote host closed connection during handshake
Retrieving Location: eBLBaseComponents.xsd
Found in document: https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl
Retrieved : https://www.paypalobjects.com/wsdl/eBLBaseComponents.xsd
Saved at: C:\Documents and Settings\Karen\Desktop\ShoppingCart\src\conf \xml-resources\web-service- references\PayPalSvc\wsdl\www.paypalobjects.com\wsdl\eBLBaseComponents.xsd
Retrieving Location: EnhancedDataTypes.xsd
Found in document: https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl
Retrieved : https://www.paypalobjects.com/wsdl/EnhancedDataTypes.xsd
Saved at: C:\Documents and Settings\Karen\Desktop\ShoppingCart\src\conf\xml-resources\web-service- references\PayPalSvc\wsdl\www.paypalobjects.com\wsdl\EnhancedDataTypes.xsd
Retrieving Location: CoreComponentTypes.xsd
Found in document: https://www.paypalobjects.com/wsdl/eBLBaseComponents.xsd
Retrieved : https://www.paypalobjects.com/wsdl/CoreComponentTypes.xsd
Saved at: C:\Documents and Settings\Karen\Desktop\ShoppingCart\src\conf \xml-resources\web-service- references\PayPalSvc\wsdl\www.paypalobjects.com\wsdl\CoreComponentTypes.xsd
Retrieving Location: EnhancedDataTypes.xsd
Found in document: https://www.paypalobjects.com/wsdl/eBLBaseComponents.xsd
File name already exists with the same content length. Ignoring the file.:
Retrieving Location: EnhancedDataTypes.xsd
Found in document: https://www.paypalobjects.com/wsdl/eBLBaseComponents.xsd
Retrieving Location: eBLBaseComponents.xsd
Found in document: https://www.paypalobjects.com/wsdl/CoreComponentTypes.xsd
File name already exists with the same content length. Ignoring the file.:
Retrieving Location: eBLBaseComponents.xsd
Found in document: https://www.paypalobjects.com/wsdl/CoreComponentTypes.xsd`