pleasure
asked on
How to deploy JBoss Web Services under my own Application?
hi all,
I had deployed a web service in my JBoss 3.2.5 Application Server. In order for client to consume the service, the client is required to set endpoint to something like http://localhost:8080/jboss-net/services/myService.
Is it possible for to deploy such that the Web Services is actually deployed under my application. Which mean the client is required to set the endpoint to http://localhost:8080/myApplication/services/myServices instead of http://localhost:8080/jboss-net/services/myService?
Please guide...thanks
I had deployed a web service in my JBoss 3.2.5 Application Server. In order for client to consume the service, the client is required to set endpoint to something like http://localhost:8080/jboss-net/services/myService.
Is it possible for to deploy such that the Web Services is actually deployed under my application. Which mean the client is required to set the endpoint to http://localhost:8080/myApplication/services/myServices instead of http://localhost:8080/jboss-net/services/myService?
Please guide...thanks
ASKER
hi R.K,
thanks for the response, i have gone through the website for few times already. Unfortunately, the web site did not mention anything on what i'm going to achieve... in fact, it's hard hard for me to find the solution in internet..:(
thanks for the response, i have gone through the website for few times already. Unfortunately, the web site did not mention anything on what i'm going to achieve... in fact, it's hard hard for me to find the solution in internet..:(
I don't think it is possible to deploy webservices to something other than /jboss-net/
If you want it under your app, you could look at creating the web service manually using Apache Axis or Apache SOAP (much older than AXIS and more work).
If you want it under your app, you could look at creating the web service manually using Apache Axis or Apache SOAP (much older than AXIS and more work).
ASKER
hi Davey,
Actually i managed to deploy a web services under my own application.
These is how I make it happen:
1.Copy all neccesary jar files (axis.jar, jaxrpc.jar...etc) into WEB-INF\lib folder.
2.Modify my web.xml so that when user request a web service, it will be handled by Axis.
and so far it is working.
But I'm still wondering will this cause any security issue. Once you deployed jboss-net, you will be able to see all the web services deployed in that server. Is there a method for us to control this??
Actually i managed to deploy a web services under my own application.
These is how I make it happen:
1.Copy all neccesary jar files (axis.jar, jaxrpc.jar...etc) into WEB-INF\lib folder.
2.Modify my web.xml so that when user request a web service, it will be handled by Axis.
and so far it is working.
But I'm still wondering will this cause any security issue. Once you deployed jboss-net, you will be able to see all the web services deployed in that server. Is there a method for us to control this??
Are you still using jboss-net then or just Axis?
ASKER
I'm using JBoss-Net, i copied all jar files in jboss-net.sar and archieve in a single jar file (says JBoss.Net.jar). Then i put the jar file (JBoss.Net) into my WEB-INF\lib.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yupe, correct. If JBoss.Net also deployed, that mean peoples still can access to my web service thru JBoss-Net...:p
Look at this examples here, it may help you to set the webservice under JBoss...
http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS
R.K