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...
Mike_Maher
Nimbostratus
Nov 29, 2012So I will admit I am a bit new to XML, but here goes.
So it appears your problem is with this line in your request, the ASM thinks that xop:Include is an element, and since xop:Included is not a defined element in your schema attached to the XML Profile that is why you are getting blocked.<sch:inhalt><xop:Include href="cid:file.pdf"/>sch:inhalt>
When I look at the information on http://www.w3.org/TR/SOAP-attachments I can see why it thinks that is an element as it matchs the format I am seeing in examples here. Based just upon this it would appear the correct format for this line should be.
<inhalt href="cid:file.pdf"/>
However considering what you are wanting to do with base64 encoding I am not sure that is entirely correct.
Lastly from an ASM policy perspective you may want to make sure that Allow SOAP Attachments is turned on in your XML Profile.
Hope this helps a little and I am not telling you what you already know.
MikeHelp 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