[
https://issues.apache.org/jira/browse/CXF-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/CXF-2764
> 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="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>
> <SendResponse xmlns="http://myendpoint.org/service"
> xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>
> <Receipt>
> <MyReceipt xmlns:ns3="http://myendpoint.org/service" xmlns="" xmlns=""
> xmlns:ns6="http://myapp.myserver.net/myservicegroup/myservice/V01"
> receiptVersion="V01">
> <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: http://www.atlassian.com/software/jira