What is the Axis2 version you use?

Can you please test with a nightly build?

The actual problem is not the null pointer exception. it comes since there
is another problem which make
transportOut null. Can you run the code just commenting out the finally
block?

thanks,
Amila.

On Thu, Jan 6, 2011 at 11:05 PM, fire fox <[email protected]> wrote:

> Hi all,
>
>  Details: partner.wsdl, Axis2., Salesforce API [I think problem is
> generic to Axis2]
>
>  1) Code used to login :
>
> - created stub by passing endpointurl
>
> - set HTTPConstants properties/options for stub, after creation
>
> - called stub.login by passing (Login, null, CallOptions (did set
> client Id)).   [passed null for LoginScopeHeader]
>
> - then, NullPointerException thrown.
>
>  2) Exception origin:
>
> - SforceServiceStub.java :
> _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>
> 3) Culprit: _messageContext.getTransportOut() returning NULL
>
> Any idea?
>
> Thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to