I've attached my wsdd file and the generated wsdl file. It would be fine if someone could take a look onto it before I jump out of the window.
thanks, Andre [EMAIL PROTECTED] wrote : > Hi, > > I try to use CASTOR for object ser/deserialization with AXIS. While searching > the mailing list I found a link to the AXIS cvs, which has a few classes for > this job. > I have trouble getting WSDL2JAVA generate my stub classes. I always get the > following error: > > http://localhost:9080/axis/services/LoginManager?wsdl > java.io.IOException: Type {urn:LoginResponse}LOGIN is referenced but not > defined. > at > org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefin....... > > I thought that wsdl2java will just refer to my already (with castor) generated > custom java classes? > > Any thoughts on that ? > > cheers, > > Andre > > ____________________________________________________ > Kambrium.net Technologies, http://www.kambrium.net ____________________________________________________ Kambrium.net Technologies, http://www.kambrium.net
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="urn:LoginResponse" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:LoginResponse" xmlns:intf="urn:LoginResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:message name="loginRequest"> <wsdl:part name="userid" type="xsd:string"/> <wsdl:part name="passwd" type="xsd:string"/> </wsdl:message> <wsdl:message name="loginResponse"> <wsdl:part name="loginReturn" type="intf:LOGIN"/> </wsdl:message> <wsdl:portType name="LoginManager"> <wsdl:operation name="login" parameterOrder="userid passwd"> <wsdl:input message="intf:loginRequest" name="loginRequest"/> <wsdl:output message="intf:loginResponse" name="loginResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="LoginManagerSoapBinding" type="intf:LoginManager"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="login"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="loginRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:LoginResponse" use="encoded"/> </wsdl:input> <wsdl:output name="loginResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:LoginResponse" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="LoginManagerService"> <wsdl:port binding="intf:LoginManagerSoapBinding" name="LoginManager"> <wsdlsoap:address location="http://localhost:9080/axis/services/LoginManager"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
deploy_loginmanager.wsdd
Description: Binary data
