axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Thompson" <tony.thomp...@stone-ware.com>
Subject Re: Issue with Throwable
Date Thu, 27 Mar 2003 14:23:39 GMT
I noticed that you fixed the bug that I filed earlier (that was quick!).
 I assume that I can get the fix in tonights nightly build?

Thanks.
Tony

>>> dims@yahoo.com 03/27/03 07:59AM >>>
Tony,

That will help....Can you please open a bugzilla
(http://nagoya.apache.org/bugzilla) bug? with the
complete StonewareException class? and the Service method signature
that throws this exception.

Thanks,
dims

--- Tony Thompson <tony.thompson@stone-ware.com> wrote:
> Which method signature?  The issue that I am having is with the
complex
> type StonewareException.  Here is one of the constructors for a
> StonewareException, if that helps:
> 
>     public StonewareException( int errorCode, String message,
Throwable
> exception );
> 
> >>> dims@yahoo.com 03/26/03 05:13PM >>>
> Please post the method signature....
> 
> --- Tony Thompson <tony.thompson@stone-ware.com> 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>
> >  nsdl:part name="newPassword" type     <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 


=====
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

Mime
View raw message