레일즈 서버로 보내려는 XML 파일이 있습니다. 나는 다음과 같은 않는 저장 버튼에 의해 트리거 기능에플렉스 응용 프로그램에서 레일스 서버로 다시 XML 파일을 작성하십시오.
<mx:HTTPService id="dataService"
result="resultHandler(event)"
resultFormat="e4x"/>
:
var params:Object = {};
params["xml_file"] = xmlDoc;
dataService.method = "POST";
dataService.url = "http://localhost:3000/containers";
dataService.send(params);
불행하게도 나타나는 문제 (아래 참조) 항상있다 이렇게하려면 다음 코드를 사용합니다. params var을 제거하면 GET 요청이 실행됩니다 ...
[RPC 오류 faultString = "HTTP 요청 오류"faultCode = "Server.Error.Request"faultDetail = "오류 : [IOErrorEvent type ="ioError " bubbles = false cancelable = false eventPhase = 2 text = "오류 # 2032 : Stream-Fehler. URL : http://localhost:3000/containers "] : URL : http://localhost:3000/containers"]
무엇이 문제 일 수 있습니까?
어떤 힌트를 주셔서 감사합니다! Markus