Page 1 of 1

About Question enthuware.ocejws.v6.2.140 :

Posted: Wed Jul 01, 2015 8:46 am
by fabiolino
Hi,
about question yuo said:
WS-PolicyAttachment defines three WSDL [WSDL 1.1] policy attachment points with Endpoint Policy Subject:
wsdl:portType
wsdl:binding
wsdl:port
A policy expression containing the Optimized Mime Serialization policy assertion MUST NOT be attached to a wsdl:portType; the Optimized Mime Serialization policy assertion specifies a concrete behavior whereas the wsdl:portType is an abstract construct.


What did you mean ?
I just run my ws (tomcat 7) with policy in portType and the response is ok.

Re: About Question enthuware.ocejws.v6.2.140 :

Posted: Wed Jul 01, 2015 9:05 am
by fjwalraven
This quoted part comes from the official MTOM specifications;
http://www.w3.org/Submission/WS-MTOMPolicy/

Check: chapter 3.3 Assertion Attachment
I just run my ws (tomcat 7) with policy in portType and the response is ok
The specifications are leading in this case. If a certain EE-server allows the MTOM Policy Assertion on the portType the application won't be portable.

Regards,
Frits