Closed glassfishrobot closed 17 years ago
@glassfishrobot Commented jungicz@java.net said: Created an attachment (id=837) war for reproducing this
@glassfishrobot Commented jungicz@java.net said: Created an attachment (id=838) sources of the war
@glassfishrobot Commented jungicz@java.net said: Created an attachment (id=839) sources of the war (correct mime-type)
@glassfishrobot Commented bhaktimehta said: Reassigning
@glassfishrobot Commented bhaktimehta said: Fixed by Mike and will be available as part of the nightly on 4/13 or in promoted b43
@glassfishrobot Commented File: webapp.zip Attached By: jungicz@java.net
@glassfishrobot Commented File: webapp.zip Attached By: jungicz@java.net
@glassfishrobot Commented File: WebApplication7.war Attached By: jungicz@java.net
@glassfishrobot Commented Was assigned to bhaktimehta
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-2783
@glassfishrobot Commented Reported by jungicz@java.net
@glassfishrobot Commented Marked as fixed on Thursday, April 12th 2007, 8:46:13 am
gf-v2-b41
-have a xml schema (say A.xsd) which imports another schema (say B.xsd) using relative path in schemaLocation attribute -have a wsdl which imports first xml schema from above (A.xsd) -have a web module with a web service created from that wsdl -deploy web module -go to ws tester or try to create ws client for this service
=> in the log there you can see:
parsing WSDL... [ERROR] Failed to read the WSDL document: http://localhost:8080/WebApplication7/addressing.xsd, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not.
unknown location
[ERROR] http://localhost:8080/WebApplication7/addressing.xsd
unknown location
[WARNING] schema_reference.4: Failed to read schema document 'addressing.xsd',
because 1) could not find the document; 2) the document could not be read; 3)
the root element of the document is not .
line 4 of http://localhost:8080/WebApplication7/PRService?xsd=1
[WARNING] src-resolve: Cannot resolve the name 'wsa:EndpointReferenceType' to
a 'type definition' component.
line 123 of http://localhost:8080/WebApplication7/PRService?xsd=1
Invoking wsimport with http://localhost:8080/WebApplication7/PRService?WSDL
wsimport successful
and the creation of the ws tester/client fails
Workaround: include import for B.xsd directly in wsdl file, not only in A.xsd
Environment
Operating System: Linux Platform: PC
Affected Versions
[9.1pe]