This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Error in SOAP response when webservice is deployed in Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Error in SOAP response when webservice is deployed in Weblogic" Watch "Error in SOAP response when webservice is deployed in Weblogic" New topic
Author

Error in SOAP response when webservice is deployed in Weblogic

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
The webservice is deployed onto a Weblogic 8.1 server.

WSDL file:


SOAP response :



If minOccurs=1,then the element should be displayed in the SOAP response even if the element does not have any value.
If minOccurs=0,if the element does not have any value,then the element must not be displayed in the SOAP response.

But as shown in the code,the element is displayed in the SOAP response with xsi:nil attribute set to true,when the element has minOccurs=0 in WSDL file.

Please let me know why is this problem coming.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Error in SOAP response when webservice is deployed in Weblogic
 
Similar Threads
Java class to WSDL
XmlException on calling WSDL2Java
Response <item xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
Why do I see different wsdl and xsd generated for webservice through wsgen.
Get java.util.List from webservice