Meaningless Drivel is fun!
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
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.

 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Error in SOAP response when webservice is deployed in Weblogic
 
It's not a secret anymore!