ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » soap navigation in esql

Post new topic  Reply to topic
 soap navigation in esql « View previous topic :: View next topic » 
Author Message
hornbeam123
PostPosted: Mon Feb 18, 2008 1:09 pm    Post subject: soap navigation in esql Reply with quote

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 :-

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body>
<ns2:updateCostCentreResponse

xmlns:ns2="http://referencedata.acompany.co.uk">
<costCentreUpdateReturn>
<myPrefix:ValidationError

xmlns:myPrefix="http://referencedata.acompany.co.uk">CostCentre Format Error
</myPrefix:ValidationError></costCentreUpdateReturn></ns2:updateCostCentreResponse></soapenv:Body></soapenv

:Envelope>
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 18, 2008 3:59 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Change your declaration for myNS2:
Code:
declare myNS2 namespace 'http://referencedata.acompany.co.uk';

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hornbeam123
PostPosted: Thu Feb 21, 2008 2:53 pm    Post subject: soap navigation in esql Reply with quote

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.

So this post can be closed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » soap navigation in esql
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.