Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Webtools incubator » Error creating a java web service
Error creating a java web service [message #435077] Fri, 04 July 2008 05:21
Eclipse User
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:new build for RC1?
Next Topic:Error creating a java web service
Goto Forum:
  


Current Time: Thu Apr 17 17:42:39 EDT 2014

Powered by FUDForum. Page generated in 0.01500 seconds