以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XML基础 』 (http://bbs.xml.org.cn/list.asp?boardid=1) ---- 求助 (http://bbs.xml.org.cn/dispbbs.asp?boardid=1&rootid=&id=5464) |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 4:22:00 PM -- 求助 用的工具是XMLSPY5,给出服务器端程序,要求完成客户端程序编写.大家看下我的问题在哪? Server代码如下: <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:Jchry_Admin/wsdl" xmlns:ns2="urn:Jchry_Admin/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="urn:Jchry_Admin/wsdl" name="Jchry_Admin"> <types> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:Jchry_Admin/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="urn:Jchry_Admin/types"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOfJchdw"> <complexContent> <restriction base="soap-enc:Array"> <attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:Jchdw[]"/> </restriction> </complexContent> </complexType> <complexType name="Jchdw"> <sequence> <element name="dzh" type="string"/> <element name="dh" type="string"/> <element name="mch" type="string"/> <element name="fr" type="string"/> <element name="id" type="int"/> </sequence> </complexType> <complexType name="ArrayOfJchry"> <complexContent> <restriction base="soap-enc:Array"> <attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:Jchry[]"/> </restriction> </complexContent> </complexType> <complexType name="Jchry"> <sequence> <element name="user_name" type="string"/> <element name="xm" type="string"/> <element name="dw" type="int"/> <element name="jchzg" type="tns:ArrayOfstring"/> <element name="id" type="int"/> </sequence> </complexType> <complexType name="ArrayOfstring"> <complexContent> <restriction base="soap-enc:Array"> <attribute ref="soap-enc:arrayType" wsdl:arrayType="string[]"/> </restriction> </complexContent> </complexType> <complexType name="ArrayOfint"> <complexContent> <restriction base="soap-enc:Array"> <attribute ref="soap-enc:arrayType" wsdl:arrayType="int[]"/> </restriction> </complexContent> </complexType> </schema> </types> <message name="Jchry_AdminRPC_listJchdws"> <part name="int_1" type="xsd:int"/> <part name="int_2" type="xsd:int"/> </message> <message name="Jchry_AdminRPC_listJchdwsResponse"> <part name="result" type="ns2:ArrayOfJchdw"/> </message> <message name="Jchry_AdminRPC_getJchdw"> <part name="int_1" type="xsd:int"/> </message> <message name="Jchry_AdminRPC_getJchdwResponse"> <part name="result" type="ns2:Jchdw"/> </message> <message name="Jchry_AdminRPC_addJchrys"> <part name="arrayOfJchry_1" type="ns2:ArrayOfJchry"/> </message> <message name="Jchry_AdminRPC_addJchrysResponse"/> <message name="Jchry_AdminRPC_delJchrys"> <part name="arrayOfint_1" type="ns2:ArrayOfint"/> </message> <message name="Jchry_AdminRPC_delJchrysResponse"/> <message name="Jchry_AdminRPC_modJchrys"> <part name="arrayOfJchry_1" type="ns2:ArrayOfJchry"/> </message> <message name="Jchry_AdminRPC_modJchrysResponse"/> <message name="Jchry_AdminRPC_listJchrys"> <part name="int_1" type="xsd:int"/> <part name="int_2" type="xsd:int"/> </message> <message name="Jchry_AdminRPC_listJchrysResponse"> <part name="result" type="ns2:ArrayOfJchry"/> </message> <message name="Jchry_AdminRPC_getJchry"> <part name="int_1" type="xsd:int"/> </message> <message name="Jchry_AdminRPC_getJchryResponse"> <part name="result" type="ns2:Jchry"/> </message> <portType name="Jchry_AdminRPC"> <operation name="listJchdws" parameterOrder="int_1 int_2"> <input message="tns:Jchry_AdminRPC_listJchdws"/> <output message="tns:Jchry_AdminRPC_listJchdwsResponse"/> </operation> <operation name="getJchdw" parameterOrder="int_1"> <input message="tns:Jchry_AdminRPC_getJchdw"/> <output message="tns:Jchry_AdminRPC_getJchdwResponse"/> </operation> <operation name="addJchrys" parameterOrder="arrayOfJchry_1"> <input message="tns:Jchry_AdminRPC_addJchrys"/> <output message="tns:Jchry_AdminRPC_addJchrysResponse"/> </operation> <operation name="delJchrys" parameterOrder="arrayOfint_1"> <input message="tns:Jchry_AdminRPC_delJchrys"/> <output message="tns:Jchry_AdminRPC_delJchrysResponse"/> </operation> <operation name="modJchrys" parameterOrder="arrayOfJchry_1"> <input message="tns:Jchry_AdminRPC_modJchrys"/> <output message="tns:Jchry_AdminRPC_modJchrysResponse"/> </operation> <operation name="listJchrys" parameterOrder="int_1 int_2"> <input message="tns:Jchry_AdminRPC_listJchrys"/> <output message="tns:Jchry_AdminRPC_listJchrysResponse"/> </operation> <operation name="getJchry" parameterOrder="int_1"> <input message="tns:Jchry_AdminRPC_getJchry"/> <output message="tns:Jchry_AdminRPC_getJchryResponse"/> </operation> </portType> <binding name="Jchry_AdminRPCBinding" type="tns:Jchry_AdminRPC"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="listJchdws"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> <operation name="getJchdw"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> <operation name="addJchrys"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> <operation name="delJchrys"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> <operation name="modJchrys"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> <operation name="listJchrys"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> <operation name="getJchry"> <input> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </input> <output> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Jchry_Admin/wsdl"/> </output> <soap:operation/> </operation> </binding> <service name="Jchry_Admin"> <port name="Jchry_AdminRPCPort" binding="tns:Jchry_AdminRPCBinding"> <soap:address location="http://fserver:8080/dws/Jchry/Jchry_Admin" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/> </port> </service> </definitions> |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 4:24:00 PM -- 我写的client端程序如下,大家看看有错吗? <?xml version="1.0" encoding="GB2312"?> |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 4:25:00 PM -- 实现的只是基本的功能.................. |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 4:27:00 PM -- ![]() ![]() 显示效果 |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 4:33:00 PM -- 点击提交后的出错信息如下 ![]() ![]() |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 4:38:00 PM -- 图片看不清,点击放大即可 |
-- 作者:阿星[aXing] -- 发布时间:2/25/2004 5:23:00 PM -- 高手快来啊 |
-- 作者:阿星[aXing] -- 发布时间:2/26/2004 8:46:00 AM -- up |
-- 作者:阿星[aXing] -- 发布时间:2/26/2004 3:45:00 PM -- 小友帮我看看 |
-- 作者:阿星[aXing] -- 发布时间:2/26/2004 3:55:00 PM -- 没人来救我............... |
-- 作者:阿星[aXing] -- 发布时间:2/26/2004 3:55:00 PM --
![]() ![]() ![]() ![]() ![]() ![]() |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
218.750ms |