Posted: Mon Feb 18, 2008 1:09 pm Post subject: soap navigation in esql
Centurion
Joined: 01 Nov 2003 Posts: 101
I have to invoke a WS and deal with reply. Although I have written flows that call two other WS's, I am having difficulty with this latest one. (wbimb 5)
My navigation has gone wrong, I need to know that I have a ValidationError present or not, and also to be able to pick up the field 'CostCentre Format Error'. What's thrown me a little is the last namespace. Please can you help.
esql extract
DECLARE mySoapNS NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
DECLARE myNS2 NAMESPACE 'ReferenceDataService';
SET Environment.myVariables.thisWebService.Reply =
InputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS2:updateCostCentreResponse.costCentreUpdateReturn;
this esql above returns null
using a .net ws client the soap response looks like this :-
xmlns:myPrefix="http://referencedata.acompany.co.uk">CostCentre Format Error
</myPrefix:ValidationError></costCentreUpdateReturn></ns2:updateCostCentreResponse></soapenv:Body></soapenv
Posted: Thu Feb 21, 2008 2:53 pm Post subject: soap navigation in esql
Centurion
Joined: 01 Nov 2003 Posts: 101
Thanks for last response. Things have changed somewhat since then. The WS I am calling is slighly different from originally tested against so my focus has switched to getting the WS soap request correct. The response logic is less important at this stage.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum