This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 184959 - WS-I compliance statement R2717 should be checked while validating wsdl
Summary: WS-I compliance statement R2717 should be checked while validating wsdl
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 09:25 UTC by Vitaly Bychkov
Modified: 2010-06-12 06:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
The sample project (6.05 KB, application/zip)
2010-04-26 09:25 UTC, Vitaly Bychkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Bychkov 2010-04-26 09:25:14 UTC
Created attachment 98006 [details]
The sample project

Currently there is no any warnings for the wsdl violating WS-I R2717 statement.

R2717  An rpc-literal binding in a DESCRIPTION  MUST have the namespace attribute specified, the value of which MUST be an absolute URI, on contained  soapbind:body elements. 

The problem is that correspondent soap:Body instance can have as qualified root element as unqualified i.e. runtime behavior isn't defined and in case client and web-service instance aren't WS-I complient they may not to interact each other.

The sample project with wsdl violating R2717 is in attachment.

One of the possible solution:
replace
<soap:body use="literal"/>
with
<soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/WS-I_R2717/src/WS-I_R2717violation"/>

in binding/operation/input and binding/operation/output
Comment 1 Vladimir Yaroslavskiy 2010-06-11 08:57:36 UTC
fixed.
Comment 2 Quality Engineering 2010-06-12 06:52:26 UTC
Integrated into 'main-golden', will be available in build *201006120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0116118c6f03
User: Vladimir Yaroslavskiy <yaroslavskiy@netbeans.org>
Log: [Bug #184959] WS-I compliance statement R2717 should be checked while validating wsdl