Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools incubator » Error creating a java web service
Error creating a java web service [message #562792] Fri, 04 July 2008 09:21
Eclipse UserFriend
Originally posted by: adrianaverdejo.gmail.com

Hi, I am using the web service wizard to create a java web
service but encountered the following error when the wizard tries to
parse the wsdl:

IWAB0399E Error in generating Java from WSDL java.io.IOException: Type
{http://www.w3.org/2001/XMLSchema}null is referenced but not defined.

IWAB0399E Error in generating Java from WSDL: java.io.IOException: Type
{http://manager.information.myproject.com}Catalogue is referenced but not
defined.

Why is it saying that null is referenced but not defined? Just in
case, below is a snippet of the wsdl generated:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://impl.is.information.myproject.com"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://impl.is.information.myproject.com"
xmlns:intf="http://impl.is.information.myproject.com"
xmlns:tns1="http://handler.information.myproject.com"
xmlns:tns2="http://exceptions.information.myproject.com"
xmlns:tns3="http://manager.information.myproject.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema elementFormDefault="qualified"
targetNamespace="http://impl.is.information.myproject.com"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://handler.information.myproject.com"/>
<import namespace="http://exceptions.information.myproject.com"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://manager.information.myproject.com"/>
<element name="getGroundingService">
<complexType>

On testing the with web service explorer, I get:

IWAB0380E Errors were encountered while validating XML schemas.
XSD: The location '' has not been resolved because the import is unused
XSD: The location '' has not been resolved
XSD: Type reference 'http://manager.information.myproject.com#Manager' is
unresolved
XSD: The location '' has not been resolved because the import is unused
XSD: The location '' has not been resolved because the import is unused
XSD: The location '' has not been resolved because the import is unused
XSD: The location '' has not been resolved because the import is unused
XSD: The location '' has not been resolved because the import is unused
XSD: The location '' has not been resolved because the import is unused


Is it because the Manager.java cannot be found? In the
reference path, I have checked that the Manager.java is in
there.
How can I solve this?

Thanks for helping.
Adriana
Previous Topic:Error creating a java web service
Next Topic:incubator 1.0M2 (and M1) build?
Goto Forum:
  


Current Time: Tue Mar 19 05:26:22 GMT 2024

Powered by FUDForum. Page generated in 0.02255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top