webmethods

Exclude certain numbers from range of numbers using Regular expression

試著忘記壹切 提交于 2020-01-03 12:59:20
问题 Could some one help me with the regular expression, where we can exclude certain numbers in between from a range of numbers. Presently, ^([1-9][0][0-9])$ is the regular expression that is configured. Now if i want to exclude a few numbers/one number( 501 , 504 ) from it, then how would the regular expression look/be. 回答1: Described in more detail in this answer, you can use the following regex with the “Negative Lookahead” command ?! : ^((?!501|504)[0-9]*)$ You can see the regex being

webMethods pub.client.http throws error on 401

拜拜、爱过 提交于 2019-12-13 01:35:01
问题 I am using webMethods from the SAG and it seems if the service pub.client.http throws an exception on status code 401 "Unauthorized". This leads me to the problem that I cannot handle the status code because nothing is written to the pipeline. getLastError does contain the string "Unauthorized" but not the status code. Except that I do not want to start parsing exception messages... Any ideas? 回答1: The output parameter header from the pub.client.http call should contain the information you’re

Is there a list of Special characters to be avoided in JCL/MVS Script variables

天涯浪子 提交于 2019-12-12 14:22:00
问题 I have a program that generates random pin codes. These pins are generated in Java, then stored in the mainframe, via a NATURAL program. From there, they are eventually physically printed by a batch JCL job that calls an MVS SCRIPT to print the form, with the pin code on it. I've come across some issues with special characters before such as: |{}![]^~<>; that for one reason or another do not print properly. I've also removed 0OQ1l for OCR reasons. Recently, an error came to my attention with

webMethods loop over Document list

☆樱花仙子☆ 提交于 2019-12-04 14:59:13
I am creating a flow service, and inside it, I inserted another flow, which has document list as output and contains 5 string fields. Problem is that I can't loop over that document list, whatever I put in Input array (getPropertyOutput, getPropertyOutput[0]) is ignored (in debug mode, it just skips the loop step). Same happening with the sequence step... Any help would be appreciated Let say I want to loop over list of Strings I have simple flow service: In first step ( MAP ) I created the list... As second step, there are properties for LOOP important: Input array: /list But here is the