• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Conflict with WS-1 BP and WSDL 1.1 spec

 
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
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic