users@glassfish.java.net

Unable to create a new URI instance for generated endpoint URI string

From: <forums_at_java.net>
Date: Thu, 1 Mar 2012 08:24:18 -0600 (CST)

 Hi,

We are migrating a webservice from glassfish v2 to v3 and an exception is
being thrown at deploy time.

The exception is:

Unable to create a new URI instance for generated endpoint URI string

I believe the problem is that our endpoint uri contains a # character and the
TubelineAssemblyController adds a second # when it appends the port and
service name. The URI now contains two #s which is not a legal URI and an
exception is thrown. This is the code which appends this :

http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish.metro/webservices-osgi-aix/2.1.1/com/sun/xml/ws/assembler/TubelineAssemblyController.java#TubelineAssemblyController.createEndpointComponentUri%28javax.xml.namespace.QName%2Cjavax.xml.namespace.QName%29
[1]

Has anyone come across this before, or knows of a solution?

Thanks, Paul


[1]
http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish.metro/webservices-osgi-aix/2.1.1/com/sun/xml/ws/assembler/TubelineAssemblyController.java#TubelineAssemblyController.createEndpointComponentUri%28javax.xml.namespace.QName%2Cjavax.xml.namespace.QName%29

--
[Message sent by forum member 'paulN']
View Post: http://forums.java.net/node/883924