cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mao <>
Subject Re: Namespace is out of track in runtime
Date Tue, 17 Apr 2007 05:15:16 GMT

In AbstractEndpointFactory around line 181, we hard coded the 
transportId to transportId = "";
Which is not ok when it's SOAP12, in which case, it should be 
transportId = "";
I will remove this line, and fix the following testcases:


in these two tests, we use set ""  
as the transportId, which i think should be changed to

We really need to put the namespaces into one place.

Let me know if I'm wrong.


James Mao wrote:
> I can see a lot of hard coded namespace in 
> AbstractEndpointFactory/SOAPBindingFactory/ServerWSDLBuilder, i think 
> we should put those in one place
> I don't know what's "" means
> In AbstractEndpointFactory it's binding, but in SoapTransportFactory 
> it's transportid
> From the java2wsdl we used the AbstractEndpointFactory, from the 
> generated wsdl, i can see lots of namespace in definition, some of 
> them can be removed
> e.g xmlns:soap="", i don't know what 
> is it, seems never used in the whole wsdl.
> Whatever soap version we used,  we put both soap11/soap12 namespaces 
> in definition.
> I will add the build(HashSet<String, String> ns) to 
> ServiceWSDLBuilder, after that we don't need hard code the namespaces 
> in ServiceWSDLBuilder
> Cheers,
> James.

View raw message