Note that there are some explanatory texts on larger screens.

plurals
  1. POjaxws-maven-plugin: The class "org.mainco.orgws.OrganizationWebService" is not an endpoint implementation class
    primarykey
    data
    text
    <p>I'm using Maven 3.0.3. I want to generate local WSDL files using the jaxws-maven-plugin, but am confused about what value I need to put for the "&lt;SEI&gt;" tag. My Maven plugin code is</p> <pre><code> &lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt; &lt;executions&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;wsimport&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;wsdlUrls&gt; &lt;wsdlUrl&gt;${wsdl.url}&lt;/wsdlUrl&gt; &lt;/wsdlUrls&gt; &lt;sourceDestDir&gt;${basedir}/src/main/java&lt;/sourceDestDir&gt; &lt;packageName&gt;org.mainco.orgws&lt;/packageName&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;execution&gt; &lt;!-- generate WSDL file from the compiled classes in tmp directory --&gt; &lt;id&gt;generate wsdl file&lt;/id&gt; &lt;phase&gt;process-resources&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;wsgen&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;sei&gt;org.mainco.orgws.OrganizationWebService&lt;/sei&gt; &lt;destDir&gt;${basedir}/src/main/java&lt;/destDir&gt; &lt;genWsdl&gt;true&lt;/genWsdl&gt; &lt;resourceDestDir&gt;${basedir}/src/main/java&lt;/resourceDestDir&gt; &lt;packageName&gt;org.mainco.orgws&lt;/packageName&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre> <p>Upon running this ("mvn clean test") there's only one interfaces generated that is annotated with a "@WebService" annotation ...</p> <pre><code>./src/main/java/org/mainco/orgws/OrganizationWebService.java </code></pre> <p>but there is no class generated that implements this interace. When I run my plugin, I get the error</p> <pre><code>[INFO] --- jaxws-maven-plugin:1.10:wsgen (generate wsdl file) @ orgsclient --- The class "org.mainco.orgws.OrganizationWebService" is not an endpoint implementation class. </code></pre> <p>What class do I need to look for to figure out how to populate the &lt;sei&gt; tag?</p> <p><B>Edit:</b> Per the comment, here's the code of that class. It's absolutely massive, so I left out a couple of methods, but hopefully it helps explains things.</p> <pre><code>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&lt;org.mainco.myws.OrgChildrenList&gt; * @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&lt;OrgChildrenList&gt; 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 ; ... } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload