Author
Conflict with WS-1 BP and WSDL 1.1 spec
Samuel Giannotti
Greenhorn
Joined: Nov 07, 2001
Posts: 4
posted Aug 04, 2004 23:15:00
0
Hi everybody, It seems there is a conflict between the two specifications WS-1 Basic Profile and WSLD 1.1 spec. In the BP there is a rule about WSDL document that says: A wsdl:message in a DESCRIPTION containing a wsdl art that uses the element attribute MUST refer, in that attribute, to a global element declaration. After this some samples about incorrect xml fragments are listed: <message name=�GetTradePriceInput�> <part name=�ticketSymbol� element=�xsd:string�/> <part name=�time� element=�xsd:timeInstant�/> </message> The explanation about the incorrect fragment says (incorrect because xsd:string is not a global element), but this xml fragment was extracted from WSDL 1.1 specification. Wich of them I�m supposed to trust for the exam? Thanks, Samuel Giannotti SCJP , SCWCD, SCEA
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
Of course the WS-I Basic Profile rules! BUT , the fact that the BP states such a rule does not mean that the WSDL spec is wrong, just that WSDL files must satisfy to that rule in order to be BP-compliant. Do you see the nuance?
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Samuel Giannotti
Greenhorn
Joined: Nov 07, 2001
Posts: 4
posted Aug 05, 2004 15:26:00
0
Sure, thanks for your reply.
subject: Conflict with WS-1 BP and WSDL 1.1 spec