반환 값이 부울 인 WebMethod가 하나있는 웹 서비스가 있습니다.WebMethod가 vb.net에서 값을 반환하고 다른 메서드를 호출합니다.
XML 파일을 문자열 및 프로세스 데이터로 허용합니다. 먼저 상태를 true로 반환 한 다음 ProcessData 메서드를 호출 할 수 있습니다.
처리 데이터에 시간이 걸리므로 먼저 true를 반환하고 데이터를 처리해야합니다.
도와주세요.
[webmethod]
Public function receiveData(ByVal xmlstr as string) as boolean
dim status as boolean=false
try
if xmlstr<>"" then
ProcessData(xmlstr)
status=true
end if
catch
end try
return status
end function
당신은 절대적으로 옳습니다. 정보 주셔서 감사합니다. –