cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Resolved] (CXF-2764) CXF Client Side Duplication of targetnamespace
Date Mon, 11 Apr 2011 13:17:05 GMT


Daniel Kulp resolved CXF-2764.

       Resolution: Cannot Reproduce
    Fix Version/s: Invalid

I'm going to mark this resolved as I'm 99% possitive this was fixed a long time ago and a
request for more information has gone unanwered for over a year.

> CXF Client Side Duplication of targetnamespace
> ----------------------------------------------
>                 Key: CXF-2764
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.2.7
>         Environment: Windows XP
>            Reporter: Seamus Loftus
>             Fix For: Invalid
> I am hosting a webservice and a webapp on the same server, generated from wsdl2java.
I can contact the service just fine through SoapUI and it returns a single namespace declaration
when posted to the live server on AIX, but when I am working locally and use SoapUI it generates
two instances of xlmns="" instead of a single one in my xml. I have copied below an example
xml file:
> <soap:Envelope xmlns:soap=""><soap:Body>

> <SendResponse xmlns="" xmlns:ns2="">

> <Receipt> 
> <MyReceipt xmlns:ns3="" xmlns="" xmlns="" xmlns:ns6=""
>   <ReceiptHeader> 
>     <ReceiptTimestamp>2010-04-13T08:27:03.036-04:00</ReceiptTimestamp> 
>   </ReceiptHeader> 
>   <TransmissionReceipt> 
>     <TransmissionID>testuser</TransmissionID> 
>     <TransmissionTimestamp>2010-04-13T08:27:03.036-04:00</TransmissionTimestamp>

>   </TransmissionReceipt> 
> </MyReceipt></Receipt></SendResponse></soap:Body></soap:Envelope>

> So when it unmarshalls, it fails badly when I use my webapp as a webservice client. Why
is CXF adding a second namespace? I watched the debug all the way through until the return
and it looked 100% perfect on the webservice side, no duplicate name space at all. It does
not happen until the return of the xml to the client side.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message