aspose file tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes Conflict with WS-1 BP and WSDL 1.1 spec Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "Conflict with WS-1 BP and WSDL 1.1 spec" Watch "Conflict with WS-1 BP and WSDL 1.1 spec" New topic
Author

Conflict with WS-1 BP and WSDL 1.1 spec

Samuel Giannotti
Greenhorn

Joined: Nov 07, 2001
Posts: 4
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
Sure, thanks for your reply.
 
 
subject: Conflict with WS-1 BP and WSDL 1.1 spec
 
Threads others viewed
Doubt in JAX-WS 2.2 SPEC - Chapter 2
WS-I Basic Profile 1.1 Validation
Question for Mikalai Zaikin's Study Guide
Is the example given in the thread a valid one as per the WSDL specificiation?
SOAP - restriction to only one message part when using the type attribute
IntelliJ Java IDE