[jboss-dev-forums] [JBoss ESB Development] - Re: deducing host and port in new HTTP Gateway

tfennelly do-not-reply at jboss.com
Fri Sep 11 05:03:44 EDT 2009


Ah yes... I do recall that now.  Thanks Kev.

How about the EPR is just registered as "http://localhost:8080/...." and then something (e.g. the contract jsp, or other) checks each of the endpoint URIs as it is generating the contract page, "fixing" http endpoint URIs that have a host of "localhost" and a port of "8080" (use constants of course) with the fixed host and port coming from the incoming request?

I know this is hacky, but maybe it'll seed a better idea for somone else :)

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

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



More information about the jboss-dev-forums mailing list