I'm giviing up on the formatting of the URI syntax above. The bottom line is that a path segment consists of the following:
pchar = unreserved | escaped | ":" | "@" | "&" | "=" | "+" | "$" | ","
Which leads me to believe that jbossws://foo:bar would be legal.
Can the context or endpoint names contain a "/" for JBossWS configuration? That could cause a problem, I guess.