私はいつもエラーが発生します
HTTP Status 500 - Request processing failed; nested exception is org.springframework.ws.soap.saaj.SaajSoapEnvelopeException: Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
次のような2つの複雑なタイプでsoapRequestを実行しようとすると:
<xs:element name="blub">
<xs:complexType>
<xs:sequence>
<xs:element name="mainheader" type="header" />
<xs:element name="mainbody" type="body" />
</xs:sequence>
</xs:complexType>
</xs:element>
Marshaller として org.springframework.oxm.jaxb.Jaxb2Marshaller を使用し、xsd には org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection を使用します。
誰にもアイデアがありますか?