Hi all,

I have generated service. It works fine.

The generated service implementation is this:

@WebService(serviceName = "IssueReportService", targetNamespace =
"http://iisys.icing.eu/systemcore/issuereport/impl/1.0";,
endpointInterface =
"com.espatial.icing.dataaccessor.IssueReportServicePortType")
public class IssueReportServiceImpl
    implements IssueReportServicePortType
{


    public IssueManagementResponse issueReport(IssueManagementRequest
issueManagementRequest) {
        throw new UnsupportedOperationException();
    }

}


I tried to change service.xml and inherit IssueReportServiceImpl, but
the annotation are not visible during xfire initialisation.

public class MyIssueReportServiceImpl
  extends IssueReportServiceImpl
  {

  /**
   * insert issue
   */
  public IssueManagementResponse issueReport(IssueManagementRequest
issueManagementRequest)
    {
    issueManagementRequest.getIssue();
    System.out.println("test");
    return null;
    }
  }

my services.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0";>
  <service>
    
<serviceClass>com.espatial.icing.dataaccessor.MyIssueReportServiceImpl</serviceClass>
    <serviceFactory>org.codehaus.xfire.jaxb2.JaxbServiceFactory</serviceFactory>
  </service>
</beans>

Is there any way how to generate service and overlay this service with
my implementation?

Thanks.

Regards,
Zdenek Vrablik

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to