hi
I try to publish ejb as webservice
ide: JBossIDE-200701290313-nightly-ALL.zip
project: ejb3
ejb3 code (generated by wizard!):
package main;
import javax.ejb.Stateless;
import main.LoanProcessor;
public @Stateless class LoanProcessorBean implements LoanProcessor {
public String processApplication(String socialSecurityNumber, String
applicantName, String applicantAddress, String applicantEmailAddress, int
applicantAge, String applicantGender, float annualSalary, float amountRequested)
{
...
}
}
interface:
package main;
import javax.ejb.Remote;
@Remote
public interface LoanProcessor {
public String processApplication(String socialSecurityNumber, String
applicantName, String applicantAddress, String applicantEmailAddress, int
applicantAge, String applicantGender, float annualSalary, float
amountRequested);
}
result:
Running JBossWS wstools for [LoanProcessor]
directory: C:\jboss\projects\ide\loanProcessing\LoanProcessor
command: cmd.exe /C C:\jboss\as-4.0.4.GA\bin\wstools.bat -cp bin -config
c:\temp\wstools-config47877.xml -dest
C:\jboss\projects\ide\loanProcessing\LoanProcessor\src
========================================================================="
.
WSTools Environment
.
JBOSS_HOME: C:\jboss\as-4.0.4.GA\bin\\..
.
JAVA: c:\jdk1.6.0_01\bin\java
.
JAVA_OPTS:
.
========================================================================="
.
Exception in thread "main" org.jboss.ws.WSException: A service endpoint
interface should extend Remote
help me solve this problem, please
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008187#4008187
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008187
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user