나는 플렉스를 사용하고 있으며 웹 서비스에 액세스하려고합니다.플렉스 및 여러 xsd의
웹 서비스가 여러 개의 XSD 파일을 참조합니다. 여기
는 난 방법은 .... 구조체 XSD의 요청 수천가 어떠한 결과 나 오류 이벤트가 없습니다<call.xsd>
<input.xsd>
</input.xsd>
<output.xsd>
<struct1.xsd>
</struct1.xsd>
<struct2.xsd>
</struct2.xsd>
<struct3.xsd>
</struct3.xsd>
</output.xsd>
</call.xsd>
네트워크 모니터에 : 그 XSD 파일이 "순서"에 따라 웹 서비스 declariong : 여기
<s:WebService id="myService" wsdl="http://localhost:9080/Path/WebServiceName.wsdl"
concurrency="single">
<s:operation name="call_WebServiceOperation" result="resultHandler(event)"
fault="faultHandler(event)" resultFormat="object" />
</s:WebService>
을 어떻게 I'me 그것을 시작 :
public var request:Request
private function init():void {
request = new Request("param1", "param2", "param3", "param4", "param5", "param6");
myService.call_WebServiceOperation(request);
}
그리고 그녀를 e 's jow 이벤트를 처리하고 있습니다 :
protected function resultHandler(event:ResultEvent):void
{
// TODO Auto-generated method stub
} -> Debugging here
protected function faultHandler(event:FaultEvent):void
{
Alert.show(event.fault.faultString);
}
왜 이런 생각입니까?
는 웹 서비스가 당신이 제대로 결과/오류 핸들러를 설정 확신>? 아무것도 반환합니까 ... 아무도 미래에이 문제에 걸쳐 온다지만 않는 경우 적어도이 내 조언을 희망 ? Flex 코드를 보여줘야한다고 생각합니다. – JeffryHouser
플렉스에서 사용하고있는 코드로 내 게시물을 업데이트했습니다. – RedEagle
웹 서비스는 Java 기반이며 리턴하고 DataObject를 수신합니다 ... 문제 일 수 있습니까? – RedEagle