JSON POST Request not translating URL's

Hello, 

I'm using UAG 2010 version

I'm trying to configure UAG to translate url's inside a JSON POST Request.

I have a http trunk redirecting to an htttps trunk, the json request is made through https.

I added the application/json to the ApplicationCustomisation tab on the https trunk

I created the custom update file WhlFiltSecureRemote_HTTPS.xml with the following:

<WHLFILTSECUREREMOTE ver="2.2">
<PARSERS_CONFIGURATION>
<REQUEST>
<APPLICATION>
<APPLICATION_TYPE></APPLICATION_TYPE>
<CONTENT_TYPE parser="PARSER_REQUEST_BODY_SAR">application/json</CONTENT_TYPE>
</APPLICATION>
</REQUEST>
</PARSERS_CONFIGURATION>
</WHLFILTSECUREREMOTE>

Basically my request looks something like this:

{data:"https://EXTERNALNAME/folder"}

I was hoping it would get changed to 

{data:"http://INTERNALNAME"}

since that "folder" is pointing to specific site inside my trunk

I should mention that UAG is doing the correct translation coming from the server to the client, I return javascript from the server that is properly translated from https://INTERNALNAME -> https://EXTERNALNAME/folder

I tried all the parsers that are on the default config

PARSER_REQUEST_BODY_SAR
PARSER_FORM
PARSER_MULTIPART_FORM

Are there more parsers that we can use, I couldn't find any list or information on more parsers, I was hoping the PARSER_REQUEST_BODY_SAR would work.

With tracing enabled on UAG with this parser I can see it running but not changing the contents of the request before sending it on to the internal server.

Is this possible? I'm I missing something? Anyone had this issue?

Thank you for your time.


  • Edited by Angelo_Reis Wednesday, February 11, 2015 11:42 AM
February 11th, 2015 2:38pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics