[JBoss-user] [JBossWS] - Re: EJB3 webservice tutorial

2006-05-11 Thread HIMMEL
Dust_Puppy wrote : i answer my own post as usual =)
  | i solved this by adding the service-ref to a application client and lookup 
the webservices throw that.. 
  | 
  | /Anders


Can tell me more details?
Please

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942802#3942802

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942802


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: EJB3 webservice tutorial

2006-05-09 Thread [EMAIL PROTECTED]
Ramcis, please do not hijack threads with unrelated stuff

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942097#3942097

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942097


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: EJB3 webservice tutorial

2006-05-05 Thread RamcisJBOSS
Hi, can you tell from where you get the needed library for this tutorial, 
because it deson't work for me.
I get this error when compling the sources code.
compile:
[javac] Compiling 3 source files to C:\Documents and Settings\Ramzi\Bureau\w
ebservice\build\classes
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\bean\Calculator.java:31: incompatible types
[javac] found   : javax.jws.WebService
[javac] required: java.lang.annotation.Annotation
[javac] @WebService
[javac]  ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\bean\Calculator.java:32: incompatible types
[javac] found   : javax.jws.soap.SOAPBinding
[javac] required: java.lang.annotation.Annotation
[javac] @SOAPBinding(style=Style.RPC)
[javac]  ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\bean\Calculator.java:32: duplicate annotation
[javac] @SOAPBinding(style=Style.RPC)
[javac] ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\bean\Calculator.java:35: incompatible types
[javac] found   : javax.jws.WebMethod
[javac] required: java.lang.annotation.Annotation
[javac]@WebMethod
[javac] ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\bean\Calculator.java:38: incompatible types
[javac] found   : javax.jws.WebMethod
[javac] required: java.lang.annotation.Annotation
[javac]@WebMethod
[javac] ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\bean\CalculatorBean.java:30: incompatible types
[javac] found   : javax.jws.WebService
[javac] required: java.lang.annotation.Annotation
[javac] @WebService(endpointInterface=org.jboss.tutorial.webservice.bean.Ca
lculator)
[javac]  ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\client\Client.java:43: warning: [deprecation] org.jboss.tutorial
.webservice.bean.Calculator in org.jboss.tutorial.webservice.bean has been depre
cated
[javac]   Calculator calculator = (Calculator) service.getPort(Calculato
r.class);
[javac]   ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\client\Client.java:43: warning: [deprecation] org.jboss.tutorial
.webservice.bean.Calculator in org.jboss.tutorial.webservice.bean has been depre
cated
[javac]   Calculator calculator = (Calculator) service.getPort(Calculato
r.class);
[javac]^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\client\Client.java:43: warning: [deprecation] org.jboss.tutorial
.webservice.bean.Calculator in org.jboss.tutorial.webservice.bean has been depre
cated
[javac]   Calculator calculator = (Calculator) service.getPort(Calculato
r.class);
[javac]^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\client\Client.java:45: warning: [deprecation] add(int,int) in or
g.jboss.tutorial.webservice.bean.Calculator has been deprecated
[javac]   System.out.println(1 + 1 =  + calculator.add(1, 1));
[javac] ^
[javac] C:\Documents and Settings\Ramzi\Bureau\webservice\src\org\jboss\tuto
rial\webservice\client\Client.java:46: warning: [deprecation] subtract(int,int)
in org.jboss.tutorial.webservice.bean.Calculator has been deprecated
[javac]   System.out.println(1 - 1 =  + calculator.subtract(1, 1));
[javac] ^
[javac] 6 errors
[javac] 5 warnings

BUILD FAILED
file:C:/Documents%20and%20Settings/Ramzi/Bureau/webservice/build.xml:52: Compile
 failed; see the compiler error output for details.

thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3941518#3941518

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941518


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: EJB3 webservice tutorial

2006-04-29 Thread [EMAIL PROTECTED]
I'd like to see the stacktrace that relates to the NPE

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940324#3940324

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940324


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: EJB3 webservice tutorial

2006-04-28 Thread Dust_Puppy
i answer my own post as usual =)
i solved this by adding the service-ref to a application client and lookup the 
webservices throw that.. 

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940064#3940064

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940064


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user