Access request xml in WSDL mode WSService

aeon.email.it's picture

Hello,


I'm currently trying to access the received request xml using a WSService in wsdl mode.

Having just the payload would be a start, but having the envelope (and possibly the headers) would be better.


Is there an equivalent to WSClient->getLastRequest() for the WSService class?



nandika's picture

Re

In current API, there isnt a way to read the whole envelope xml. However, you can access the headers from wsdl mode. You can find an example here. https://wso2.org/repos/wso2/trunk/wsf/php/src/tests/samples/wsdl_mode/header_client.phpt. Regards Nandika
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)