Why do you care? From an XML standpoint, they are exactly the same?

I ask you this even though I'm the person who added the various tricks
to CXF to allow this. But it's a pain in the tail, and I don't
recommend it unless you really badly need it.

On Tue, Dec 30, 2008 at 6:53 PM, William Blackburn
<[email protected]> wrote:
> I have successfully created a wsdl-first web service using wsdl2java and CXF
> 2.2
>
> I am now testing and see that the default namespace in the soap
> requests/responses generated by cxf' client/server does not use an explicit
> namespace prefix, for example a CXF client might emit:
>
> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";>
>   <soap:Body>
>      <RetrieveFormRequest xmlns="urn:ihe:iti:rfd:2007">
>         <formID>_dummy</formID>
>         <encodedResponse>true</encodedResponse>
>         ... etc...etc...
>
> While the server would answer:
>
> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";>
>    <soap:Body>
>        <RetrieveFormResponse xmlns="urn:ihe:iti:rfd:2007">
>            <form>
>                <Structured>
>                ...etc...etc...
>
> I want the elements representing my various types to be explicitly prefixed,
> as in:
>
> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";
> xmlns:rfd="urn:ihe:iti:rfd:2007">
>    <soap:Body>
>        <rfd:RetrieveFormResponse >
>            <rfd:form>
>                <rfd:Structured>
>                ...etc...etc...
>
> Is there any way to make this happen?
>
> Thanks very much.
>

Reply via email to