2012-12-24 7 views
3

OpenESB에서 Netbeans 6.5.1 (Glassfish-full-installer-windows2.1)을 실행 중입니다.BPEL 프로젝트를 테스트하는 동안 오류가 발생했습니다.

이 튜토리얼 (http://www.youtube.com/watch?v=a76RxkzB4Bg)은 외부 WSDL (http://www.webservicex.net/CreditCard.asmx?WSDL)을 호출하는 로컬 WSDL을 호출하여 웹 서비스를 조율하는 데 참조 자료로 사용됩니다. 내가 준비 BPEL

enter image description here

하고 만들어 내 복합 응용 프로그램을 가지고, 그것은 자동으로 BPEL (생산자에게 소비자)에 내 로컬 WSDL에서 SOAP 호출을 결합, 내가 끌어 다른 SOAP 객체를 삭제하고 구성해야했습니다 내 로컬 WSDL과 동일한 인터페이스를 사용하여 호출 액션에서 출력을받습니다 (올바른 것인가?).

enter image description here

나는 내 로컬 WSDL에서 작업을 선택 내 테스트 케이스를 실행하면, 나는 다음과 같은 SoapResponse 얻을 : 나는 외부 WSDL 및 테스트 할 수있는 분리 된 프로젝트를 만든

<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> 

을 예상대로 신용 카드 번호의 유효성을 검사하고 있습니다. BPEL 또는 복합 애플리케이션에 문제가 있습니다.

다른 테스트 케이스를 만든 다음 Soap 개체를 끌어다 놓을 때 만들어지는 로컬 포트를 선택하면됩니다. 앱. 디자인 인터페이스에서 다른 오류가 발생합니다.

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: 

아이디어가 있습니까?

답변

1

공정상의 이음새가 정확해야합니다 (첫 번째 모습).

찾을 수 없습니다 당신의 "비누가 - 찾을 수 없음 :에 의해 발생 - 활동 이름 Invoke1입니다 : HTTP 현상 코드 404

BPCOR-6130 : 그것은 당신에게 서비스를 찾을 수없는 프로세스처럼 보인다 주소 "올바른 가져온 wsdl? bpel 매핑에서 url을 오버로드하려고 시도 했습니까? (등록 정보 -> SOAP HTTP BC -> 아웃 바운드 -> UR)

CASA에 뭔가가 있습니다. "localCreditCard_WSDLPort"를 사용하고 OpenESB "casaPort1"에 노출하려는 경우 SOAP 바인딩이 반대로됩니다. 화살표는 casaPort1에서 시작하고 localCreditCard_WSDLPort에서 끝나야합니다. 나는이 당신을 도울 수있는 희망

, 자신의 제안을 바탕으로 www.open-esb.net

In fact, you've made two mistake :

  • The first one, for your unit test, you have to use the good WSDL which come from the BPEL because you've created a concrete SOAP WSDL (CreditCard_WSDL.wsdl).
  • Then, when you create a new port in your composite application for your plnk externalServiceCard_WSDL, you have to set the soap address location by right-click > properties. By default, this one is set to localhost:${HttpDefaultPort}/compositeapp/casaportX?wsdl that's why you encounter your errors (404 or bad url error).

에서 @brasseld에 따르면

사이먼

+0

답변을 주셔서 감사합니다. ap 외부 WSDL 문서의 주소, 올바른 것입니다. 또한, 내 복합 애플리케이션 서비스 어셈블리에 대해서는 설명 된대로 구성 요소를 연결할 수 없습니다. 나에게 보낼 수있는 프로젝트가 있습니까? – theMarceloR

+0

여기에서 오류가 발생합니다 ... 어떤 이유로 웹 서비스를 찾을 수 없습니다. 이유가 무엇입니까? theMarceloR

관련 문제