Accessing SOAP->ENVELOPE->HEADER data from staff service wrapper

29 views
Skip to first unread message

Mike

unread,
Jul 10, 2014, 6:40:10 AM7/10/14
to wsf-...@googlegroups.com
Hello,

I have staff (virtual) service created (server side) using SOAP.

From my service/service wrapper I am not able to get information about:

- SOAP->ENVELOPE->HEADER->TO
- http post request
- event I cannot access "endpoint uri fragment" 


where SESSION_LIKE_INFORMATION is this uri fragment

I found in Axis code (raw_xml_in_out_msg_recv.c) that incoming context is not exposed
to staff service

        if (status == AXIS2_SUCCESS)
        {
            skel_invoked = AXIS2_TRUE;
            result_node = AXIS2_SVC_SKELETON_INVOKE(svc_obj, env, om_node, new_msg_ctx);
        }

only a new context that does not have any headers information exposed or information about endpoint

Staff context taken from operation is this new_msg_ctx that does not return ToAddress information.

Any suggestions?

Mike

Dmitry Utkin

unread,
Jul 10, 2014, 9:51:37 AM7/10/14
to wsf-...@googlegroups.com
Hi Mike,

Please post an example of your incoming SOAP envelope packet with headers (using tcpdump, wireshark or other network packet capture software).


четверг, 10 июля 2014 г., 14:40:10 UTC+4 пользователь Mike написал:
Message has been deleted
Message has been deleted

Mike

unread,
Jul 10, 2014, 10:32:51 AM7/10/14
to wsf-...@googlegroups.com
Hi,
my fault. I should have use GetFromAddress() instead of GetToAddress() because staff exposes outcoming context so
I don't see what was received in soap header but instead of it I see what will be sent do client. :-D

Thank you.
Reply all
Reply to author
Forward
0 new messages