Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330422 - Issues with WSDL where schema has types referring to the namespace defined at the definition level and not at the schema level
Summary: Issues with WSDL where schema has types referring to the namespace defined at...
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.wsdl CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 23:06 EST by seth CLA
Modified: 2010-11-18 17:14 EST (History)
0 users

See Also:


Attachments
Teste Case Sample (2.49 KB, application/xml)
2010-11-18 17:14 EST, seth CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description seth CLA 2010-11-16 23:06:54 EST
Build Identifier: 20100218-1602

If a namespace xmlns:somenamespace is defined at wsdl level and inline schema type referes to the namespace, eclipse demands that namespace should also be defined at the inline schema level. It should not be necessary and eclipse should be able to resolve the namespace in inline schema from the wsdl namespaces.

Reproducible: Always

Steps to Reproduce:
1.Create a WSDL with definition defining namespace xmlns:ti="some uri"
2.Define inline schema and create a type with basetype referring to namespace ti. 
     <complextype name="name" extension="ti:someType". Do not define xmlns:ti="some uri at the schema level"
3.Eclipse fails to resolve base type for complex type name.
Comment 1 Keith Chong CLA 2010-11-18 17:01:41 EST
Hi Seth, can you please attach your test case?  Thanks.
Comment 2 seth CLA 2010-11-18 17:14:53 EST
Created attachment 183434 [details]
Teste Case Sample

I observed that since schema does not define xmlns:s0="http://microsoft.com/webservices/"  classA could not be resolved. <s:element minOccurs="0" maxOccurs="1" name="ReturnDeadNameSpaceResult" type="s0:ClassA" />