The JBoss-AS 4.0 docs show how to generate the WSDL using Java2WSDL. In the 
documentation, it says the wsdlsoap:address is irrelevant, because JBoss will 
replace it once it is deployed. My AS is running on a host other than localhost 
(it is specified using the --host option on the run.sh script). The problem is, 
when a client requests the WSDL, the encapsulated wsdlsoap:address value has 
localhost in it, and not the host name for the AS itself. On my client machine, 
I changed the entry for localhost in /etc/hosts so it points to my AS. Once 
that change was made, everything worked end-to-end for the client.

How do you get the correct host name in the deployed WSDL? Thanks in advance.

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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to