Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

웹 메서드를 호출했을 때의 오류 유형입니다.

정확한 메서드는 다음과 같습니다.

"Client found response content type of 'text/html'; charset=utf-8', but expected 'text/xml'.
The request failed with the error message"

위와 같은 메시지와 함께, <html><head> ....를 잇는 HTML 오류 페이지 소스가 함께 출력됩니다.

오류 화면

오류 메시지가 나온 유형은 사실 별 거 아닙니다. 웹 메서드 프록시 클래스가 호출을 하였으나, XML 텍스트가 오지 않고 그 이외의 응답이 온 것입니다.

실제로, 위와 같은 오류가 난 경우는, 웹 서비스 대상 URL을 잘못 지정할 때였습니다. 물론, 그 이외에도 상황은 많습니다.

음... 써놓고 보니 별건 아닌데, 개발자 두분이 서로 각기 다른 "잘못된 코드 또는 환경 설정"으로 위의 에러를 경험하고는 헤쳐나가지 못하고 있었습니다. 침착하게... 잘 보시면, ^^ 오류는 금방 눈에 띕니다.

그나마, 같이 있는 개발자에게서 나온 문제였으니 잘못을 지적해 주었지만, 원격에서 이런 오류 유형을 보고한다면, 뭐라해야 할지 막막하네요. ^^






[최초 등록일: ]
[최종 수정일: 6/11/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 121  122  123  124  125  126  127  128  129  130  131  132  133  [134]  135  ...
NoWriterDateCnt.TitleFile(s)
1797정성태11/4/201421137오류 유형: 255. 이벤트 로그 - The Adobe Flash Player Update Service service entered the stopped state.
1796정성태10/30/201428515개발 환경 구성: 249. Visual Studio 2013에서 Mono 컴파일하는 방법
1795정성태10/29/201430251개발 환경 구성: 248. Lync 2013 서버 설치 방법
1794정성태10/29/201425921개발 환경 구성: 247. "Microsoft Office 365 Enterprise E3" 서비스에 대한 간략 소개
1793정성태10/27/201426923.NET Framework: 474. C# - chromiumembedded 사용 - 두 번째 이야기 [2]파일 다운로드1
1792정성태10/27/201427079.NET Framework: 473. WebClient 객체에 쿠키(Cookie)를 사용하는 방법
1791정성태10/22/201426535VC++: 83. G++ - 템플릿 클래스의 iterator 코드 사용에서 발생하는 컴파일 오류 [5]
1790정성태10/22/201421242오류 유형: 254. NETLOGON Service is paused on [... AD Server...]
1789정성태10/22/201425133오류 유형: 253. 이벤트 로그 - The client-side extension could not remove user policy settings for '...'
1788정성태10/22/201426432VC++: 82. COM 프로그래밍에서 HRESULT 타입의 S_FALSE는 실패일까요? 성공일까요? [2]
1787정성태10/22/201435209오류 유형: 252. COM 개체 등록시 0x8002801C 오류가 발생한다면?
1786정성태10/22/201436624디버깅 기술: 65. 프로세스 비정상 종료 시 "Debug Diagnostic Tool"를 이용해 덤프를 남기는 방법 [3]파일 다운로드1
1785정성태10/22/201425994오류 유형: 251. 이벤트 로그 - Load control template file /_controltemplates/TaxonomyPicker.ascx failed [1]
1784정성태10/22/201432825.NET Framework: 472. C/C++과 C# 사이의 메모리 할당/해제 방법파일 다운로드1
1783정성태10/21/201426798VC++: 81. 프로그래밍에서 borrowing의 개념
1782정성태10/21/201423824오류 유형: 250. 이벤트 로그 - Application Server job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance
1781정성태10/21/201424881디버깅 기술: 64. new/delete의 짝이 맞는 경우에도 메모리 누수가 발생한다면?
1780정성태10/15/201428481오류 유형: 249. The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
1779정성태10/15/201423618오류 유형: 248. Active Directory에서 OU가 지워지지 않는 경우
1778정성태10/10/201422047오류 유형: 247. The Netlogon service could not create server share C:\Windows\SYSVOL\sysvol\[도메인명]\SCRIPTS.
1777정성태10/10/201425029오류 유형: 246. The processing of Group Policy failed. Windows attempted to read the file \\[도메인]\sysvol\[도메인]\Policies\{...GUID...}\gpt.ini
1776정성태10/10/201421854오류 유형: 245. 이벤트 로그 - Name resolution for the name _ldap._tcp.dc._msdcs.[도메인명]. timed out after none of the configured DNS servers responded.
1775정성태10/9/201423432오류 유형: 244. Visual Studio 디버깅 (2) - Unable to break execution. This process is not currently executing the type of code that you selected to debug.
1774정성태10/9/201429889개발 환경 구성: 246. IIS 작업자 프로세스의 20분 자동 재생(Recycle)을 끄는 방법
1773정성태10/8/201433435.NET Framework: 471. 웹 브라우저로 다운로드가 되는 파일을 왜 C# 코드로 하면 안되는 걸까요? [1]
1772정성태10/3/201422299.NET Framework: 470. C# 3.0의 기본 인자(default parameter)가 .NET 1.1/2.0에서도 실행될까? [3]
... 121  122  123  124  125  126  127  128  129  130  131  132  133  [134]  135  ...