-
1. Re: JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDR
heiko.braun Mar 1, 2007 4:03 AM (in response to greenbean)You should add parameters ("?datatype=SOAPMessage") to the URL string: Caused by: java.lang.NumberFormatException: For input string: "8791?datatype=SOAPMessage"
-
2. Re: JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDR
greenbean Mar 1, 2007 12:30 PM (in response to greenbean)I am not sure I understand what you are saying? Are you saying I need to add datatype=SOAPMessage? I am not adding that currently. I am only doing this:
stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY,"http://myhost:8791");
This is enough to cause the parsing error."heiko.braun@jboss.com" wrote:
You should add parameters ("?datatype=SOAPMessage") to the URL string: Caused by: java.lang.NumberFormatException: For input string: "8791?datatype=SOAPMessage" -
3. Re: JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDR
thomas.diesler Mar 1, 2007 6:15 PM (in response to greenbean)I believe the andpoint address is invalid because it doesn't have a context path.
Shouldn't it be something like
http://myhost:8791/some-context -
4. Re: JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDR
heiko.braun Mar 2, 2007 5:29 AM (in response to greenbean)It seems to be a known remoting bug: http://jira.jboss.com/jira/browse/JBREM-645
The workaround requires that a trailing '/' is added after the host:port, for example:
"socket://succubus.starkinternational.com:4446/?datatype=invocation" -
5. Re: JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDR
greenbean Mar 2, 2007 11:23 AM (in response to greenbean)Ok, thanks for the information. We use URLs of this format to communicate with C processes that use GSOAP. I switched to JBossWS 1.0.4 since it parses the URLs correctly.
"heiko.braun@jboss.com" wrote:
It seems to be a known remoting bug: http://jira.jboss.com/jira/browse/JBREM-645
The workaround requires that a trailing '/' is added after the host:port, for example:
"socket://succubus.starkinternational.com:4446/?datatype=invocation"