Spring and jsr181 working OK ...package com.mycomp.corpsys.casemgmt.business.issue.maintenance.facade;
.../**
* JSR181 Web Service Interface for Issue Maintenance
*/
@WebService(targetNamespace = "com.mycomp.corpsys.casemgmt")
public interface IssueWebService
{
// -------------------------- OTHER METHODS --------------------------
..
/**
* Use to Create an issue object.
*
* @throws com.mycomp.corpsys.casemgmt.common.business.BusinessException
*
*/
@WebMethod()
@WebResult(name = "Issue", targetNamespace = "com.mycomp.corpsys.casemgmt")
Issue createIssue(@WebParam(name = "Issue", header = false) Issue p_issue) throws BusinessException;/**
* Use to Update an existing issue object.
*
* @throws com.mycomp.corpsys.casemgmt.common.business.BusinessException
*
*/
@WebMethod()
@WebResult(name = "Issue", targetNamespace = "com.mycomp.corpsys.casemgmt")
Issue updateIssue(@WebParam(name = "Issue", header = false) Issue p_issue) throws BusinessException;
..
}impl ..
package com.mycomp.corpsys.casemgmt.business.issue.maintenance.facade;
..
import javax.jws.WebService;/**
* All Issue related business functionality and transactional data access is encapsultated here
* and exposed (optionally) as Web Service via JSR181, implemented with Xfire.
*/
@WebService(serviceName = "IssueWebService", endpointInterface = "com.mycomp.corpsys.casemgmt.business.issue.maintenance.facade.IssueWebService")
public class IssueAgent extends BusinessAgent implements IssueWebService
{
// ------------------------------ FIELDS ------------------------------
//IOC'ed
protected IssueDao issueDao;
...
// --------------------- Interface IssueWebService ---------------------
....public Issue createIssue(Issue p_issue) throws BusinessException
{
....
return issueDao.persist(p_issue);
}public Issue updateIssue(Issue p_issue) throws BusinessException
{
...
return issueDao.persist(p_issue);
}
......
}Hope this helps.
which jar are you using to provide javax.jws.WebService?
On 3/23/06, cameron101 <
[EMAIL PROTECTED]> wrote:
- Re: [xfire-user] JSR181 service annotations work but not bin... Jason Tesser
- Re: [xfire-user] JSR181 service annotations work but no... cameron101
- Re: [xfire-user] JSR181 service annotations work but no... William White
- Re: [xfire-user] JSR181 service annotations work bu... Jason Tesser
- Re: [xfire-user] JSR181 service annotations wor... Jason Tesser
- Re: [xfire-user] JSR181 service annotations work but no... William White
- Re: [xfire-user] JSR181 service annotations work but no... William White
