2017-02-04 17 views
1

wso2 esb 내부에 프록시가 있습니다. 내가 전화를 사용하고 전화를 통해 응답을 내 outSequence에 보내려고합니다. 하지만 그것은 나에게 Dss 오류를 준다. 나는 dss를 전혀 사용하지 않는다. 누구든지이 오류가 발생하는 이유와이를 해결할 수있는 이유를 말할 수 있습니까? 이 내 프록시 코드 :wso2 esb dss 오류 전송

<proxy xmlns="http://ws.apache.org/ns/synapse" 
    name="FinaltestProxy" 
    startOnLoad="true" 
    statistics="disable" 
    trace="enable" 
    transports="https,http,vfs"> 
<target> 
    <inSequence> 
     <input type="text"/> 
     <output type="xml"/> 
    </smooks> 
    <iterate attachPath="//csv-set" 
       continueParent="true" 
       expression="//csv-set/search" 
       preservePayload="true" 
       sequential="true"> 
     <target> 
      <sequence> 
       <call> 
       <endpoint> 
        <address format="soap11" 
          uri="MyEndpoint"/> 
       </endpoint> 
       </call> 
       <respond/> 
      </sequence> 
     </target> 
    </iterate> 
    </inSequence> 
    <outSequence> 
    <property name="OUT_ONLY" value="true"/> 
    <aggregate> 
     <completeCondition> 
      <messageCount max="100000" min="0"/> 
     </completeCondition> 
     <onComplete xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope" 
        expression="//Guest"> 
      <log level="full"/> 
      <send> 
       <endpoint name="FileEpr"> 
       <address format="soap11" 
          uri="MyEndpoint"/> 
       <property name="ContentType" scope="axis2" value="text/xml"/> 
       </endpoint> 
      </send> 
     </onComplete> 
    </aggregate> 
    </outSequence> 
</target> 
/* some code*/ 
</proxy> 

이 내 오류입니다 : 당신이 ss라는 DataService의이 같은

DS Code: DATABASE_ERROR 
Nested Exception:- 
javax.xml.stream.XMLStreamException: DS Fault Message: Error in 'SQLQuery.processNormalQuery' 
DS Code: DATABASE_ERROR 
Source Data Service:- 
Name: GuestIdentityService 
Location: /ss.dbs 
Description: N/A 
Default Namespace: http://soa.ut.ac.ir/GuestIdentityService 
Current Request Name: searchGuestIdentity 
Current Params: {ID=} 
Nested Exception:- 
java.lang.NumberFormatException: For input string: "" 

답변

0

입력란에 빈 줄이있어서 문제가 발생합니다.

0

이 같은데, 그것은 어떻게 든 호출되고 있어요. 원하지 않으면 제거하십시오. UI 또는 파일 시스템에서 제거 할 수 있습니다. 해당 위치는 repository/deployment/server/dataservices/

+0

답장을 보내 주셔서 감사합니다. 그러나 위치를 확인할 때 dataservices를 볼 수없고 ss.dbs도 전혀 없습니다. –

+0

자동차 파일을 설치 했습니까? – Bee

+0

아니요 자동차 파일을 설치하지 않았습니다. –