2012-10-16 2 views
0

JAX-WS 2.1을 사용하기 위해 웹 서비스를 업그레이드하고 있습니다. 현재 webservices가 java-first로 생성되었고 Axis1을 사용하여 WSDL을 자동 생성했습니다.WSDL2Java가 실패합니다. WSDL 디버깅에 도움이 필요합니다.

이제 우리는 자동 생성 된 WSDL을 가지고 JAX-WS 호환 Java 코드를 생성해야합니다.

Axis2의 Wsdl2java를 사용하여 잘 작동하지만 WSDL에서 실행하려고하면 여러 개의 오류가 발생하여 생성 된 WSDL이 실제로 형식이 잘못되었음을 나타냅니다.

WSDL과 XML 네임 스페이스에 익숙하지 않아서 디버깅하기가 어렵습니다. 누구든지 여기에 손을 빌려 주실 래요?

현재이 오류와 함께 붙어 메신저 : 사람이 내가 다음 시작할 수있는 아이디어가 있다면

"[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입니다 :이 use="encoded" 당신이 Axis 1.4 (또는 다른 JAX-RPC 준수 구현)에 충실해야하기 때문에

<?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> 

답변

0

. Axis2 (및 CXF와 JAX-WS-RI)는 rpc/인코딩 된 웹 서비스 스타일을 지원하지 않습니다.

+0

입력 해 주셔서 감사합니다. 그러나 우리는이 사용법을 "인코딩 된"글자 그대로로 바꿀 수는 없으며 여전히 사용할 수 있습니까? – user829237

+0

WSDL을 변경하면 Axis2의'wsdl2java'가 처리 할 수있게되지만이 계약을 구현하는 서버는 인코딩되지 않은 메시지를 자동으로 수락하지 않습니다. 그런데이 WSDL에는 SOAP 인코딩 유형 (SOAP 배열)이 포함되어 있으므로'encoded '를'literal'로 변경하면 작동하지 않습니다. –

+0

오른쪽. 그래서 나는 문제가 발생할 수 있음을 이해합니다. 그러나 RPC 리터럴을 사용하여 WSDL을 다소 변경하고 SOAP 배열은 피하십시오. 이 오래된 WS를 "모방"하는 JAX-WS 호환 RPC 리터럴 웹 서비스를 구현할 수 있다고 생각합니까? 사용하는 클라이언트는 시스템에서 어떤 것도 변경하지 않아도됩니까? 가장 중요한 것은 고객이 자체 개발이나 수정을하지 않아도된다는 것입니다. – user829237