使用Worklight V6.1我想试用新的Worklight应用程序框架编辑器。
我的服务是SOAP Web服务,我有服务的WSDL。我选择了WSDL的服务类型,并将wsdl文件(复制到本文底部的源代码窗口中)添加到对话框中。
然后我得到第一个错误说:
Could not find element definition within schema for :{http://www.DFH0XCMN.DFH0XCP4.Response.com} DFH0XCMNOperationResponse
尽管有这个错误,但似乎我可以继续打开详细信息视图以显示输入变量,但主要问题是什么 - 没有检测到输出变量。这意味着如果我遵循指南:
当涉及到将GUI对象绑定到服务对象时,我没有用于在它们之间绘制线条的响应变量 - 这意味着我无法完成它直到最后。
请问您能告诉我的WSDL有什么问题,这意味着无法找到架构 - 以及为什么在向导中未检测到输出变量。如果我们可以手动更改WSDL以使其工作 - 那么我也会对这些改动感兴趣。
WSDL xml如下:
<?xml version="1.0" ?>
<!--
<copyright
notice="cics-lm-source-program"
pids="5655-Y04"
years="2009,2013"
crc="3891213381" >
Licensed Materials - Property of IBM
5655-Y04
(C) Copyright IBM Corp. 2009, 2013 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with
IBM Corp.
@{[**]copyright.years=2009, 2013}
</copyright>
-->
<definitions targetNamespace="http://www.DFH0XCMN.DFH0XCP4.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:reqns="http://www.DFH0XCMN.DFH0XCP4.Request.com" xmlns:resns="http://www.DFH0XCMN.DFH0XCP4.Response.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.DFH0XCMN.DFH0XCP4.com">
<types>
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.DFH0XCMN.DFH0XCP4.Request.com" xmlns:tns="http://www.DFH0XCMN.DFH0XCP4.Request.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType abstract="false" block="#all" final="#all" mixed="false" name="ProgramInterface">
<xsd:annotation>
<xsd:documentation source="http://www.ibm.com/software/htp/cics/annotations">This schema was generated for use with CICS.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ca_request_id" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:40 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_return_code" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:40 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="99"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_response_message" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:40 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="79"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_inquire_single" nillable="false">
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element name="ca_item_ref_req" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:41 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="9999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="filler1" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:41 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="filler2" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:41 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="3"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_single_item" nillable="false">
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element name="ca_sngl_item_ref" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:42 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="9999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_sngl_description" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:43 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="40"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_sngl_department" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:45 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_sngl_cost" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:46 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="in_sngl_stock" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:48 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="9999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="on_sngl_order" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:50 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="DFH0XCMNOperation" nillable="false" type="tns:ProgramInterface"/>
</xsd:schema>
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.DFH0XCMN.DFH0XCP4.Response.com" xmlns:tns="http://www.DFH0XCMN.DFH0XCP4.Response.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType abstract="false" block="#all" final="#all" mixed="false" name="ProgramInterface">
<xsd:annotation>
<xsd:documentation source="http://www.ibm.com/software/htp/cics/annotations">This schema was generated for use with CICS.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ca_request_id" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:58 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_return_code" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:58 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="99"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_response_message" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:58 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="79"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_inquire_single" nillable="false">
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element name="ca_item_ref_req" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:58 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="9999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="filler1" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:58 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="filler2" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:58 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="3"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_single_item" nillable="false">
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element name="ca_sngl_item_ref" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:59 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="9999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_sngl_description" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:59 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="40"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_sngl_department" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:27:59 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ca_sngl_cost" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:28:00 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="in_sngl_stock" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:28:00 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="9999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="on_sngl_order" nillable="false">
<xsd:simpleType>
<xsd:annotation>
<xsd:appinfo source="http://www.ibm.com/software/htp/cics/annotations">#Wed Sep 14 08:28:01 BST 2005
com.ibm.cics.wsdl.properties.synchronized=false
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="999"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="DFH0XCMNOperationResponse" nillable="false" type="tns:ProgramInterface"/>
</xsd:schema>
</types>
<message name="DFH0XCMNOperationResponse">
<part element="resns:DFH0XCMNOperationResponse" name="ResponsePart"/>
</message>
<message name="DFH0XCMNOperationRequest">
<part element="reqns:DFH0XCMNOperation" name="RequestPart"/>
</message>
<portType name="DFH0XCMNPort">
<operation name="DFH0XCMNOperation">
<input message="tns:DFH0XCMNOperationRequest" name="DFH0XCMNOperationRequest"/>
<output message="tns:DFH0XCMNOperationResponse" name="DFH0XCMNOperationResponse"/>
</operation>
</portType>
<binding name="DFH0XCMNHTTPSoapBinding" type="tns:DFH0XCMNPort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="DFH0XCMNOperation">
<soap:operation soapAction="" style="document"/>
<input name="DFH0XCMNOperationRequest">
<soap:body parts="RequestPart" use="literal"/>
</input>
<output name="DFH0XCMNOperationResponse">
<soap:body parts="ResponsePart" use="literal"/>
</output>
</operation>
</binding>
<service name="DFH0XCMNService">
<port binding="tns:DFH0XCMNHTTPSoapBinding" name="DFH0XCMNPort">
<soap:address location="http://my-server:my-port/exampleApp/inquireSingle"/>
</port>
</service>
</definitions>
答案 0 :(得分:2)
似乎WL v6.1确实存在多个嵌入式模式的问题,并且只显示一个过程的输入。未显示过程的输出,因为它是由第二个嵌入式模式定义的。
使用您的WSDL和更新版本的WL(尚未发布)解决并测试了此问题。因此,您将在Worklight Studio的下一次更新中解决它。
如果您是IBM业务合作伙伴或客户,您可以打开PMR并请求间歇性的iFix。