2009-12-22 5 views
1

나는 wsdl.exe (.net sdk 2.0)에 의해 해석 될 필요가있는 wsdl을 가지고있다. 이 wsdl은 축 엔진에 의해 런타임에 생성되며 이것을 생성하기 위해 wsdd 파일을 읽는다. 내 반환 형식의Java .Net Interop. Axis java.util.Map

하나는 내부 java.util.Map이 여기 WSDL에서지도의 스키마 (WSDL의 한 부분)

<schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"> 
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> 
      <complexType name="Map"> 
       <sequence> 
        <element maxOccurs="unbounded" minOccurs="0" name="item"> 
         <complexType> 
          <all> 
           <element name="key" type="xsd:anyType" /> 
           <element name="value" type="xsd:anyType" /> 
          </all> 
         </complexType> 
        </element> 
       </sequence> 
      </complexType> 
     </schema> 

입니다하지만이 wsdl.exe를 실행할 때 읽기 이 wsdl 나는 뒤에 오는 과실을 얻고있다;

  • 'getXXX'작업을 가져올 수 없습니다.
  • 형식은 스키마의 최상위 수준에서 선언해야합니다. 스키마 유형 '맵'을 네임 스페이스 'http://xml.apache.org/xml-soap'에서 확인하십시오. 요소 '항목'이 익명 형식 선언을 사용 중이며 익명 형식이 인코딩 된 SOAP로 지원되지 않습니다 ( ).

웹 서비스와 관련하여지도를 사용할 수 없다는 뜻입니까? 나는 Google 결과에 만족할 수 없었다 ...

답변