Web services jaxws maven插件:类";org.mainco.orgws.OrganizationWebService”的;不是端点实现类

Web services jaxws maven插件:类";org.mainco.orgws.OrganizationWebService”的;不是端点实现类,web-services,maven,jax-ws,webservice-client,Web Services,Maven,Jax Ws,Webservice Client,我使用的是Maven 3.0.3。我想使用jaxws-maven插件生成本地WSDL文件,但我不知道需要为“”标记设置什么值。我的Maven插件代码是 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws-maven-plug

我使用的是Maven 3.0.3。我想使用jaxws-maven插件生成本地WSDL文件,但我不知道需要为“”标记设置什么值。我的Maven插件代码是

                    <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>jaxws-maven-plugin</artifactId>
                            <executions>
                                    <execution>
                                            <goals>
                                                    <goal>wsimport</goal>
                                            </goals>
                                            <configuration>
                                                    <wsdlUrls>
                                                            <wsdlUrl>${wsdl.url}</wsdlUrl>
                                                    </wsdlUrls>
                                                    <sourceDestDir>${basedir}/src/main/java</sourceDestDir>
                                                    <packageName>org.mainco.orgws</packageName>
                                            </configuration>
                                    </execution>
                                    <execution>
                                            <!-- generate WSDL file from the compiled classes in tmp directory -->
                                            <id>generate wsdl file</id>
                                            <phase>process-resources</phase>
                                            <goals>
                                                    <goal>wsgen</goal>
                                            </goals>
                                            <configuration>
                                                    <sei>org.mainco.orgws.OrganizationWebService</sei>
                                                    <destDir>${basedir}/src/main/java</destDir>
                                                    <genWsdl>true</genWsdl>
                                                    <resourceDestDir>${basedir}/src/main/java</resourceDestDir>
                                                    <packageName>org.mainco.orgws</packageName>
                                            </configuration>
                                    </execution>
                            </executions>
                    </plugin>
但没有生成实现此交互的类。当我运行我的插件时,我得到了错误

[INFO] --- jaxws-maven-plugin:1.10:wsgen (generate wsdl file) @ orgsclient ---
The class "org.mainco.orgws.OrganizationWebService" is not an endpoint implementation class.
我需要寻找什么类来确定如何填充标记

编辑:根据注释,下面是该类的代码。它绝对是巨大的,所以我省略了一些方法,但希望它能帮助解释一些事情

package org.mainco.myws;

import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.3-b02-
 * Generated source version: 2.1
 * 
 */
@WebService(name = "OrganizationWebService", targetNamespace = "http://mainco.org/myws/")
@XmlSeeAlso({
    ObjectFactory.class
})
public interface OrganizationWebService {


