File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes weblogic webservice invocation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "weblogic webservice invocation error" Watch "weblogic webservice invocation error" New topic

weblogic webservice invocation error

droid singular

Joined: Apr 09, 2010
Posts: 1
Hi all,
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></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:

Any advice will be highly appreciated.
I agree. Here's the link:
subject: weblogic webservice invocation error
Similar Threads
NumberFormatException: For input string: "" in XsTypeConverter
oracle date between into java.sql.timestamp
Problems with hibernate and mysql?
JDBC template outer join and cast(@myValue AS date)