SOAP 1.2. clearly states that exactly one body element must (!) be present.
The WS BP 1.1. clearly states that exactly zero or one elements of the soap:body element (R9981). Then it goes on to reference SOAP 1.1. as the standart to follow. SOAP 1.1. in contrast states that a body element must (!) be present. - kind of confusing....
What do you guys think will be accurate at the test?
Many thanks in advance!!
Mikalai Zaikin
Ranch Hand
Joined: Jun 04, 2002
Posts: 2950
posted
0
I'm not sure soap:Body is optional in WS-I BP 1.1 -- maybe I overlooked it.
Hi!
Allexicus, you are partially correct. This is what the WS-I Basic Profile 1.1 says about the presence of a SOAP body element in a SOAP envelope:
R9981 An ENVELOPE MUST have exactly zero or one child elements of the soap:Body element.
Note that the WS-I Basic Profile only concerns itself with SOAP 1.1!
My guess is that SOAP 1.2 was not finalized when the Basic Profile was written (this is also confirmed by the dates of the specification web pages I have seen).
The WS-I Basic profile is to be seen as a clarification of the SOAP, WSDL etc etc specifications, since, at times, they are not entirely clear. Also, issues and experiences concerning web service interoperability has arisen after the specifications were written and the Basic Profile attempts to capture these experiences and correct these issues.
Thus, if you read something in the SOAP specification and then the Basic Profile says something else, then the recommendation is to follow the Basic Profile,in order to be interoperable.
Best wishes!
This message was edited 1 time. Last update was at by Ivan Krizsan
udaykumar maddigatla
Ranch Hand
Joined: Feb 03, 2009
Posts: 69
posted
0
Hi
i too bit confused by seeing the BP 1.1 and SOAP 1.1 specifications.
Hi!
Which SOAP namespace to use depends on which version of SOAP you want to use. There are differences between the format of a SOAP 1.1 message and the format of a SOAP 1.2 message.
As it stands, if you use SOAP 1.2, you cannot claim that you conform to the WS-I Basic Profile version 1.1.
Best wishes!
udaykumar maddigatla
Ranch Hand
Joined: Feb 03, 2009
Posts: 69
posted
0
Hey, thanks for the prompt reply.
While writting the SCDJWS exam, did they specify the version in the questions?
Mikalai Zaikin
Ranch Hand
Joined: Jun 04, 2002
Posts: 2950
posted
0
udaykumar maddigatla wrote:Hey, thanks for the prompt reply.
While writting the SCDJWS exam, did they specify the version in the questions?
Hi !
They do not specify SOAP version, but the good news is that SCDJWS 5 questions based only on SOAP 1.1
Best regards,
MZ
udaykumar maddigatla
Ranch Hand
Joined: Feb 03, 2009
Posts: 69
posted
0
Hey
is the scdjws exam on soap 1.1?
in the scdjws exam objectivies i saw SOAP 1.2.
will you please clarify about this?
Mikalai Zaikin
Ranch Hand
Joined: Jun 04, 2002
Posts: 2950
posted
0
udaykumar maddigatla wrote:Hey
is the scdjws exam on soap 1.1?
in the scdjws exam objectivies i saw SOAP 1.2.
will you please clarify about this?
Hi !
Unfortunately, SCDJWS 5 objectives posted on Sun web-site are not accurate.