    /**
     * 
     * @param referenceDomain
     * @param appId
     * @return
     *     returns org.mainco.myws.ReferenceDomainResponse
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getReferenceDomain", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetReferenceDomain")
    @ResponseWrapper(localName = "getReferenceDomainResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetReferenceDomainResponse")
    public ReferenceDomainResponse getReferenceDomain(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "referenceDomain", targetNamespace = "")
        ReferenceDomain referenceDomain)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgDatasetList
     * @param orgId
     * @param aiDomain
     * @param appId
     * @return
     *     returns org.mainco.myws.OrgData
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getOrgData", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgData")
    @ResponseWrapper(localName = "getOrgDataResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgDataResponse")
    public OrgData getOrgData(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "orgId", targetNamespace = "")
        Integer orgId,
        @WebParam(name = "aiDomain", targetNamespace = "")
        AiDomain aiDomain,
        @WebParam(name = "orgDatasetList", targetNamespace = "")
        OrgDatasetList orgDatasetList)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgType
     * @param orgId
     * @param relationshipType
     * @param appId
     * @param educationPeriodCd
     * @param orgSubTypeCd
     * @return
     *     returns org.mainco.myws.ParentOrgData
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getParentOrgData", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetParentOrgData")
    @ResponseWrapper(localName = "getParentOrgDataResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetParentOrgDataResponse")
    public ParentOrgData getParentOrgData(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "orgId", targetNamespace = "")
        Integer orgId,
        @WebParam(name = "relationshipType", targetNamespace = "")
        OrgRelationshipType relationshipType,
        @WebParam(name = "educationPeriodCd", targetNamespace = "")
        String educationPeriodCd,
        @WebParam(name = "orgType", targetNamespace = "")
        OrgType orgType,
        @WebParam(name = "orgSubTypeCd", targetNamespace = "")
        String orgSubTypeCd)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param appId
     * @param suppressRequestorEmail
     * @param orgDataChange
     * @param requestInfo
     * @return
     *     returns java.lang.Integer
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "requestOrgDataChange", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.RequestOrgDataChange")
    @ResponseWrapper(localName = "requestOrgDataChangeResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.RequestOrgDataChangeResponse")
    public Integer requestOrgDataChange(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "requestInfo", targetNamespace = "")
        OrgDataChangeRequestInfo requestInfo,
        @WebParam(name = "orgDataChange", targetNamespace = "")
        OrgDataChangeInfo orgDataChange,
        @WebParam(name = "suppressRequestorEmail", targetNamespace = "")
        Boolean suppressRequestorEmail)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgId
     * @param testProgram
     * @param appId
     * @param educationPeriodCd
     * @return
     *     returns org.mainco.myws.OrgReportsAvailableResponse
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getOrgReportsAvailable", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgReportsAvailable")
    @ResponseWrapper(localName = "getOrgReportsAvailableResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgReportsAvailableResponse")
    public OrgReportsAvailableResponse getOrgReportsAvailable(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "orgId", targetNamespace = "")
        Integer orgId,
        @WebParam(name = "educationPeriodCd", targetNamespace = "")
            String educationPeriodCd,
        @WebParam(name = "testProgram", targetNamespace = "")
        TestProgramType testProgram)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgType
     * @param appId
     * @param educationPeriodCd
     * @param parentOrgId
     * @param orgSubTypeCd
     * @return
     *     returns java.util.List<org.mainco.myws.OrgChildrenList>
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getCrossProgramChildren", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetCrossProgramChildren")
    @ResponseWrapper(localName = "getCrossProgramChildrenResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetCrossProgramChildrenResponse")
    public List<OrgChildrenList> getCrossProgramChildren(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "parentOrgId", targetNamespace = "")
        Integer parentOrgId,
        @WebParam(name = "educationPeriodCd", targetNamespace = "")
        String educationPeriodCd,
        @WebParam(name = "orgType", targetNamespace = "")
        OrgType orgType,
        @WebParam(name = "orgSubTypeCd", targetNamespace = "")
        String orgSubTypeCd)
        throws BusinessServiceFaultException
    ;

...
}
package org.mainco.myws;
导入java.util.List;
导入javax.jws.WebMethod;
导入javax.jws.WebParam;
导入javax.jws.WebResult;
导入javax.jws.WebService;
导入javax.xml.bind.annotation.xmlsee;
导入javax.xml.ws.RequestWrapper;
导入javax.xml.ws.ResponseWrapper;
/**
*这个类是由JAX-WSRI生成的。
*JAX-WSRI 2.1.3-b02-
*生成的源版本:2.1
* 
*/
@WebService(name=“OrganizationWebService”,targetNamespace=”http://mainco.org/myws/")
@XmlSeeAllow({
ObjectFactory.class
})
公共接口组织Web服务{
/**
* 
*@param referenceDomain
*@param-appId
*@返回
*返回org.mainco.myws.ReferenceDomainResponse
*@BusinessServiceFaultException
*/
@网络方法
@WebResult(targetNamespace=“”)
@RequestWrapper(localName=“getReferenceDomain”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetReferenceDomain”)
@ResponseWrapper(localName=“getReferenceDomainResponse”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetReferenceDomainResponse”)
公共引用域响应getReferenceDomain(
@WebParam(name=“appId”,targetNamespace=”“)
整数appId,
@WebParam(name=“referenceDomain”,targetNamespace=”“)
参考域(参考域)
抛出BusinessServiceFaultException
;
/**
* 
*@param orgDatasetList
*@param-orgId
*@param aiDomain
*@param-appId
*@返回
*返回org.mainco.myws.OrgData
*@BusinessServiceFaultException
*/
@网络方法
@WebResult(targetNamespace=“”)
@RequestWrapper(localName=“getOrgData”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetOrgData”)
@ResponseWrapper(localName=“getOrgDataResponse”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetOrgDataResponse”)
公共OrgData getOrgData(
@WebParam(name=“appId”,targetNamespace=”“)
整数appId,
@WebParam(name=“orgId”,targetNamespace=”“)
整型orgId,
@WebParam(name=“aiDomain”,targetNamespace=”“)
艾多曼艾多曼,
@WebParam(name=“orgDatasetList”,targetNamespace=”“)
OrgDatasetList(OrgDatasetList)
抛出BusinessServiceFaultException
;
/**
* 
*@param-orgType
*@param-orgId
*@param relationshipType
*@param-appId
*@param教育周期CD
*@param.cd
*@返回
*返回org.mainco.myws.ParentOrgData
*@BusinessServiceFaultException
*/
@网络方法
@WebResult(targetNamespace=“”)
@RequestWrapper(localName=“getParentOrgData”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetParentOrgData”)
@ResponseWrapper(localName=“getParentOrgDataResponse”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetParentOrgDataResponse”)
公共ParentOrgData getParentOrgData(
@WebParam(name=“appId”,targetNamespace=”“)
整数appId,
@WebParam(name=“orgId”,targetNamespace=”“)
整型orgId,
@WebParam(name=“relationshipType”,targetNamespace=”“)
OrgRelationshipType关系类型,
@WebParam(name=“educationPeriodCd”,targetNamespace=”“)
字符串教育周期CD,
@WebParam(name=“orgType”,targetNamespace=”“)
OrgType OrgType,
@WebParam(name=“orgsubitecd”,targetNamespace=”“)
字符串(CD)
抛出BusinessServiceFaultException
;
/**
* 
*@param-appId
*@param suppressRequestorEmail
*@param orgDataChange
*@param requestInfo
*@返回
*返回java.lang.Integer
*@BusinessServiceFaultException
*/
@网络方法
@WebResult(targetNamespace=“”)
@RequestWrapper(localName=“requestOrgDataChange”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.RequestOrgDataChange”)
@ResponseWrapper(localName=“requestOrgDataChangeResponse”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.RequestOrgDataChangeResponse”)
公共整数请求OrgDataChange(
@WebParam(name=“appId”,targetNamespace=”“)
整数appId,
@WebParam(name=“requestInfo”,targetNamespace=”“)
OrgDataChangeRequestInfo请求信息,
@WebParam(name=“orgDataChange”,targetNamespace=”“)
OrgDataChangeInfo orgDataChange,
@WebParam(name=“suppressRequestorEmail”,targetNamespace=”“)
Boolean suppressRequestorEmail)
抛出BusinessServiceFaultException
;
/**
* 
*@param-orgId
*@param测试程序
*@param-appId
*@param教育周期CD
*@返回
*返回org.mainco.myws.OrgReportsAvailableResponse
*@BusinessServiceFaultException
*/
@网络方法
@WebResult(targetNamespace=“”)
@RequestWrapper(localName=“getOrgReportsAvailable”,targetNamespace=”http://mainco.org/myws/,className=“org.mainco.myws.GetOrgReportsAvailable”)
@ResponseWrapper(localName=“getOrgReportsAvailableResponse”,targetNamespace=“http
package org.mainco.myws;

import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.3-b02-
 * Generated source version: 2.1
 * 
 */
@WebService(name = "OrganizationWebService", targetNamespace = "http://mainco.org/myws/")
@XmlSeeAlso({
    ObjectFactory.class
})
public interface OrganizationWebService {


    /**
     * 
     * @param referenceDomain
     * @param appId
     * @return
     *     returns org.mainco.myws.ReferenceDomainResponse
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getReferenceDomain", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetReferenceDomain")
    @ResponseWrapper(localName = "getReferenceDomainResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetReferenceDomainResponse")
    public ReferenceDomainResponse getReferenceDomain(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "referenceDomain", targetNamespace = "")
        ReferenceDomain referenceDomain)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgDatasetList
     * @param orgId
     * @param aiDomain
     * @param appId
     * @return
     *     returns org.mainco.myws.OrgData
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getOrgData", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgData")
    @ResponseWrapper(localName = "getOrgDataResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgDataResponse")
    public OrgData getOrgData(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "orgId", targetNamespace = "")
        Integer orgId,
        @WebParam(name = "aiDomain", targetNamespace = "")
        AiDomain aiDomain,
        @WebParam(name = "orgDatasetList", targetNamespace = "")
        OrgDatasetList orgDatasetList)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgType
     * @param orgId
     * @param relationshipType
     * @param appId
     * @param educationPeriodCd
     * @param orgSubTypeCd
     * @return
     *     returns org.mainco.myws.ParentOrgData
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getParentOrgData", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetParentOrgData")
    @ResponseWrapper(localName = "getParentOrgDataResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetParentOrgDataResponse")
    public ParentOrgData getParentOrgData(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "orgId", targetNamespace = "")
        Integer orgId,
        @WebParam(name = "relationshipType", targetNamespace = "")
        OrgRelationshipType relationshipType,
        @WebParam(name = "educationPeriodCd", targetNamespace = "")
        String educationPeriodCd,
        @WebParam(name = "orgType", targetNamespace = "")
        OrgType orgType,
        @WebParam(name = "orgSubTypeCd", targetNamespace = "")
        String orgSubTypeCd)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param appId
     * @param suppressRequestorEmail
     * @param orgDataChange
     * @param requestInfo
     * @return
     *     returns java.lang.Integer
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "requestOrgDataChange", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.RequestOrgDataChange")
    @ResponseWrapper(localName = "requestOrgDataChangeResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.RequestOrgDataChangeResponse")
    public Integer requestOrgDataChange(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "requestInfo", targetNamespace = "")
        OrgDataChangeRequestInfo requestInfo,
        @WebParam(name = "orgDataChange", targetNamespace = "")
        OrgDataChangeInfo orgDataChange,
        @WebParam(name = "suppressRequestorEmail", targetNamespace = "")
        Boolean suppressRequestorEmail)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgId
     * @param testProgram
     * @param appId
     * @param educationPeriodCd
     * @return
     *     returns org.mainco.myws.OrgReportsAvailableResponse
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getOrgReportsAvailable", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgReportsAvailable")
    @ResponseWrapper(localName = "getOrgReportsAvailableResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetOrgReportsAvailableResponse")
    public OrgReportsAvailableResponse getOrgReportsAvailable(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "orgId", targetNamespace = "")
        Integer orgId,
        @WebParam(name = "educationPeriodCd", targetNamespace = "")
            String educationPeriodCd,
        @WebParam(name = "testProgram", targetNamespace = "")
        TestProgramType testProgram)
        throws BusinessServiceFaultException
    ;

    /**
     * 
     * @param orgType
     * @param appId
     * @param educationPeriodCd
     * @param parentOrgId
     * @param orgSubTypeCd
     * @return
     *     returns java.util.List<org.mainco.myws.OrgChildrenList>
     * @throws BusinessServiceFaultException
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getCrossProgramChildren", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetCrossProgramChildren")
    @ResponseWrapper(localName = "getCrossProgramChildrenResponse", targetNamespace = "http://mainco.org/myws/", className = "org.mainco.myws.GetCrossProgramChildrenResponse")
    public List<OrgChildrenList> getCrossProgramChildren(
        @WebParam(name = "appId", targetNamespace = "")
        Integer appId,
        @WebParam(name = "parentOrgId", targetNamespace = "")
        Integer parentOrgId,
        @WebParam(name = "educationPeriodCd", targetNamespace = "")
        String educationPeriodCd,
        @WebParam(name = "orgType", targetNamespace = "")
        OrgType orgType,
        @WebParam(name = "orgSubTypeCd", targetNamespace = "")
        String orgSubTypeCd)
        throws BusinessServiceFaultException
    ;

...
}