• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Conflict with WS-1 BP and WSDL 1.1 spec

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure, thanks for your reply.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic