5 Replies Latest reply on Mar 2, 2007 11:23 AM by Kevin Urciolo

    JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDRESS_

    Kevin Urciolo Newbie

      The URL is of the format http://myhost:8791. Any ideas why this causes an error?

      I set it like this:
      ((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY,returnURL);

      The error:
      Caused by: java.lang.NumberFormatException: For input string: "8791?datatype=SOAPMessage"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.
      java:48)
      at java.lang.Integer.parseInt(Integer.java:456)
      at java.lang.Integer.parseInt(Integer.java:497)
      at org.jboss.remoting.InvokerLocator.(InvokerLocator.java:159)
      at org.jboss.ws.core.soap.SOAPConnectionImpl.createRemotingClient(SOAPCo
      nnectionImpl.java:250)
      ... 25 more