Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in generating client stub

 
hema singh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to generate a client stub out of a provided wsdl file.However the wsdl file does not have the soap:fault name attribute. Something like below
(......
<wsdl:fault name='ServiceException'>
<soap:fault
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
namespace = 'http://www.csapi.org/wsdl/parlayx/third_party_calling'
use='encoded'/>
</wsdl:fault>
</wsdl peration>
....)
It hence gives an error while parsing the wsdl file saying "There is no name attribute found for soap:fault in binding operation ".Is the soap:fault name a required attribute in the wsdl file if there are user defined exceptions in the web service?
[ May 10, 2004: Message edited by: hema singh ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic