My incoming web service has one input. A part number that can be up to 30 characters. The part number is alphanumeric and can have dashes, periods, or embedded spaces. When I'm deploying my IWS service I have this defined as my URI path template:
When I attempt to run the web service passing a part number with an imbedded blank in it, I get a "403 Forbidden" error. Any part with no imbedded blanks works fine.
In my research I thought the "\s" would take care of that. I also tried "␣" and just a single space. Nothing else seems to work.
This is my SoapUI screen for a part (hp 1750) with a space and my error:
And without a space (20275) which works perfectly:
Parts with dashes and periods work great. Just embedded blanks are giving me problems.
Any help for this complete novice?
Thanks!!!
PHP Code:
/{mpart:([a-zA-Z0-9-\.\s]+)}
In my research I thought the "\s" would take care of that. I also tried "␣" and just a single space. Nothing else seems to work.
This is my SoapUI screen for a part (hp 1750) with a space and my error:
And without a space (20275) which works perfectly:
Parts with dashes and periods work great. Just embedded blanks are giving me problems.
Any help for this complete novice?
Thanks!!!
Comment