Forum Discussion
Torti
Cirrus
Nov 28, 2012ASM - SOAP attachment problem
Hi,
is anyone familiar with SOAP attachments?
I try to implement this in a webservice, but I allways get the error message: xop:Include, Element is not not defined in schema
Do...
Torti
Cirrus
Nov 29, 2012sry,
we are running v11.2
a request looks like this:
POST /webservice HTTP/1.1
Accept-Encoding: gzip,deflate
SOAPAction: "soapaction"
Content-Type: multipart/related; type="application/xop+xml"; start=""; start-info="text/xml"; boundary="----=_Part_24_10162050.1354098068576"
MIME-Version: 1.0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: host
Content-Length: 155375
------=_Part_24_10162050.1354098068576
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: 8bit
Content-ID:
....
....
------=_Part_24_10162050.1354098068576
Content-Type: application/pdf; name=file.pdf
Content-Transfer-Encoding: binary
Content-ID:
Content-Disposition: attachment; filename="file.pdf"
%PDF-1.3
%�쏢
7 0 obj
<>
stream
....
Violation is:
XML data does not comply with schema or WSDL document
XML Bufferxop:Include
DescriptionMalformed document - schema validation failed, Element is not defined in schema
ContextURL
Its a request like w3c recommendation @ http://www.w3.org/TR/2005/REC-xop10-20050125/
(example 2)
In the schema, we only define:
Base64 coded binary
But this seems to be wrong.
regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects