使用OpenESB(GlassFish-full-installer-windows2.1)運行Netbeans 6.5.1。 (測試BPEL項目時出錯
我正在使用本教程(http://www.youtube.com/watch?v=a76RxkzB4Bg)作爲通過調用調用外部WSDL(http://www.webservicex.net/CreditCard.asmx?WSDL)的本地WSDL來編排Web服務的參考。我有我的BPEL準備
和我創建複合應用程序,它會自動綁定從我的本地WSDL的BPEL(消費者到生產者)SOAP調用,我不得不拖放另一個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:
有什麼想法嗎?
感謝您的回答,我已經仔細檢查過了ap在外部WSDL文檔中的地址,它是正確的。另外,關於我的複合應用程序服務程序集,我無法按照您所描述的方式連接組件。你有一個可以寄給我的工作項目嗎? – theMarceloR
它在這裏失敗......它出於某種原因找不到Web服務,爲什麼? –
theMarceloR