I want to present an instance of XForms in a web service as an SOAPAttach attachment . However, from the XForms 1.1 specification:
11.11.3 HTTP SOAP Binding
The attribute method submission must be set to getor postto access the SOAP HTTP binding.
method
submission
get
post
I understand this means that the method multipart-post(necessary for SOAPAttach) cannot be used with HTTP SOAP binding?
multipart-post
11.9.6 Serialization as Partial / Associated
Additional Part RequirementsOne piece for each node with a data type xsd:anyURI, populated by loading with:
Additional Part Requirements
xsd:anyURI
Since it explicitly states “populated by loading”, I suppose that means that XML instance data or other generated content can only appear in the first part of the body (unlike SOAPAttach requirements).
Do I understand correctly that each of these restrictions does not allow (initially) to present an instance of XForms as such an attachment; and therefore, do you need to create such serialization (for example, by processing an event xforms-submit-serialize)? Is there a standard way to do this or a library that could help?
xforms-submit-serialize
I am not a SOAP expert, but I think you are right.
Orbeon Forms " ", , xforms:upload , , , XForms 1.1, , .
xforms:upload
, , XForms , multipart/related , .
multipart/related
.