OpenESB (Glassfish-full-installer-windows2.1) で Netbeans 6.5.1 を実行しています。
外部 WSDL を呼び出すローカルWSDL ( http://www.webservicex.net/ CreditCard.asmx?WSDL )。BPEL の準備ができました
複合アプリケーションを作成すると、SOAP 呼び出しがローカル WSDL から BPEL (Consumer to Producer) に自動的にバインドされます。別の SOAP オブジェクトをドラッグ アンド ドロップし、ローカル WSDL と同じインターフェイスで構成して出力を受け取る必要がありました。呼び出しアクション (正しいですか?)。
ローカル WSDL から操作を選択してテスト ケースを実行すると、次の SoapResponse が得られます。
<SOAP-ENV:Fault>
<faultcode xmlns="">SOAP-ENV:Server</faultcode>
<faultstring xmlns="">BPCOR-6135: A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &a....Sending errors for the pending requests in the process scope before terminating the process instance</faultstring>
<faultactor xmlns="">sun-bpel-engine</faultactor>
<detail xmlns="">
<detailText>BPCOR-6135: A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &a... Sending errors for the pending requests in the process scope before terminating the process instance
Caused by: BPCOR-6131: An Error status was received while doing an invoke (partnerLink=externalBPELImplementation, portType={http://www.webservicex.net}CCCheckerSoap, operation=ValidateCardNumber)
BPCOR-6129: Line Number is 37
BPCOR-6130: Activity Name is Invoke1
Caused by: HTTP Status-Code 404: Not Found - Not Found</detailText>
</detail>
外部 WSDL をテストする別のプロジェクトを作成しましたが、期待どおりにクレジット カード番号を検証していますが、BPEL または複合アプリケーションに問題があります。
別のテスト ケースを作成し、Soap オブジェクトを Comp. アプリ。インターフェイスを設計すると、別のエラーが発生します。
Dec 24, 2012 12:54:11 AM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection call
SEVERE: SAAJ0006: Bad URL (endPoint instance of String)
java.net.MalformedURLException: no protocol:
何か案は?