cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Piraccini (JIRA)" <>
Subject [jira] Created: (CXF-1407) Item element with xmlns="" in Exception with arrays of compex objects
Date Sun, 27 Jan 2008 20:03:35 GMT
Item element with xmlns="" in Exception with arrays of compex objects

                 Key: CXF-1407
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0.4
         Environment: Linux, java1.6.0_02
            Reporter: Marco Piraccini

Consider an exception with an array of objects. If  i send a soap message:

<soapenv:Envelope xmlns:soapenv="" xmlns:ser="http://server.hw.demo/">

The answer is:

<soap:Envelope xmlns:soap="">
            <ns1:ComplexException xmlns:ns1="http://server.hw.demo/">
               <reason xmlns:ns2="http://server.hw.demo/">Test</reason>
               <beans xsi:type="ns2:myBeanArray" xmlns:ns2="http://server.hw.demo/" xmlns:xsi="">

Notice that the item element is with no namespace (correct).
The problem is that, after the first soap message sent, if i request the service wsdl (for
example pointing the browser at http://localhost:9000/helloWorld?wsdl), all the subsequent
answers are with a different (and wrong) response:

<soap:Envelope xmlns:soap="">
            <ns1:ComplexException xmlns:ns1="http://server.hw.demo/">
               <reason xmlns="http://server.hw.demo/">Test</reason>
               <beans xsi:type="myBeanArray" xmlns="http://server.hw.demo/" xmlns:xsi="">
                  <item xmlns="" xmlns:ns3="http://server.hw.demo/">

In the attachment there is a simple project to reproduce the problem.


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message