2013-07-11 2 views
0

WSO2에 요청 매개 변수에 쿼리를 전달할 수 있습니다 : 나는 내가 좋아하는 DSS에서 쿼리를 작성했습니다 DSS

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:person="http://tempuri.org"> 
    <soapenv:Header/> 
    <soapenv:Body> 
     <person:GetPersonData> 
     <person:ID>select distinct ID from person</person:ID> 
     </person:GetPersonData> 
    </soapenv:Body> 
</soapenv:Envelope> 

지금 요청에 내가 쿼리를 전달하고, 그러나 위의 요청은 나에게 어떤 응답을 제공하지 않습니다,하지만 난

select ID,Name,Age,Address from person where ID in (select distinct ID from person) 
즉, 위의 쿼리를 실행할 때

MYSQL의 쿼리 브라우저에서 응답을받습니다. 그럼 내 질문은 어떻게 서비스의 입력 매개 변수에 쿼리를 전달할 수 있습니다. 답변을 기다리십시오. 미리 감사드립니다.

답변

관련 문제