[jboss-user] [JBossWS] - Re: How is the service URL constructed

jopere do-not-reply at jboss.com
Fri Jun 8 15:59:25 EDT 2007


Sorry, forget all I said in my first post.  To set the context root include jboss.xml in your jar file with the following inside it:

<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
      "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

    
    <context-root>xxxx</context-root>
    


The alias portion should be the name of the endpoint class.  So if your endpoint class is named yyyy.java, then your web service url will be:

http://somehost/xxxx/yyyy

I don't know of a way to change the alias portion from being the name of the endpoint class.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052732#4052732

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052732



More information about the jboss-user mailing list