# Error calling webmethods webservice from iOS / Objecitve-C

**URL:** <https://techcommunity.softwareag.com/t/error-calling-webmethods-webservice-from-ios-objecitve-c/101057>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [July 23, 2012, 6:35pm UTC](https://techcommunity.softwareag.com/t/error-calling-webmethods-webservice-from-ios-objecitve-c/101057 "2012-07-23T18:35:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunnar\_Thorisson](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@Gunnar\_Thorisson](https://techcommunity.softwareag.com/u/Gunnar_Thorisson)\
**Post date:** [July 23, 2012, 6:35pm UTC](https://techcommunity.softwareag.com/t/error-calling-webmethods-webservice-from-ios-objecitve-c/101057/1 "2012-07-23T18:35:17Z")

</div>

Hi,

I am developing webMethods(8.2 sp2) webservice for iPad ( Objective-C ) that my colleague is developing.

The webservice is returning JSON string in the output template. I have no input/output is for the service.  
The service is called by link similar to:  
[http://host:5555/invoke/MobileService.webservices.test/TestService](http://host:5555/invoke/MobileService.webservices.test/TestService)?

This works fine in browser when viewing the source there.

But when my colleague is calling from Objective-C the response from webMethods is:  
Your browser does not support frames. Support for frames is required to use the webMethods Integration Server.

Do you see any reason for this?

Best regards,  
Gunnar

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 25, 2012, 2:42am UTC](https://techcommunity.softwareag.com/t/error-calling-webmethods-webservice-from-ios-objecitve-c/101057/2 "2012-07-25T02:42:28Z")

</div>

Hello Gunnar did you manage to resolve this?  
If you didn’t You should post the code used to call the webservice from the mobile device as the problem might be there.  
My first guess would be that the client is actually opening a connection to host:port and land to the IS console page, which is a frame-based web page, and then trying to call the SOAPAction through some request property. If this is the case the connection should have the full service endpoint instead.

Regards,  
Gianluca

---

<div class="post-metadata">

**Author:** ![Gunnar\_Thorisson](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@Gunnar\_Thorisson](https://techcommunity.softwareag.com/u/Gunnar_Thorisson)\
**Post date:** [July 25, 2012, 12:03pm UTC](https://techcommunity.softwareag.com/t/error-calling-webmethods-webservice-from-ios-objecitve-c/101057/3 "2012-07-25T12:03:51Z")

</div>

Hi,

We found out what was wrong. Exactly what you hinted Gianluca Saturno. Thank you very much for your reply.  
In the Objective-C code when trying to call the service the developer was calling to [http://host:5555](http://host:5555)(which is returning the console page in frames) instead of [http://host:5555/invoke/MobileService.webservices.test/TestService](http://host:5555/invoke/MobileService.webservices.test/TestService)?

Case closed.

Best regards,  
Gunnar

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/error-calling-webmethods-webservice-from-ios-objecitve-c/101057/4 "2021-04-02T15:02:12Z")

</div>


