This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I got bunch of webservices deployed on weblogic 9.2.
For one webservice I'm doing 2 calls with only one line difference (i'm setting email to null). This call is coming through without error:
Note - email is set <java:EmailAddress>firstname.lastname@example.org</java:EmailAddress>
This one is failing:
Note - email is set to nil <java:EmailAddress nil="true" />
However I got following in wsdl:
such definition of an element states that it could be null or even omitted.
As far I could observe error occure on parsing of message somewhere in the middle of the weblogic handlers chain (however there is no any non-standard handlers for all webservices) and before my webservice implementation is invoked, but I'm not sure what is the root cause and how to fix the situation and let null values to be passed.
this one is the exception thrown,
I just can't find out what does it mean - 'can't have mixed content'.
Below are the full logs of call with email set to null: