小编use*_*396的帖子

将wsdl文件制作成java时缺少"soap:fault"元素异常

她有//路径/ a/wsdl文件,我正在努力生成webservices客户端程序,但是当我们添加文件时,它显示以下错误

示例wsdl: wsdl:definitions targetNamespace ="http://xyz.com/"xmlns:tns ="http://xyz.com/"xmlns:cmn ="http://xyz.com/Common/"xmlns: wsdl ="http://schemas.xmlsoap.org/wsdl/"xmlns:xsd ="http://www.w3.org/2001/XMLSchema"xmlns:soap ="http://schemas.xmlsoap.org/ wsdl/soap /"xmlns:soap12 ="http://schemas.xmlsoap.org/wsdl/soap12/"xmlns:xmime ="http://www.w3.org/2005/05/xmlmime">

        <s:element name="GetPublisherRevenueCSV">
            <s:complexType>
                <s:sequence>
                    <s:element minOccurs="1" maxOccurs="1" name="name" type="s:string" />
                    <s:element minOccurs="1" maxOccurs="1" name="pwd" type="s:string" />
                    <s:element minOccurs="1" maxOccurs="1" name="operatorId" type="s:int" />
                    <s:element minOccurs="1" maxOccurs="1" name="criteria" type="tns:PublisherRevenueCriteria" />
                </s:sequence>
            </s:complexType>
        </s:element>

        <s:element name="GetPublisherRevenueCSVResponse">
            <s:complexType>
                <s:sequence>
                    <s:element minOccurs="0" name="CSVFile" type="tns:CSVFile" />
                </s:sequence>
            </s:complexType>
        </s:element>

        <s:complexType name="CSVFile">
            <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="File" type="s:hexBinary"
                    xmime:expectedContentTypes="text/plain" />
            </s:sequence>
        </s:complexType>


        <s:complexType name="PublisherRevenueCriteria">
            <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="publisherId" type="s:int" /> …
Run Code Online (Sandbox Code Playgroud)

java axis soap web-services

-3
推荐指数
1
解决办法
8034
查看次数

标签 统计

axis ×1

java ×1

soap ×1

web-services ×1