Hi, 

I'm using JBoss 4.0.4RC1. 

In a SLSB a call a web service that has the following endpoint: 
http://host:port/services/uri:Test

When I try to execute the call, I get a StringIndexOutOfBoundsException. I've 
looked at the source code and located the problem to the class InvokerLocator 
at line 135:

int p = tmp.lastIndexOf(":");

To fix this a changed ti code to the following:


  | int p = tmp.indexOf(":");
  | if(i != -1)
  |    p = (p < i ? p : -1);
  | 

Then it all works fine.

Cheers
/Anders

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to