JBoss Community

Naming for webservice endpoints

reply from Tom Fennelly in JBoss ESB Development - View the full discussion

Keith Babo wrote:

 

Related to the above post.

 

 

URI u1 = new URI("jbossws:/foo:bar");System.out.println("scheme : " + u1.getScheme());System.out.println("path   : " + u1.getPath());

 

 

 

 

 

scheme : jbosswspath   : /foo:bar

 

 

 

Ah cool.... QED :)

 

I must be mixing up with the URL syntax.

 

On the inclusion/exclusion of the scheme... I was thinking you could support a few options and recommend the explicit use of the scheme.  I just think it's nice to support at least one version common between both.  Then people can just cut & paste and it works... no need to remember to add/remove the scheme.  I think that would be workable... match in decreasing order of specificity type thing.

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community