Hi,
I'm using spring ws 2.0.4 and castor 1.3.1, and I'm having a problem with the marshalling of a soap message, the marshalling produces the following output:
As you can see an element has an xsi:type attribute, but the xsi namespace it's not added, what do I have to do so that it outputs the namespace? I have checked and the suppressNamespaces flag is off.Code:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ls:infringementResponse xmlns:ls="http://www.bt.com/ls/schemas"> <ls:infringement xsi:type="ls:uncommunicatedInfringement"> <ls:infringementId>3</ls:infringementId <ls:infringementDate>2012-04-09T00:00:00.000-05:00</ls:infringementDate> <ls:infringementTypeId>2</ls:infringementTypeId> <ls:licenseId>3</ls:licenseId> <ls:startAt>2012-03-01T00:00:00.000-06:00</ls:startAt> <ls:endAt>2012-04-09T00:00:00.000-05:00</ls:endAt> </ls:infringement> </ls:infringementResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Thanks in advance,
Sebastian Montero


Reply With Quote
