Hi,
i am generating webservices from existing esdl file
i am using axis framework for generatring wsdl to
java but i am getting error like this'
[axis-wsdl2java] java.io.IOException: Type {http://lang.java}Exception is refere
nced but not defined.
[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.checkFor
Undefined(SymbolTable.java:665)
[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.add(Symb
olTable.java:545)
[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate
(SymbolTable.java:518)
[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate
(SymbolTable.java:495)
[axis-wsdl2java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Pars
er.java:361)
[axis-wsdl2java] at java.lang.Thread.run(Thread.java:534)
my WSDL file like this
<?xml version="1.0" encoding="UTF-8"?>
<wsdl

efinitions targetNamespace="http://localhost:8080/axis/services/InquiryFacade"
xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/InquiryFacade"
xmlns:intf="http://localhost:8080/axis/services/InquiryFacade"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://policybo.inquirymgmtbo.businessobject.service.portal.mnyl.com"
xmlns:tns2="http://coreobject.businessobject.core.service.portal.mnyl.com"
xmlns:tns3="http://util.java" xmlns:tns4="http://lang.java"
xmlns:tns5="http://exception.core.service.portal.mnyl.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 targetNamespace="http://coreobject.businessobject.core.service.portal.mnyl.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://localhost:8080/axis/services/InquiryFacade"/>
<import namespace="http://policybo.inquirymgmtbo.businessobject.service.portal.mnyl.com"/>
<import namespace="http://util.java"/>
<import namespace="http://exception.core.service.portal.mnyl.com"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="UserDTO">
<sequence>
<element name="agentCode" nillable="true" type="xsd:string"/>
<element name="agentGOCode" nillable="true" type="xsd:string"/>
<element name="agentZone" nillable="true" type="xsd:string"/>
<element name="companyID" nillable="true" type="xsd:string"/>
<element name="userCode" nillable="true" type="xsd:string"/>
<element name="userId" nillable="true" type="xsd:string"/>
<element name="userLocale" nillable="true" type="xsd:anyType"/>
<element name="userName" nillable="true" type="xsd:string"/>
<element name="userRole" nillable="true" type="xsd:string"/>
<element name="userRoleSub" nillable="true" type="xsd:string"/>
<element name="userSet" type="xsd:boolean"/>
</sequence>
</complexType>
<complexType abstract="true" name="BusinessRequestDTO">
<sequence>
<element name="user" nillable="true" type="tns2:UserDTO"/>
</sequence>
</complexType>
<complexType abstract="true" name="BusinessResponseDTO">
<sequence>
<element name="addlInfo" nillable="true" type="xsd:string"/>
<element name="user" nillable="true" type="tns2:UserDTO"/>
</sequence>
</complexType>
<complexType name="BaseBussinessDTO">
<complexContent>
<extension base="tns2:BusinessResponseDTO">
<sequence/>
</extension>
</complexContent>
</complexType>
</schema>
<schema targetNamespace="http://policybo.inquirymgmtbo.businessobject.service.portal.mnyl.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://localhost:8080/axis/services/InquiryFacade"/>
<import namespace="http://util.java"/>
<import namespace="http://coreobject.businessobject.core.service.portal.mnyl.com"/>
<import namespace="http://exception.core.service.portal.mnyl.com"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="PolicySearchDTO">
<complexContent>
<extension base="tns2:BusinessRequestDTO">
<sequence>
<element name="BAgent" type="xsd:boolean"/>
<element name="agentID" nillable="true" type="xsd:string"/>
<element name="amountRangeIndicator" nillable="true" type="xsd:string"/>
<element name="clientDOB" nillable="true" type="xsd

ateTime"/>
<element name="clientFirstName" nillable="true" type="xsd:string"/>
<element name="clientID" nillable="true" type="xsd:string"/>
<element name="clientLastName" nillable="true" type="xsd:string"/>
<element name="clientMiddleName" nillable="true" type="xsd:string"/>
<element name="clientName" nillable="true" type="xsd:string"/>
<element name="dateIndicator" nillable="true" type="xsd:string"/>
<element name="fromRange" nillable="true" type="xsd

ateTime"/>
<element name="grossAmountMax" nillable="true" type="xsd:anyType"/>
<element name="grossAmountMin" nillable="true" type="tns4:Number"/>
<element name="policyId" nillable="true" type="xsd:string"/>
<element name="policyPlanType" nillable="true" type="xsd:string"/>
<element name="policyStatus" nillable="true" type="xsd:string"/>
<element name="premiumMode" nillable="true" type="xsd:string"/>
<element name="processDate" nillable="true" type="xsd

ateTime"/>
<element name="toRange" nillable="true" type="xsd

ateTime"/>
<element name="writingAgentID" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="PolicyListDTO">
<complexContent>
<extension base="tns2:BaseBussinessDTO">
<sequence>
<element name="policyListSearchDTO" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>
<schema targetNamespace="http://localhost:8080/axis/services/InquiryFacade" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://policybo.inquirymgmtbo.businessobject.service.portal.mnyl.com"/>
<import namespace="http://util.java"/>
<import namespace="http://coreobject.businessobject.core.service.portal.mnyl.com"/>
<import namespace="http://exception.core.service.portal.mnyl.com"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="ArrayOf_xsd_anyType">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
<schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://localhost:8080/axis/services/InquiryFacade"/>
<import namespace="http://policybo.inquirymgmtbo.businessobject.service.portal.mnyl.com"/>
<import namespace="http://util.java"/>
<import namespace="http://coreobject.businessobject.core.service.portal.mnyl.com"/>
<import namespace="http://exception.core.service.portal.mnyl.com"/>
<import namespace="http://lang.java"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="Vector">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://exception.core.service.portal.mnyl.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://localhost:8080/axis/services/InquiryFacade"/>
<import namespace="http://policybo.inquirymgmtbo.businessobject.service.portal.mnyl.com"/>
<import namespace="http://util.java"/>
<import namespace="http://coreobject.businessobject.core.service.portal.mnyl.com"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="PortalBaseException">
<sequence>
<element name="additionalMsg" nillable="true" type="xsd:string"/>
<element name="errorCode" type="xsd:int"/>
<element name="initialException" nillable="true" type="xsd:anyType"/>
<element name="initialMsg" nillable="true" type="xsd:string"/>
<element name="rootCause" nillable="true" type="tns4:Exception"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="PortalBaseException">
<wsdl

art name="fault" type="tns5

ortalBaseException"/>
</wsdl:message>
<wsdl:message name="getPolicyListResponse">
<wsdl

art name="getPolicyListReturn" type="tns1

olicyListDTO"/>
</wsdl:message>
<wsdl:message name="getPolicyListRequest">
<wsdl

art name="in0" type="tns1

olicySearchDTO"/>
</wsdl:message>
<wsdl

ortType name="InquiryFacade">
<wsdl

peration name="getPolicyList" parameterOrder="in0">
<wsdl:input message="impl:getPolicyListRequest" name="getPolicyListRequest"/>
<wsdl

utput message="impl:getPolicyListResponse" name="getPolicyListResponse"/>
<wsdl:fault message="impl

ortalBaseException" name="PortalBaseException"/>
</wsdl

peration>
</wsdl

ortType>
<wsdl:binding name="InquiryFacadeSoapBinding" type="impl:InquiryFacade">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl

peration name="getPolicyList">
<wsdlsoap

peration soapAction=""/>
<wsdl:input name="getPolicyListRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/InquiryFacade" use="encoded"/>
</wsdl:input>
<wsdl

utput name="getPolicyListResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/InquiryFacade" use="encoded"/>
</wsdl

utput>
<wsdl:fault name="PortalBaseException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="PortalBaseException" namespace="http://localhost:8080/axis/services/InquiryFacade" use="encoded"/>
</wsdl:fault>
</wsdl

peration>
</wsdl:binding>
<wsdl:service name="InquiryFacadeService">
<wsdl

ort binding="impl:InquiryFacadeSoapBinding" name="InquiryFacade">
<wsdlsoap:address location="http://localhost:8080/axis/services/InquiryFacade"/>
</wsdl

ort>
</wsdl:service>
</wsdl

efinitions>