Please post the method signature.... --- Tony Thompson <[EMAIL PROTECTED]> wrote: > I am using Axis 1.1RC2 and I am having an issue with an exception. When > I request the wsdl for my service, I get the following error on the web > server: > > - The class java.lang.Throwable is defined in a java or javax package > and cannot > be converted into an xml schema type. An xml schema anyType will be > used to de > fine this class in the wsdl file. > > This would be OK except the wsdl that is generated actually maps it to > a type="tns2:Throwable". I have attached my wsdl. > > Is this an issue with Axis or do I need to do something to get around > this? > > Thanks. > Tony > > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:definitions > targetNamespace="http://192.168.0.8/axis/services/StonewareResetIDService" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:apachesoap="http://xml.apache.org/xml-soap" > xmlns:impl="http://192.168.0.8/axis/services/StonewareResetIDService" > xmlns:intf="http://192.168.0.8/axis/services/StonewareResetIDService" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:tns1="http://stoneware.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://stoneware.com" > xmlns="http://www.w3.org/2001/XMLSchema"><import > namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType > name="StonewareException"><sequence><element name="errorCode" > type="xsd:int"/><element > name="errorMessage" nillable="true" type="xsd:string"/><element name="rootCause" > nillable="true" > type="tns2:Throwable"/></sequence></complexType></schema></wsdl:types> > <wsdl:message name="StonewareException"> > <wsdl:part name="fault" type="tns1:StonewareException"/> > </wsdl:message> > <wsdl:message name="authenticateUserResponse1"> > <wsdl:part name="authenticateUserReturn" type="xsd:string"/> > </wsdl:message> > <wsdl:message name="changeObjectPasswordRequest"> > <wsdl:part name="session" type="xsd:string"/> > <wsdl:part name="userDN" type="xsd:string"/> > <wsdl:part name="newPassword" type="xsd:string"/> > <wsdl:part name="resetIntruderLock" type="xsd:boolean"/> > </wsdl:message> > <wsdl:message name="authenticateUserResponse"> > <wsdl:part name="authenticateUserReturn" type="xsd:string"/> > </wsdl:message> > <wsdl:message name="authenticateUserRequest1"> > <wsdl:part name="context" type="xsd:string"/> > <wsdl:part name="user" type="xsd:string"/> > <wsdl:part name="password" type="xsd:string"/> > <wsdl:part name="relayDN" type="xsd:string"/> > </wsdl:message> > <wsdl:message name="authenticateUserRequest"> > <wsdl:part name="context" type="xsd:string"/> > <wsdl:part name="user" type="xsd:string"/> > <wsdl:part name="password" type="xsd:string"/> > </wsdl:message> > <wsdl:message name="changeObjectPasswordResponse"> > </wsdl:message> > <wsdl:portType name="ResetIDServicesBean"> > <wsdl:operation name="changeObjectPassword" parameterOrder="session userDN > newPassword > resetIntruderLock"> > <wsdl:input message="impl:changeObjectPasswordRequest" > name="changeObjectPasswordRequest"/> > <wsdl:output message="impl:changeObjectPasswordResponse" > name="changeObjectPasswordResponse"/> > <wsdl:fault message="impl:StonewareException" name="StonewareException"/> > </wsdl:operation> > <wsdl:operation name="authenticateUser" parameterOrder="context user password"> > <wsdl:input message="impl:authenticateUserRequest" > name="authenticateUserRequest"/> > <wsdl:output message="impl:authenticateUserResponse" > name="authenticateUserResponse"/> > </wsdl:operation> > <wsdl:operation name="authenticateUser" parameterOrder="context user password > relayDN"> > <wsdl:input message="impl:authenticateUserRequest1" > name="authenticateUserRequest1"/> > <wsdl:output message="impl:authenticateUserResponse1" > name="authenticateUserResponse1"/> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="StonewareResetIDServiceSoapBinding" > type="impl:ResetIDServicesBean"> > <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="changeObjectPassword"> > <wsdlsoap:operation soapAction=""/> > <wsdl:input name="changeObjectPasswordRequest"> > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:input> > <wsdl:output name="changeObjectPasswordResponse"> > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:output> > <wsdl:fault name="StonewareException"> > <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="authenticateUser"> > <wsdlsoap:operation soapAction=""/> > <wsdl:input name="authenticateUserRequest"> > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:input> > <wsdl:output name="authenticateUserResponse"> > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:output> > </wsdl:operation> > <wsdl:operation name="authenticateUser"> > <wsdlsoap:operation soapAction=""/> > <wsdl:input name="authenticateUserRequest1"> > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:input> > <wsdl:output name="authenticateUserResponse1"> > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://192.168.0.8/axis/services/StonewareResetIDService" use="encoded"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="ResetIDServicesBeanService"> > <wsdl:port binding="impl:StonewareResetIDServiceSoapBinding" > name="StonewareResetIDService"> > <wsdlsoap:address > location="http://192.168.0.8/axis/services/StonewareResetIDService"/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions>
===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com