Rahil Ali wrote:
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...

In oder to verify this, we should capture the message and first see if the client is sending the message correctly.

You can either use logging module or a tool like TCPMon http://ws.apache.org/commons/tcpmon/download.cgi to capture the messages.

Samisa...


Thnaks & Regards,
Rahil Ali
*/Rahil Ali <[EMAIL PROTECTED]>/* 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 <[EMAIL PROTECTED]>/* 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: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]







------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.10/1366 - Release Date: 4/8/2008 5:03 PM


--
Samisa Abeysinghe Software Architect; WSO2 Inc.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to