The documentation for 
http://java.sun.com/javaee/5/docs/api/javax/jws/WebParam.html#targetNamespace()
WebParam says that 

If the target namespace is set to “”, this represents the empty namespace.

but in XFire code if targetNamespace = "", the namespace is set to the
service endpoint. Here's the code in AnnotationServiceConfiguration.java:

            String ns = webParamAnnotation.getTargetNamespace();

            if (ns == null || ns.length() == 0) 
            {
                ns = endpoint.getTargetNamespace();
            }

is this the correct behavior? shouldn't the code respect the annotation
(empty string) instead of using the namespace of the end point?
-- 
View this message in context: 
http://www.nabble.com/%40WebParam-not-following-spec--tf3910649.html#a11088271
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to