0

JAX-WS 2.1 を使用するように Web サービスをアップグレードしています。現在の Web サービスは Java ファーストで生成され、Axis1 を使用して WSDL を自動生成します。

これで、この自動生成された WSDL ができたので、そこから JAX-WS 準拠の Java コードを生成する必要があります。

正常に動作するはずの Axis2 の Wsdl2java を使用していますが、WSDL で実行しようとすると、複数のエラーが発生し、生成された WSDL が実際には適切な形式ではないことが示されます。

WSDL と xml-namespace にあまり詳しくないので、デバッグが難しいと思います。誰かここで手を貸してくれませんか?

現在、このエラーで立ち往生しています:

"[INFO] org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the name AdbRuleException with namespace http://exception.common.adb.mycompany.com"

誰かが私がどこから始めることができるか考えているなら、私はとても幸せです! ありがとう!:)

これは XML です。

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions 
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://webservice.adb.mycompany.com"  
    xmlns:intf="http://webservice.adb.mycompany.com" 
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
    xmlns:tns1="http://exception.common.adb.mycompany.com" 
    xmlns:tns2="http://exception.xml.adb.mycompany.com" 
    xmlns:tns3="http://sax.xml.org" xmlns:tns4="http://lang.java" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    targetNamespace="http://webservice.adb.mycompany.com">
<!--WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)-->
<wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://webservice.adb.mycompany.com">
        <import namespace="http://exception.common.adb.mycompany.com"/>
        <import namespace="http://lang.java"/>
        <import namespace="http://xml.apache.org/xml-soap"/>
        <import namespace="http://exception.xml.adb.mycompany.com"/>
        <import namespace="http://sax.xml.org"/>
        <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
        <complexType name="AdConnexionException">
            <sequence/>
        </complexType>
        <complexType name="ArrayOf_soapenc_string">
            <complexContent>
                <restriction base="soapenc:Array">
                    <attribute ref="soapenc:arrayType" wsdl:arrayType="soapenc:string[]"/>
                </restriction>
            </complexContent>
        </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.apache.org/xml-soap">
        <import namespace="http://webservice.adb.mycompany.com"/>
        <import namespace="http://exception.common.adb.mycompany.com"/>
        <import namespace="http://lang.java"/>
        <import namespace="http://exception.xml.adb.mycompany.com"/>
        <import namespace="http://sax.xml.org"/>
        <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
        <complexType name="mapItem">
            <sequence>
                <element name="key" nillable="true" type="xsd:anyType"/>
                <element name="value" nillable="true" type="xsd:anyType"/>
            </sequence>
        </complexType>
        <complexType name="Map">
            <sequence>
                <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/>
            </sequence>
        </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://exception.common.adb.mycompany.com">
        <import namespace="http://webservice.adb.mycompany.com"/>
        <import namespace="http://lang.java"/>
        <import namespace="http://xml.apache.org/xml-soap"/>
        <import namespace="http://exception.xml.adb.mycompany.com"/>
        <import namespace="http://sax.xml.org"/>
        <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
        <complexType name="AdbRuleException">
            <sequence>
                <element name="errorKey" nillable="true" type="soapenc:int"/>
                <element name="errorMessage" nillable="true" type="soapenc:string"/>
                <element name="exceptionKeyMap" nillable="true" type="apachesoap:Map"/>
            </sequence>
        </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sax.xml.org">
        <import namespace="http://webservice.adb.mycompany.com"/>
        <import namespace="http://exception.common.adb.mycompany.com"/>
        <import namespace="http://lang.java"/>
        <import namespace="http://xml.apache.org/xml-soap"/>
        <import namespace="http://exception.xml.adb.mycompany.com"/>
        <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
        <complexType name="SAXException">
            <sequence>
                <element name="cause" nillable="true" type="xsd:anyType"/>
                <element name="exception" nillable="true" type="xsd:anyType"/>
                <element name="message" nillable="true" type="soapenc:string"/>
            </sequence>
        </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://exception.xml.adb.mycompany.com">
        <import namespace="http://webservice.adb.mycompany.com"/>
        <import namespace="http://exception.common.adb.mycompany.com"/>
        <import namespace="http://lang.java"/>
        <import namespace="http://xml.apache.org/xml-soap"/>
        <import namespace="http://sax.xml.org"/>
        <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
        <complexType name="AdConnexionRuleException">
            <complexContent>
                <extension base="tns3:SAXException">
                    <sequence/>
                </extension>
            </complexContent>
        </complexType>
    </schema>
