File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to write Fault message in WSDL file
Joined: Feb 22, 2006
Mar 05, 2007 05:14:00
I want to know about the fault messages in WSDL file
and How can we write fault message
Joined: Nov 01, 2006
Mar 11, 2007 23:22:00
I am also new to web services and learning it. I think you don't need to write WSDL on your own. There are lots of tools availble for creating WSDL from
I am reading RMH book on web services. IN that book they have mentioned as below for declaring fault messages in the WSDL:
<types> <xsd:element name="InvalidISBNFaultDetail"> <xsd:complexType> <xsd:sequence> <xsd:element name="offending-value" type="xsd:string"/> <xsd:element name="conformance-rules" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </types> <message name="InvalidISBNFaultDetail"> <part name="error_message" element=mh:InvalidISBNFaultDetail"/> </message>
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
I agree. Here's the link:
subject: How to write Fault message in WSDL file
Proper way to define a fault in a WSDL
Question about RMH book UDDI publishing API
Axis 1.4 does not validate input parameters?
Multiple faults in WSDL???
Using SOAP fault messages
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014