[JBoss-user] [JBossWS] - Re: Web Service Authentication

2005-12-16 Thread [EMAIL PROTECTED]
You can accomplish something like this by using the replace ant task in your 
build system. So basically you make two files. One that contains the ejb-ref 
tags that are in your web.xml, and the other that contains the ones in 
jboss-web.xml.

You then add a comment to both your web.xml and jboss-web.xml that has 
something like


  | !-- insert ejb-refs here --
  | 

and then you would have the following in some ant task


  | loadfile property=ejb-refs-content srcFile=ejb-refs.xml/
  | loadfile property=jboss-ejb-refs-content srcfile=jboss-ejb-refs.xml/
  | replace file=web.xml
  | replacefilter token=!-- insert ejb-refs here -- 
value=${ejb-refs-content}/
  | /replace
  | replace file=jboss-web.xml
  | replacefilter token=!-- insert ejb-refs here -- 
value=${jboss-ejb-refs-content}/
  | /replace
  | 

Hope that helps!

-Jason



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Service Authentication

2005-12-15 Thread [EMAIL PROTECTED]
FORM authentication doesn't make sense for a webservice client. The only way 
around this problem is to package your webservices in another war file. You can 
then package them together in an ear file.

-Jason

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Service Authentication

2005-12-15 Thread roberto
Thank You
i suppose it.. 
i will be glad if i can be able to use only one war module

Roberto


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Service Authentication

2005-12-15 Thread roberto
i forgot ...
i prefer to use only one war because i have hundreds of ejb-ref to point to ejb 
session 
(and for my application purpose i prefer to publish a java web service and not 
an ejb web service)

Thank You again Jason

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user