Page 1 of 1
About Question enthuware.ocejws.v6.2.151 :
Posted: Mon Jun 29, 2015 2:30 am
by fabiolino
what you say is correct and I would add sun-jaxws.xml with enable-mtom="true"
Re: About Question enthuware.ocejws.v6.2.151 :
Posted: Mon Jun 29, 2015 2:40 am
by fabiolino
Sorry, i just read again the question and i see "client side".
Re: About Question enthuware.ocejws.v6.2.151 :
Posted: Mon Jun 29, 2015 2:54 am
by fjwalraven
Hi Fabiolino,
Did you update the Question Bank recently? Question 2.151 has been changed in the last major update.
Regards,
Frits
Re: About Question enthuware.ocejws.v6.2.151 :
Posted: Wed Jul 08, 2015 8:43 am
by fabiolino
...
Content-Type: //3 application/xop+xml; charset=utf-8;type=//4 "application/soap+xml"
//4 should be type="text/xml" ?
Re: About Question enthuware.ocejws.v6.2.151 :
Posted: Wed Jul 08, 2015 2:40 pm
by fjwalraven
//4 should be type="text/xml" ?
No, that is true for SwA. For MTOM it is:
Regards,
Frits
Re: About Question enthuware.ocejws.v6.2.151 :
Posted: Thu Jul 09, 2015 2:06 am
by fabiolino
hi,
see 6.2.137
...
and response 2:
...
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
Re: About Question enthuware.ocejws.v6.2.151 :
Posted: Thu Jul 09, 2015 3:17 pm
by fjwalraven
Good catch! You are correct, this is different in question 2.137.
I have looked into it and it has to do with the SOAP version of the specifications.
SOAP v1.1 MTOM -> uses type="text/xml"
SOAP v1.2 MTOM -> uses type="application/soap+xml"
(check
https://jax-ws.java.net/2.2.1/docs/mtom-swaref.html)
This version of the WSD exam only tests knowledge of SOAP v1.1.
I will change this question (2.151)
Thank you for your feedback!
Frits