axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahil Ali <rahil....@tpsonline.com>
Subject Re: Webserivce call through Axis fails..
Date Wed, 09 Apr 2008 07:21:30 GMT
Hello Samisa,
   
  I added proxy to my code and tried again but it still failed. I added following code before
function call "axis2_options_get_action":
  axis2_svc_client_set_proxy_with_auth(svc_client,
                                                env,
                                                "http://10.10.230.51",
                                                "8080",
                                                "abcd",
                                                "1234")
but still its generating the same error: and fails the function call "axis2_svc_client_send_receive_with_op_qname".
Can this function fail due to some proxy problem... 
   
  Thnaks & Regards,
  Rahil Ali
   
  
Rahil Ali <rahil.ali@tpsonline.com> wrote:
    Hello Samisa,
  
Thanks once again for replying, Here is the log
  =========
  [Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler
to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(117) Service name is : __ANONYMOUS_SERVICE__
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This handler is trying to added to
system pre defined phases , but those handlers are already added to global chain which run
irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This handler is trying to added to
system pre defined phases , but those handlers are already added to global chain which run
irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This handler is trying to added to
system pre defined phases , but those handlers are already added to global chain which run
irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] op_client.c(881) Start:axis2_op_client_infer_transport
[Tue Apr  8 03:51:12 2008] [debug] op_client.c(936) End:axis2_op_client_infer_transport
[Tue Apr  8 03:51:12 2008] [debug] engine.c(648) Start:axis2_engine_invoke_phases
[Tue Apr  8 03:51:12 2008] [debug] engine.c(660) Invoking phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase.c(200) Invoke the handler AddressingOutHandler within
the phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] engine.c(670) End:axis2_engine_invoke_phases
[Tue Apr  8 03:51:12 2008] [debug] http_transport_sender.c(248) ctx_epr:http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0
[Tue Apr  8 03:51:12 2008] [debug] http_sender.c(393) msg_ctx_id:1f500f44-04f5-1dd1-23e3-000c29e99385
[Tue Apr  8 03:51:13 2008] [error] axis2_skel_FundTransferRequest.c(343) Error: response NULL
[Tue Apr  8 03:51:13 2008] [error] axis2_skel_FundTransferRequest.c(130) Unable to snd SMS
[Tue Apr  8 03:51:13 2008] [debug] engine.c(648) Start:axis2_engine_invoke_phases
[Tue Apr  8 03:51:13 2008] [debug] engine.c(660) Invoking phase MessageOut
[Tue Apr  8 03:51:13 2008] [debug] phase.c(200) Invoke the handler AddressingOutHandler within
the phase MessageOut
[Tue Apr  8 03:51:13 2008] [debug] engine.c(670) End:axis2_engine_invoke_phases
[Tue Apr  8 03:51:13 2008] [debug] engine.c(302) Axis2 engine receive completed!
  =======================
   
  Thanks & Regards,
  Rahil Ali

Samisa Abeysinghe <samisa@wso2.com> wrote:
  Rahil Ali wrote:
> Hello All,
> 
> I am trying to call a web-service from axis2c (WSDL2C). The code is 
> generated and compiled properly. When I try to call the Webservice the 
> function in the stub file fails ( 
> "axis2_svc_client_send_receive_with_op_qname" ). It returns NULL and 
> web-service cannot be called.
> 
> Please help me with this problem,

What does the log say?

Samisa...

> 
> Thanks & warm Regards,
> Rahil Ali
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.519 / Virus Database: 269.22.9/1364 - Release Date: 4/7/2008 6:38 PM
> 


-- 
Samisa Abeysinghe 
Software Architect; WSO2 Inc.

http://www.wso2.com/ - "Oxygenating the Web Service Platform."


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org








Mime
View raw message