go to post Peter Pozerski · Jun 22, 2020 It looks like they are sending: " PID||5520005629|0102163||JINDAL^ASHOKI KR^^||19490901|M" and not: "PID||5520005629|0102163||JINDAL^ASHOKI KR^^||19490901|M" note the leading white space in the first entry
go to post Peter Pozerski · Jun 15, 2020 In the past I had to do something similar. I just used a code block to call a classmethod. The classmethod accepted the context variable by reference. All you would need to do is loop on the OBX segments and clone the message for each segment which meets your criteria. Then you would need to remove any extraneous segments. Once complete you would just need to add each message to an index you created in the context variable. That way you could loop, transform and send each message in the index in your BP using a foreach.
go to post Peter Pozerski · Nov 7, 2019 If you add the following to your generated classes they will ignore any new tags the vendor sends. Parameter XMLIGNOREINVALIDTAG =1;
go to post Peter Pozerski · Oct 1, 2019 Are you asking about something like this? From an Ensemble perspective this is returning something of type %GlobalCharacterStream. There is no wrapper class around the %GlobalCharacterStream. For the consumer of your web service this will appear as a string in the WSDL.Method SomeMethodName(FacilityID As %String) As %GlobalCharacterStream [ WebMethod ]{ // where the response of this method is an object of type %GlobalCharacterStreamquit ##class(SomeClassName).ReturnAStream(FacilityID)}