Is OptimizedMimeSerialization part of WS-Policy spec?
We are working on some code for Indigo Interop PlugFest and came across this gem of a policy assertion.
Seeing "http://schemas.xmlsoap.org/ws/2004/09/policy/" one would Utf816FFFECharacterEncoding and OptimizedMimeSerialization are part of WS-Policy Specification. But guess what, they are *NOT* in the WS-Policy spec.
The first one is SUN's source code for JWSDP and the second one is a joint spec with Intel et al.
<wsp:Policy wsu:Id="BasicHttpBinding_IMtomTest_policy"> <wsp:ExactlyOne> <wsp:All> <wsoma:OptimizedMimeSerialization xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"/> <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <wsp:UsingPolicy/>Point #1:
Seeing "http://schemas.xmlsoap.org/ws/2004/09/policy/" one would Utf816FFFECharacterEncoding and OptimizedMimeSerialization are part of WS-Policy Specification. But guess what, they are *NOT* in the WS-Policy spec.
Point #2:
Even more interesting is there are just 2 google hits for OptimizedMimeSerialization:
- http://fisheye.cenqua.com/java.net/viewrep/~raw,r=1.10.4.1/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/wsdl/parser/WSDLConstants.java
- http://specs.xmlsoap.org/ws/2005/05/devprof/devicesprofile.pdf
The first one is SUN's source code for JWSDP and the second one is a joint spec with Intel et al.
So how are we mere mortals supposed to understand the meaning of these 2 assertions in Indigo/WCF...go figure :)