Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conflict with WS-1 BP and WSDL 1.1 spec

 
Samuel Giannotti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Samuel Giannotti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, thanks for your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic