Skip to content

DomContentHandler throwing NullpointerExption on document [SWS-61] #220

Closed
@gregturn

Description

@gregturn

Ivan Cavanaugh opened SWS-61 and commented

The DomContentHandler used by the CastorMarshaller is throwing NullPointerException on document property in the class because it is not initialized.

The problem is when using org.springframework.ws.soap.saaj.SaajSoapMessageContextFactory in the Servlet definition and defining the CastorMarshaller in the Endpoint definitions the node passed the the DomContentHandler is not of type org.w3c.Document but of type com.sum.xml.messaging.saaj.soap.impl.BodyImpl.

The propesed fix to render the marshalling in a working state is attached to the issue.

Please include this fix in the next version releases.


Affects: 1.0 M3

Attachments:

Referenced from: commits eae8694

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions