axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "suresh" <sures...@vergiltech.com>
Subject WSDL2JAVA problem
Date Sat, 07 Sep 2002 09:12:52 GMT
Hi,
   I am trying to generate WSDL from the following wsdl


<?xml version='1.0' encoding='UTF-8'?>
<!--generated by GLUE-->
<definitions name='Test'
targetNamespace='http://www.themindelectric.com/wsdl/Test/'
xmlns:tns='http://www.themindelectric.com/wsdl/Test/'
xmlns:electric='http://www.themindelectric.com/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:http='http://schemas.xmlsoap.org/wsdl/http/'
xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'><types><schema
xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:tns='http://www.themindelectric.com/package/java.lang/'
targetNamespace='http://www.themindelectric.com/package/java.lang/'><com
plex
Type name='ArrayOfstring'><complexContent><restriction
base='soapenc:Array'><attribute ref='soapenc:arrayType'
wsdl:arrayType='string[]'/></restriction></complexContent></complexType>
</schema></types><message name='test30SoapIn'><part name='arg0'
xmlns:ns1='http://www.themindelectric.com/package/java.lang/'
type='ns1:ArrayOfstring'/><part name='arg1'
xmlns:ns1='http://www.themindelectric.com/package/java.lang/'
type='ns1:Integer'/><part name='arg2'
type='xsd:string'/></message><message name='test30SoapOut'><part
name='Result' type='xsd:string'/></message><portType
name='TestSoap'><operation name='test3' parameterOrder='arg0 arg1
arg2'><input name='test30SoapIn' message='tns:test30SoapIn'/><output
name='test30SoapOut'
message='tns:test30SoapOut'/></operation></portType><binding
name='TestSoap' type='tns:TestSoap'><soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/><operation
name='test3'><soap:operation soapAction='test3' style='rpc'/><input
name='test30SoapIn'><soap:body use='encoded'
namespace='http://tempuri.org/Test'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/></input><outp
ut name='test30SoapOut'><soap:body use='encoded'
namespace='http://tempuri.org/Test'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/></output></op
eration></binding><service name='Test'><documentation>Test web
service</documentation><port name='TestSoap'
binding='tns:TestSoap'><soap:address
location='http://192.168.1.10:8888/vergil/urn:test'/></port></service></
definitions>

When I try to do this I am getting the following error.

java.io.IOException: Type
{http://www.themindelectric.com/package/java.lang/}Int
eger is referenced but not defined.
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol
Table.java:485)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:385
)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:372)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:359)
        at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:247)
        at java.lang.Thread.run(Thread.java:484)
How do I fix this??

suresh


Mime
View raw message