问题标签 [worklight-waf]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
235 浏览

soap - 解析 WSDL 时出错 - Worklight 6.1 - 后端发现服务

在测试 WL6.1 中用于 Web 服务 (SOAP) 连接的新后端发现功能时,我们发现从 WSDL 解析中导入错误的过程。特别是,对于由 SOAP 服务器提供并在相关 WSDL 中公开的每个过程,后端发现服务仅发现一个输入/输出参数,尽管这些过程由多个输入参数组成。问题似乎是对与 SOAP 服务器关联的 WSDL 的误解。

谢谢,

这里是 WSDL:

https://dl.dropboxusercontent.com/u/15425546/Ws_StoreSurfer.xml

0 投票
1 回答
182 浏览

web-services - Worklight Application Framework Data Object from Service WSDL errors

Using Worklight V6.1 I wanted to try out the new Worklight Application Framework Editor.

My service is a SOAP Webservice and I have the WSDL for the service. I select the Service type of WSDL and add the wsdl file (Copied into the source code window at the bottom of this post) to the dialog.

Then I get my first error saying:

Despite this error it seems I can continue to unwrap the details view to show the Input variables, but what the main problem is - there is no Output variables detected. This means if I was following the guide:

http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/09_09_Creating_an_application_with_IBM_Worklight_Application_Framework.pdf

When it comes to binding GUI objects to service objects I have no response variables to draw lines between - which means I cannot follow it through to the end.

Please can you advise what is wrong with my WSDL which means that the schema cannot be found - and why Output variables are not detected within the wizard. If we can manually alter the WSDL to make it work - then I would also be interested in what these alterations would be.

The WSDL xml is as follows:

0 投票
1 回答
943 浏览

ibm-mobilefirst - IBM Worklight - “无法处理没有有效动作参数的请求。请提供有效的肥皂动作”

在使用 Worklight Application Framework 编辑器测试由“从服务创建数据对象”生成的 HTTP 适配器过程代码时,它会生成以下错误:

无法处理没有有效操作参数的请求。请提供有效的肥皂动作。

这是 Web 服务 URL:http ://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

过程调用结果: