|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Problem when invoking a service from a Flex web service client: The reply is not returned to the clientDear all,
I’m using axis2c (1.5) as a web service container for my application. When using C clients and stubs automatically generated by wsdl2c utility everything is Ok and I can reach, invoke and get results from my services. Now I’am trying to reach my services from another client using Flex. I have used the Flex tool to generated action script files from WSDL. Everything went OK and I can see that data types are correctly generated. However when I invoke the service : 1) the service is correctly reached and invoked (see logs) 2) But, the result is not returned to the client and i have a log saying « [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut [Mon Sep 28 09:53:22 2009] [info] Starting addressing out handler [Mon Sep 28 09:53:22 2009] [debug] addr_out_handler.c(133) No action present. Stop processing addressing » I have checked if SOAP message generated from Flex does contain the SOAPAction and the answer is yes. The SOAPAction is correctly set in the message. Could anyone help please ? I cannot understand why the reply is not returned to the client. Kind regards, Here is the server’s log : [Mon Sep 28 09:53:22 2009] [debug] http_worker.c(195) Client HTTP version HTTP/1.1 [Mon Sep 28 09:53:22 2009] [debug] soap_builder.c(895) Identified soap version is soap11 [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport [Mon Sep 28 09:53:22 2009] [debug] req_uri_disp.c(100) Checking for service using target endpoint address : http://127.0.0.1:9090/axis2/services/mmas_management_service [Mon Sep 28 09:53:22 2009] [debug] req_uri_disp.c(121) Service found using target endpoint address [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler AddressingInHandler within the phase Transport [Mon Sep 28 09:53:22 2009] [info] Starting addressing in handler [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Sep 28 09:53:22 2009] [debug] soap_body_disp.c(231) Checking for operation using SOAP messagebody's first child's local name : join [Mon Sep 28 09:53:22 2009] [debug] soap_body_disp.c(240) Operation found using SOAP message body's first child's local name [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler context_handler within the phase PostDispatch ** (process:10055): DEBUG: axis2_skel_mmas_management_service_join (this is my service implementation) ** (process:10055): DEBUG: sms_sitesmanagementdatamodel_endPointAlreadyExists (this is my service implementation) [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut [Mon Sep 28 09:53:22 2009] [info] Starting addressing out handler [Mon Sep 28 09:53:22 2009] [debug] addr_out_handler.c(133) No action present. Stop processing addressing [Mon Sep 28 09:53:22 2009] [info] Request served in 0.007 seconds ++++°°+++++++++++++++++++++++++++++ Dr. Abdelkader GOUAICH Associate Professor/Maître de Conférences Universite Montpellier II Tel: +33 (0)467418675 Fax: +33 (0)467418585 |
|
|
Re: Problem when invoking a service from a Flex web service client: The reply is not returned to the clientHi,
Can you capture the messages (from c-client as well as Flex) using tcpmon[1] and post it here? Possibly some addressing version mismatch? Regards, Shankar [1] http://ws.apache.org/commons/tcpmon/ On Mon, Sep 28, 2009 at 2:25 PM, Abdelkader GOUAICH <Abdelkader.Gouaich@...> wrote: > Dear all, > > I’m using axis2c (1.5) as a web service container for my application. When > using C clients and stubs automatically generated by wsdl2c utility > everything is Ok and I can reach, invoke and get results from my services. > > Now I’am trying to reach my services from another client using Flex. I have > used the Flex tool to generated action script files from WSDL. Everything > went OK and I can see that data types are correctly generated. > > However when I invoke the service : > > 1) the service is correctly reached and invoked (see logs) > > 2) But, the result is not returned to the client and i have a log saying > > « [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > AddressingOutHandler within the phase MessageOut > > [Mon Sep 28 09:53:22 2009] [info] Starting addressing out handler > > [Mon Sep 28 09:53:22 2009] [debug] addr_out_handler.c(133) No action > present. Stop processing addressing » > > > > I have checked if SOAP message generated from Flex does contain the > SOAPAction and the answer is yes. The SOAPAction is correctly set in the > message. > > Could anyone help please ? I cannot understand why the reply is not returned > to the client. > > Kind regards, > > Here is the server’s log : > > [Mon Sep 28 09:53:22 2009] [debug] http_worker.c(195) Client HTTP version > HTTP/1.1 > > [Mon Sep 28 09:53:22 2009] [debug] soap_builder.c(895) Identified soap > version is soap11 > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > request_uri_based_dispatcher within the phase Transport > > [Mon Sep 28 09:53:22 2009] [debug] req_uri_disp.c(100) Checking for service > using target endpoint address : > http://127.0.0.1:9090/axis2/services/mmas_management_service > > [Mon Sep 28 09:53:22 2009] [debug] req_uri_disp.c(121) Service found using > target endpoint address > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > AddressingInHandler within the phase Transport > > [Mon Sep 28 09:53:22 2009] [info] Starting addressing in handler > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > addressing_based_dispatcher within the phase Transport > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > rest_dispatcher within the phase Dispatch > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > soap_message_body_based_dispatcher within the phase Dispatch > > [Mon Sep 28 09:53:22 2009] [debug] soap_body_disp.c(231) Checking for > operation using SOAP messagebody's first child's local name : join > > [Mon Sep 28 09:53:22 2009] [debug] soap_body_disp.c(240) Operation found > using SOAP message body's first child's local name > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > soap_action_based_dispatcher within the phase Dispatch > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > dispatch_post_conditions_evaluator within the phase PostDispatch > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > context_handler within the phase PostDispatch > > ** (process:10055): DEBUG: axis2_skel_mmas_management_service_join (this is > my service implementation) > > ** (process:10055): DEBUG: > sms_sitesmanagementdatamodel_endPointAlreadyExists (this is my service > implementation) > > [Mon Sep 28 09:53:22 2009] [debug] phase.c(210) Invoke the handler > AddressingOutHandler within the phase MessageOut > > [Mon Sep 28 09:53:22 2009] [info] Starting addressing out handler > > [Mon Sep 28 09:53:22 2009] [debug] addr_out_handler.c(133) No action > present. Stop processing addressing > > [Mon Sep 28 09:53:22 2009] [info] Request served in 0.007 seconds > > > > ++++°°+++++++++++++++++++++++++++++ > Dr. Abdelkader GOUAICH > Associate Professor/Maître de Conférences > Universite Montpellier II > > Tel: +33 (0)467418675 > Fax: +33 (0)467418585 > > > > > > > > > > -- S.Uthaiyashankar Software Architect WSO2 Inc. http://wso2.com/ - "The Open Source SOA Company" |
| Free embeddable forum powered by Nabble | Forum Help |