IWAB0399E error - Type null referenced but not defined

114 views
Skip to first unread message

Atiz

unread,
May 22, 2008, 3:42:26 AM5/22/08
to Java Web Application
Hi, I am using the web service wizard to create a java bean 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.

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://authentication.security.common.apps.sa.com"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://authentication.security.common.apps.sa.com"
xmlns:intf="http://authentication.security.common.apps.sa.com"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://valueobject.common.apps.sa.com"
xmlns:tns3="http://exception.security.common.apps.sa.com"
xmlns:tns4="http://exceptions.common.apps.sa.com"
xmlns:tns7="http://exception.useradmin.apps.sa.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:types>
<schema
targetNamespace="http://valueobject.common.apps.sa.com"
xmlns="http://www.w3.org/2001/XMLSchema">

On testing the with web service explorer, i get:

IWAB0380E Errors were encountered while validating XML schemas.
XSD: The location '' has not been resolved
XSD: The location '' has not been resolved
XSD: Type reference 'http://
exceptions.common.apps.sa.com#AppsBaseException' is unresolved
XSD: The location '' has not been resolved
XSD: The location '' has not been resolved
XSD: Type reference 'http://
exceptions.common.apps.sa.com#AppsBaseException' is unresolved

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


Thanks for helping.
Atiz

Adriana

unread,
Jul 3, 2008, 8:08:10 AM7/3/08
to Java Web Application
Hi,

I have a similar problem.

Did you get solve it? Any information is welcomed.

Thanks for helping,

Adriana.
Reply all
Reply to author
Forward
0 new messages