# SOAP service Call from non browser client with APM policy

**URL:** <https://community.f5.com/t/soap-service-call-from-non-browser-client-with-apm-policy/41928>\
**Category:** Technical Forums\
**Tags:** irules, big-ip, big-ip-access-policy-manager-apm, soap, security, ltm, application-delivery\
**Created:** [August 22, 2018, 3:30pm UTC](https://community.f5.com/t/soap-service-call-from-non-browser-client-with-apm-policy/41928 "2018-08-22T15:30:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoumyaBasu\_3529](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@SoumyaBasu\_3529](https://community.f5.com/u/SoumyaBasu_3529)\
**Post date:** [August 22, 2018, 3:30pm UTC](https://community.f5.com/t/soap-service-call-from-non-browser-client-with-apm-policy/41928/1 "2018-08-22T15:30:59Z")

</div>

We are configuring our F5 APM to authenticate SOAP service calls. We create a VS and add APM policy and when we access the service from any browser its works fine. Now my application team want to call the service form a .net client . When they call they are able to create a Proxy for the services but when try to consume the service they receive the below error :

" return The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: 'BIG-IP logout page

When we remove the APM policy from the VS everything works fine. the message says the response were HTML and the html codes seems the bigip logout page. I am not able to understand , why its returning a Big-IP logout page

" BIG-IP logout page "

the APM policy is simple Start ---\> certificate check ----\> Allow Fallback ----\> Deny

Am I missing anything here ?

Any suggestion is highly appreciated.

---

<div class="post-metadata">

**Author:** ![SoumyaBasu\_3529](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@SoumyaBasu\_3529](https://community.f5.com/u/SoumyaBasu_3529)\
**Post date:** [August 22, 2018, 3:33pm UTC](https://community.f5.com/t/soap-service-call-from-non-browser-client-with-apm-policy/41928/2 "2018-08-22T15:33:19Z")

</div>

the error is as below :

 ![image_196160.jpg](https://d20hrnpixdzcsd.cloudfront.net/original/2X/1/1e1ce27fc09d0424dccfdb64e962c24d2e76cc0e.jpeg)

---

<div class="post-metadata">

**Author:** ![stan\_piron](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stan\_piron](https://community.f5.com/u/stan_piron)\
**Post date:** [August 22, 2018, 5:02pm UTC](https://community.f5.com/t/soap-service-call-from-non-browser-client-with-apm-policy/41928/3 "2018-08-22T17:02:58Z")

</div>

APM behavior is to redirect to /my.policy before evaluate Access profile.

You must enable **clientless mode** to disable this feature.

This is done with an irule!

---

<div class="post-metadata">

**Author:** ![stan\_piron](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stan\_piron](https://community.f5.com/u/stan_piron)\
**Post date:** [August 23, 2018, 8:36am UTC](https://community.f5.com/t/soap-service-call-from-non-browser-client-with-apm-policy/41928/4 "2018-08-23T08:36:47Z")

</div>

you can try [this code](https://devcentral.f5.com/codeshare/apm-clientless-certificate-authentication-1108).
