English 中文(简体)
灵活性和数×d
原标题:Flex and several xsd s

我是使用灵活办法的,并试图利用网络服务。

这一网络服务参考了科学、技术和科学研究所的若干档案。 这些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”要求,没有结果或过错。

在这里,我如何宣布网络服务:

<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>

在这里,我是如何发起:

public var request:Request

private function init():void {                      
   request = new Request("param1", "param2", "param3", "param4", "param5", "param6");
   myService.call_WebServiceOperation(request);
}

这里是处理事件的Im:

protected function resultHandler(event:ResultEvent):void
{
   // TODO Auto-generated method stub
} -> Debugging here

protected function faultHandler(event:FaultEvent):void
{
   Alert.show(event.fault.faultString);
}

Any ideas why this is?

最佳回答

我在一段时间前就解决了这一问题,尽管似乎没有人对此问题或甚至予以关注:......这里是解决办法。

正如我说过的那样,我已经建立了网上集成开发商的数据模型。

当我们创建树木数据结构时,例如:

Each element is created as an XSD file, instead of in the same xsd.

因此,我确实把每个科学、技术和科学研究所档案的所有内容抄送科学、科学和技术司。

沃伊拉公司是一家药店。

最后,如果在网络一体化开发商中,我们可以把每个要素放在同一个科学、科学、科学、科学、科学、科学、技术和科学研究所的档案中,因为我不得不直接在科学、技术和科学、科学、科学、技术和科学部的档案中作出这一改动,那将是明智的。

Hope no one comes across this problem in the future but if it does at least this is my advice...

问题回答

我继续有这个问题,并在Adobe上张贴一线。

如果有人有兴趣:

http://forums.adobe.com/thread/8043





相关问题
Disable button tooltip in AS3

I want to disable the tooltip on certain buttons. The tooltip manager seems to be an all or nothing solution. Is it possible to disable the tooltip for just one or two buttons?

Multiple Remote call made simultenously

I was making multiple remote calls and they are done sequentially and when I am getting a result event back it s triggering calls to all the methods with ResultEvent as an argument . I am supposed to ...

Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签