2017-11-21 5 views
0

현재 Oracle BPEL에 대한 Mysql 프로 시저를 호출해야하는 유스 케이스가 있습니다. 어댑터 구성이 좋으며 구성 중에 사용 가능한 입/출력 매개 변수를 보여 주며 컴포지트가 성공적으로 배포되었습니다. 그러나 호출은 웹 서비스 호출 중에 실패합니다. 특히 SOA에서의 문제에 대한 아이디어. 웹 로직 버전은 12c &입니다. 복합 개발을 위해 jDev 11g를 사용하고 있습니다. 다음은MySQL 프로 시저를 호출하는 Oracle SOA BPEL - 매개 변수 번호 2는 out 매개 변수가 아닙니다.

The selected operation process could not be invoked. 
A fault occurred while invoking the webservice operation. The fault is : <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> 
<faultcode>env:Server</faultcode> 
<faultstring>Exception occurred when binding was invoked. 
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'getUserFirstName' failed due to: Register out parameter error. 
Error registering parameter First_Name as an out parameter. 
An error occurred when registering parameter First_Name as an out parameter of the getUserName API. Cause: java.sql.SQLException: Parameter number 2 is not an OUT parameter 
Check to ensure that the parameter is a valid IN/OUT or OUT parameter of the API. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. 
". 
The invoked JCA adapter raised a resource exception. 
Please examine the above error message carefully to determine a resolution. 
</faultstring> 
<faultactor/> 
<detail> 
<exception>Parameter number 2 is not an OUT parameter</exception> 
</detail> 
</env:Fault> 
oracle.sysman.emInternalSDK.webservices.util.SoapTestException: Client received SOAP Fault from server : Exception occurred when binding was invoked. 
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'getUserFirstName' failed due to: Register out parameter error. 
Error registering parameter First_Name as an out parameter. 
An error occurred when registering parameter First_Name as an out parameter of the getUserName API. Cause: java.sql.SQLException: Parameter number 2 is not an OUT parameter 
Check to ensure that the parameter is a valid IN/OUT or OUT parameter of the API. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. 
". 
The invoked JCA adapter raised a resource exception. 
Please examine the above error message carefully to determine a resolution. 

단계 현명한 DB 어댑터 구성은 여기 -

https://drive.google.com/open?id=1cei0OFje1dmefDn7PfBIjxW4vb81Ngez

답변

0

입니다 콜 - 웹 서비스 중에 수신 오류 메시지 나는 당신이 선택하는 동안 실수를 생각하다 및 out 매개 변수를 사용하면 데이터베이스가 예상하는 것보다 더 많은 변수를 추가했을 수 있습니다. 다음보고 가능하면 당신의 DB 어댑터 구성의 스크린 샷과 DB 테이블처럼

java.sql.SQLException: Parameter number 2 is not an OUT parameter

+0

DBAdapter 구성 마법사 추가 자세한 내용을 보내 주시기 바랍니다! – k10gaurav

+0

예, 추가 하겠지만 어댑터에서 입력 및 출력 변수를 선택하는 동안 db 이상을 선택했을 수 있습니다. DB 어댑터를 다시 확인하십시오. –

관련 문제