wso2 esb发送dss错误

时间:2017-02-04 07:21:48

标签: wso2 esb dss

我在wso2 esb中有一个代理。我使用了呼叫,我想通过呼叫将响应发送到我的outSequence。但它给了我Dss错误。我根本不使用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>

这是我的错误:

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

2 个答案:

答案 0 :(得分:0)

看起来你有一个名为ss的数据服务器,并且它以某种方式被调用。如果你不想要它,删除它。您可以从UI或文件系统中删除它。它位于repository/deployment/server/dataservices/

答案 1 :(得分:0)

我的输入中有一个空行,导致问题。

相关问题