File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "weblogic webservice invocation error" Watch "weblogic webservice invocation error" New topic
Author

weblogic webservice invocation error

droid singular
Greenhorn

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>aaa@sssdddaa.com</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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: weblogic webservice invocation error
 
Similar Threads
NumberFormatException: For input string: "" in XsTypeConverter
oracle date between
java.util.date into java.sql.timestamp
Problems with hibernate and mysql?
JDBC template outer join and cast(@myValue AS date)