We are on version 6.1
I too created a dummy service and it worked. But for some reason in my service that I need to use it in it won’t. But of course my dummy service is much simplified than my true service. The overview of the service:
I am pulling data from customs tables so I will have one a only one header record with mutiple lines/details to the one header. I do an execSql to grab my header and map results to a canonical and then I loop over the canonical to grab my lines. I do an execSql for my lines and link to results and then I take the results of my lines and map it to the canonical and then drop results. So now the only thing I have in my pipeline is my canonical with my header and all lines. I then loop over my canonical/lines and map to a temp doc and then map the temp doc to LIN doc ref (which is an ST/LIN EDI doc list) so it be can appendded to a doc list and I make my the call pub.list:appendToDocument. After all lines are appended I then map to an EDI doc type and then call a service mapToEDIString which will take my EDI doc type and create the edi data with ST/SE and then it returns and I call a custom service EnvelopeandSubmitEDI which then creates the ISA/GS envelopes and submits to TN. Providing there are no special characters in the DESCRIPTION field (which is one of the strings in lines/details) it works like a charm and my EDI data is created. The place where I am trying to use the pub.string:replace on the DESCRIPTION field is when I am mapping from my fully built canonical (doc ref) to the tempDoc (document) which is in a loop. But I wouldn’t think being in a loop would cause it not to work, even though it maybe looping over several lines. Hope I have not confused anyone and not sure if explaining my service helps.
#webMethods#edi#Integration-Server-and-ESB