You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Yuvaraj Athur Raghuvir <yu...@gmail.com> on 2007/08/20 15:17:25 UTC
Regarding use of Proxy and error thereof
Hello,
When I use the axis2C as dlls from another process, and use proxy, I get the
following error:
"Input stream is NULL in msg_ctx"
The log reveals a potential socket error:
[Mon Aug 20 18:36:54 2007] [debug] c:\08.utils\axis2\axis2c-
src-1.0.0\axis2c-src-1.0.0\src\core\engine\phase.c(195) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Mon Aug 20 18:37:09 2007] [debug]
..\..\src\core\transport\http\sender\http_client.c(389) [axis2c] client data
stream null or socket error
[Mon Aug 20 18:37:09 2007] [error]
..\..\src\core\transport\http\sender\http_sender.c(528) status_code < 0
[Mon Aug 20 18:37:09 2007] [debug]
..\..\src\core\transport\http\sender\http_transport_sender.c(566) OP name
axutil_qname_get_localpart = http://www.w3.org/2004/08/wsdl/out-in
[Mon Aug 20 18:37:27 2007] [debug] c:\08.utils\axis2\axis2c-
src-1.0.0\axis2c-src-1.0.0\src\core\engine\engine.c(180) Axis2 engine send
successful
Is there something I need to do?
Note that the same code (yahoo_client.c) works absolutely fine as a C
program!!
Regards,
Yuva
Re: Regarding use of Proxy and error thereof
Posted by Yuvaraj Athur Raghuvir <yu...@gmail.com>.
Hello Dumindu,
1) "As Dlls" means that I am using from a scripting environment called J [1]
2) I used the programmatic proxy usage (also given in the link you sent(. I
shall try with the hard coded one in the axiz2.xml.
Note: Programmatic proxy usage works fine with the yahoo_client.c sample.
Regards,
Yuva
[1] www.jsoftware.com
On 8/21/07, Dumindu Pallewela <du...@wso2.com> wrote:
>
>
> > When I use the axis2C as dlls from another process,
>
> It's not clear to me what you mean by "as dlls".
>
> > and use proxy, I get
> > the following error:
> > "Input stream is NULL in msg_ctx"
>
> This is most likely due to the proxy setting in your axis2.xml being
> incorrect. Have you added the proxy parameter under the transportSender
> element in axis2.xml?
>
> If not, please refer to the axis2 manual [1].
>
> HTH
>
> -Dumindu.
>
> [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#proxy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
Re: Regarding use of Proxy and error thereof
Posted by Dumindu Pallewela <du...@wso2.com>.
> When I use the axis2C as dlls from another process,
It's not clear to me what you mean by "as dlls".
> and use proxy, I get
> the following error:
> "Input stream is NULL in msg_ctx"
This is most likely due to the proxy setting in your axis2.xml being
incorrect. Have you added the proxy parameter under the transportSender
element in axis2.xml?
If not, please refer to the axis2 manual [1].
HTH
-Dumindu.
[1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#proxy
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org