facebook

Web Services Explorer – Error

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #294651 Reply

    jthomas8
    Participant

    I 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.

    #294669 Reply

    Loyal Water
    Member

    Can 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 ?

    #294800 Reply

    jthomas8
    Participant

    Yes 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 Workbench

    Version: 7.0
    Build id: 7.0-20081201

    Eclipse 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

    #294865 Reply

    jthomas8
    Participant

    Any update? Thanks.

    #294924 Reply

    Brian Fernandes
    Moderator

    jthomas,

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Web Services Explorer – Error

You must be logged in to post in the forum log in