- This topic has 4 replies, 3 voices, and was last updated 15 years, 10 months ago by Brian Fernandes.
-
AuthorPosts
-
jthomas8ParticipantI am running MyEclipse 7.0 with Eclipse 3.4 when I go to use the Web Services Explorer to view a Web Service I created following the “Developing JAX-WS Web Services & Clients” tutorial I get the following error under “Status” after opening my WSDL file.
IWAB0380E Errors were encountered while validating XML schemas. XSD: The location 'http://localhost:8080/myWS2/CalculatorPort?xsd=2' has not been resolved because the import is unused XSD: There is no xmlns declaration for namespace 'http://jaxb.dev.java.net/array' IWAB0381I http://localhost:8080/myWS2/CalculatorPort?WSDL was successfully opened.
Please advise. Thank you.
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Did you setup MyEclipse using the All in One installer?
Did you follow the exact steps mentioned in the tutorial ?
jthomas8ParticipantYes I followed the instructions and everything worked fine. Then I modified the “Calculator” class to return an array. It appears that the namespace – “‘http://jaxb.dev.java.net/array” that the .xsd files are using that are auto generated is not valid.
Can you verify “‘http://jaxb.dev.java.net/array” is a valid namespace?
*** Date:
Friday, February 13, 2009 10:19:36 AM CST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.0
Build id: 7.0-20081201Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
jthomas8ParticipantAny update? Thanks.
Brian FernandesModeratorjthomas,
1) You don’t need to worry about these as they are strict validation warnings.
2) The namespace “‘http://jaxb.dev.java.net/array” is very likely defined in your WSDL file itself, which is OK.
3) What style did you use? If you use document/wrapped, the array would be managed differently and you would not see these messages.Hope this helps.
-
AuthorPosts