[ 
http://issues.apache.org/jira/browse/AXIS2-619?page=comments#action_12376662 ] 

Sanjiva Weerawarana commented on AXIS2-619:
-------------------------------------------

Can we gen an exception saying "Incomplete transport sender: missing sender!" 
or something of that nature?

> nullpointer when EPR not defined in client
> ------------------------------------------
>
>          Key: AXIS2-619
>          URL: http://issues.apache.org/jira/browse/AXIS2-619
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: core
>     Versions: 0.95
>     Reporter: Thomas Van de Velde
>      Fix For: 1.0

>
> You are expected to set the TransportOutDescription when the EPR is not 
> defined in the client.  The AxisEngine will now throw a nullpointer.
> Client:
>                       Options options = new Options();
>                       
> options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
>                       options.setTranportOut(new TransportOutDescription(new 
> QName(
>                                       Constants.TRANSPORT_HTTP)));
>                       //options.setTo(EPR);
> Problem Area:
> AxisEngine
> TransportOutDescription transportOut = msgContext.getTransportOut();
> TransportSender sender = transportOut.getSender();
> sender is null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to