Hi All,
Would appreciate if anyone could confirm/answer below queries from a very new to Web Services person.
1. As per the book the elements and attributes should be qualified.
<Envelope xlmns="http://envelope schema name"
xlmns:mi="valid namespace" >
<Header>
<mi:HB1 actor="some URI" />
</Header>
<Body>
<Fault>
<faultcode>Client</faultcode>
<faultstring/>
......
....valid content...
Is the above
soap msg correct regarding the below.
I am not qualifying any of the atrrib/element explicitly, will the above be considered a valid soap msg?
Can we give faultstring as empty element as I gave above just like we can give empty detail element.
2 .On page 120:-
There is one statement which says
"Client fault will be generated if the Body elem. contains the elem./namespaces that receiver does not recognise."
Does that mean Client fault will not be generated when the above statement applies to Header elem?
3.
Assume in the below the msg is transmitted successfully to the receiver.
Are the below combinations correct reagrding the HTTP codes.
One way +succesful processing :- 200 OK
Onw way+ unsuccesful processing :- 200 Accepted
When can a Req/Res mode give the 200 Accepted code?
4.
Page 91:- BP requires the appl. specific elements in the Body to be qualified (prefix/default namespace).
What if the header block elements are not qualified(prefix/default ns).Will that not be an invalid soap msg?
Thanks ....