SET OutputRoot.SOAP.Body.(SOAP.NamespaceDecl)xmlns:ns1 = 'http://www.w3.org/2003/05/soap-envelope';
SET OutputRoot.SOAP.Body.soapEnv:Header.(SOAP.NamespaceDecl)xmlns:ns2 = 'http://www.w3.org/2005/08/addressing';
SET OutputRoot.SOAP.Body.soapEnv:Header.hsbc:ServiceHeader.(SOAP.NamespaceDecl)xmlns:ns3 = 'group.hsbc.com/bussvc/model/service';
SET OutputRoot.SOAP.Body.soapEnv:Header.hsbc:ServiceHeader.hsbc:IpCountryCode = 'US';
SET OutputRoot.SOAP.Body.soapEnv:Header.hsbc:ServiceHeader.hsbc:IpGroupMemberID = 'MMBI';
SET OutputRoot.SOAP.Body.soapEnv:Header.wsa:MessageID = UUIDASCHAR;
SET OutputRoot.SOAP.Body.soapEnv:Header.wsa:Action = 'http://group.hsbc.com/bussvc/obipmgmt/custMgmt/CustMgmt/rtrvIP/1_0_0/request';
SET OutputRoot.SOAP.Body.ns2:rtrvIP.(SOAP.NamespaceDecl)xmlns:n4 = 'http://group.hsbc.com/bussvc/obipmgmt/custMgmt/bean';
SET OutputRoot.SOAP.Body.ns2:rtrvIP.(SOAP.NamespaceDecl)xmlns:n5 = 'http://group.hsbc.com/bussvc/onb/common/model/bean';
SET OutputRoot.SOAP.Body.ns2:rtrvIP.RtrvIPRequest.custId.EntityID.ctryCde = 'US';
SET OutputRoot.SOAP.Body.ns2:rtrvIP.RtrvIPRequest.custId.EntityID.groupMbr = 'MMBI';
SET OutputRoot.SOAP.Body.ns2:rtrvIP.RtrvIPRequest.custId.custID = '100002134';
SET OutputRoot.SOAP.Body.ns2:rtrvIP.RtrvIPRequest.custStatus = 'CUST';
The flow is simple INPUT > Computer node > SOAP request.
Everything is set properly on the SOAP request node. I'm sure the issue is with how I'm creating the SOAP request, envelope etc. The error I receive is:
You are creating the message incorrectly. You are using the SOAP domain, but then trying to create the SOAP headers and body directly - don't do that. If you need to create everything by hand for some reason, use XMLNSC. However, you could just use the SOAP domain correctly, and simply tick the "Use WSAdressing" box and WMB/IIB will do all the hard work for you. See these articles on how to use the SOAP domain and use WSA:
Kind regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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