</wsdl:types>

<wsdl:message name="getDeadlineExceptionsByMarketIdResponse">
   <wsdl:part name="getDeadlineExceptionsByMarketIdReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getDeadlinesResponse">
    <wsdl:part name="getDeadlinesReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getOrderStatusResponse">
    <wsdl:part name="getOrderStatusReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getStatusResponse">
    <wsdl:part name="getStatusReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="AdbRuleException">
    <wsdl:part name="fault" element="tns1:AdbRuleException"/>
</wsdl:message>
<wsdl:message name="requestResponse">
    <wsdl:part name="requestReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getDeadlinesByMarketIdResponse">
    <wsdl:part name="getDeadlinesByMarketIdReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="cancelOrderRequest">
    <wsdl:part name="in0" type="soapenc:int"/>
</wsdl:message>
<wsdl:message name="AdConnexionException">
    <wsdl:part name="fault" element="impl:AdConnexionException"/>
</wsdl:message>
<wsdl:message name="getDeadlinesByMarketIdRequest">
    <wsdl:part name="in0" type="soapenc:int"/>
</wsdl:message>
<wsdl:message name="getProductsByMarketIdRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getPackageInfoRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
    <wsdl:part name="in1" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="cancelOrderResponse">
    <wsdl:part name="cancelOrderReturn" type="xsd:boolean"/>
</wsdl:message>
<wsdl:message name="getDeadlinesRequest">
    <wsdl:part name="in0" type="soapenc:int"/>
</wsdl:message>
<wsdl:message name="getRealEstatePlacementsResponse">
    <wsdl:part name="getRealEstatePlacementsReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getStatusRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
    <wsdl:part name="in1" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getRealEstatePlacementsRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="helloWorldResponse">
    <wsdl:part name="helloWorldReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getOrderStatusRequest">
    <wsdl:part name="in0" type="soapenc:int"/>
</wsdl:message>
<wsdl:message name="getProductsByMarketIdResponse">
    <wsdl:part name="getProductsByMarketIdReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getPlacementsResponse">
    <wsdl:part name="getPlacementsReturn" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="AdConnexionRuleException">
    <wsdl:part name="fault" element="tns2:AdConnexionRuleException"/>
</wsdl:message>
<wsdl:message name="helloWorldRequest">
</wsdl:message>
<wsdl:message name="getDeadlineExceptionsByMarketIdRequest">
    <wsdl:part name="in0" type="soapenc:int"/>
</wsdl:message>
<wsdl:message name="requestRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getPlacementsRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
    <wsdl:part name="in1" type="impl:ArrayOf_soapenc_string"/>
</wsdl:message>
<wsdl:message name="getPackageInfoResponse">
    <wsdl:part name="getPackageInfoReturn" type="soapenc:string"/>
</wsdl:message>

