Chris Tinning wrote:
>
> I am in the process of trying to migrate a webservice client to axis2
> (1.4.1). I've generated some xmlbean stub classes and have started
> testing but get a NullPointer in the finally block of the call in the
> generated stub - transportOut is null.
>
>
>
> finally{
>
> _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>
> }
>
>
>
> I've have all the required jar files in the classpath and am just using
> the default axis2.xml config file. Missing jar files seems be the
> common thing that results in this problem from the numerous searches
> I've made.
>
>
>
> Can anybody help or point me to some more detailed information on
> setting up an xmlbean client?
>
>
>
> Thanks in advance
>
>
>
> Chris Tinning
>
>
> ________________________________________________________________________
> This e-mail has been scanned for viruses, however, No liability is
> accepted for any viruses contained in this message or any of its
> attachments and it is the recipient?s liability to scan this message and
> its attachment for the same.
> ________________________________________________________________________
>
I have been using Axis2 1.4.1 with XML Beans, and I´ve never had the problem
you are having. Are you sure you are using the client stub correctly? Let me
see your code, post your code.
--
View this message in context:
http://www.nabble.com/Client-stubs-NullPointer-Exception-tp20721127p20727979.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]