2012-12-10 68 views

回答

1

是否定義在[servlet的名稱]除外XSD文件-servlet.xml後綴

這樣的 -

<sws:dynamic-wsdl id="user" portTypeName="User" 
     locationUri="/userService/" targetNamespace="http://test.nl/wsdls/userservice/2011/04"> 
     <sws:xsd location="classpath:/exception.xsd" /> 
     <sws:xsd location="classpath:/base.xsd" /> 
     <sws:xsd location="classpath:/user.xsd" /> 
     <sws:xsd location="classpath:/userservice.xsd" /> 
    </sws:dynamic-wsdl> 

您看到異常XSD是那裏的標籤。所以你必須定義它。

看看這個tutorial

看看在上面的鏈接在主題XSD的第一部分的鏈接。

問候

Anshul凱塔

相關問題