<wsdl:portType name="AdConnexionService">
    <wsdl:operation name="getPackageInfo" parameterOrder="in0 in1">
        <wsdl:input message="impl:getPackageInfoRequest" name="getPackageInfoRequest"/>
        <wsdl:output message="impl:getPackageInfoResponse" name="getPackageInfoResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="request" parameterOrder="in0">
        <wsdl:input message="impl:requestRequest" name="requestRequest"/>
        <wsdl:output message="impl:requestResponse" name="requestResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="helloWorld">
        <wsdl:input message="impl:helloWorldRequest" name="helloWorldRequest"/>
        <wsdl:output message="impl:helloWorldResponse" name="helloWorldResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getRealEstatePlacements" parameterOrder="in0">
        <wsdl:input message="impl:getRealEstatePlacementsRequest" name="getRealEstatePlacementsRequest"/>
        <wsdl:output message="impl:getRealEstatePlacementsResponse" name="getRealEstatePlacementsResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="getPlacements" parameterOrder="in0 in1">
        <wsdl:input message="impl:getPlacementsRequest" name="getPlacementsRequest"/>
        <wsdl:output message="impl:getPlacementsResponse" name="getPlacementsResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="getProductsByMarketId" parameterOrder="in0">
        <wsdl:input message="impl:getProductsByMarketIdRequest" name="getProductsByMarketIdRequest"/>
        <wsdl:output message="impl:getProductsByMarketIdResponse" name="getProductsByMarketIdResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="getStatus" parameterOrder="in0 in1">
        <wsdl:input message="impl:getStatusRequest" name="getStatusRequest"/>
        <wsdl:output message="impl:getStatusResponse" name="getStatusResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="getDeadlines" parameterOrder="in0">
        <wsdl:input message="impl:getDeadlinesRequest" name="getDeadlinesRequest"/>
        <wsdl:output message="impl:getDeadlinesResponse" name="getDeadlinesResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="getOrderStatus" parameterOrder="in0">
        <wsdl:input message="impl:getOrderStatusRequest" name="getOrderStatusRequest"/>
        <wsdl:output message="impl:getOrderStatusResponse" name="getOrderStatusResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="cancelOrder" parameterOrder="in0">
        <wsdl:input message="impl:cancelOrderRequest" name="cancelOrderRequest"/>
        <wsdl:output message="impl:cancelOrderResponse" name="cancelOrderResponse"/>
        <wsdl:fault message="impl:AdbRuleException" name="AdbRuleException"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
        <wsdl:fault message="impl:AdConnexionRuleException" name="AdConnexionRuleException"/>
    </wsdl:operation>
    <wsdl:operation name="getDeadlinesByMarketId" parameterOrder="in0">
        <wsdl:input message="impl:getDeadlinesByMarketIdRequest" name="getDeadlinesByMarketIdRequest"/>
        <wsdl:output message="impl:getDeadlinesByMarketIdResponse" name="getDeadlinesByMarketIdResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
    <wsdl:operation name="getDeadlineExceptionsByMarketId" parameterOrder="in0">
        <wsdl:input message="impl:getDeadlineExceptionsByMarketIdRequest" name="getDeadlineExceptionsByMarketIdRequest"/>
        <wsdl:output message="impl:getDeadlineExceptionsByMarketIdResponse" name="getDeadlineExceptionsByMarketIdResponse"/>
        <wsdl:fault message="impl:AdConnexionException" name="AdConnexionException"/>
    </wsdl:operation>
</wsdl:portType>

<wsdl:binding name="AdConnexionServiceSoapBinding" type="impl:AdConnexionService">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getPackageInfo">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getPackageInfoRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getPackageInfoResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="request">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="requestRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="requestResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="helloWorld">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="helloWorldRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="helloWorldResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getRealEstatePlacements">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getRealEstatePlacementsRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getRealEstatePlacementsResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getPlacements">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getPlacementsRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getPlacementsResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getProductsByMarketId">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getProductsByMarketIdRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getProductsByMarketIdResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getStatus">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getStatusRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getStatusResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getDeadlines">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getDeadlinesRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getDeadlinesResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getOrderStatus">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getOrderStatusRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getOrderStatusResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="cancelOrder">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="cancelOrderRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="cancelOrderResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdbRuleException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdbRuleException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
        <wsdl:fault name="AdConnexionRuleException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionRuleException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getDeadlinesByMarketId">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getDeadlinesByMarketIdRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getDeadlinesByMarketIdResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getDeadlineExceptionsByMarketId">
        <wsdlsoap:operation soapAction=""/>
        <wsdl:input name="getDeadlineExceptionsByMarketIdRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:input>
        <wsdl:output name="getDeadlineExceptionsByMarketIdResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:output>
        <wsdl:fault name="AdConnexionException">
            <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AdConnexionException" namespace="http://webservice.adb.mycompany.com" use="encoded"/>
        </wsdl:fault>
    </wsdl:operation>
</wsdl:binding>

<wsdl:service name="AdConnexionServiceService">
    <wsdl:port binding="impl:AdConnexionServiceSoapBinding" name="AdConnexionService">
        <wsdlsoap:address location="http://adb.mycompany.com/adbXmlService/webservice/AdConnexionService"/>
    </wsdl:port>
 </wsdl:service>
</wsdl:definitions>
4

1 に答える 1

0

これらの理由から、Axis 1.4 (または他の JAX-RPC 準拠の実装) にuse="encoded"固執する必要があります。Axis2 (および CXF と JAX-WS-RI) は、rpc/encoded スタイルの Web サービスをサポートしていません。

于 2012-10-16T10:00:29.397 に答える