开发者

How to use SOAP in enyo?

开发者 https://www.devze.com 2023-03-20 19:30 出处:网络
For the last two days I have been searching for an answer to this question. Does Enyo support SOAP? If not, is there an alternative to SOAP?

For the last two days I have been searching for an answer to this question.

  1. Does Enyo support SOAP? If not, is there an alternative to SOAP?
  2. How can we call web services usi开发者_C百科ng JS?


There is no specific SOAP support in Enyo. You could likely find another JS library supporting SOAP and wrap it up in an Enyo kind.

Enyo 1.0 has a Web Service kind.
Enyo 2.0 currently just exposes an Ajax control to use instead.

If you decide to use something other than SOAP, I'd recommend the service return JSON. If you must use SOAP, you'll need to extend Enyo yourself to support it.


The preferred method is JSON Services, though you can also use XML Services...

Here is a link to how to use web services in the Enyo Framework.

Web Services in Enyo

0

精彩评论

暂无评论...
验证码 换一张
取 消