How to make SOAP webservice works on iOS?

How to make SOAP web service work in iOS?

Hello everyone? I implemented in my game in the Android version a SOAP webservice to control some game data. On Android worked perfectly, but when I deployed for iOS it did not work.

I’ve seen that the IL2CPP copying method can not implement the required library, something like this.

I’ve searched and I’m still looking for the solution to make it work in iOS the webservice! I found this topic: SOAP service not working on iOS - Unity Engine - Unity Discussions

I think I did everything that has been said about him, but it did not work!

I wonder if anyone has any solution for this? I really need it! :frowning:

[SOLVED]

I used the solution from this link:

But in the link.xml file I added more parameters and it looked like this:

<linker>
  <assembly fullname="System.Web.Services">
    <type fullname="System.Web.Services.Protocols.SoapTypeStubInfo" preserve="all"/>
    <type fullname="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler" preserve="all"/>

  </assembly>

  <assembly fullname="System" preserve="all"/>
  <assembly fullname="System.Web.Services" preserve ="all"/>
  <assembly fullname="System.Web" preserve ="all"/>


  <assembly fullname="System">
    <type fullname="System.Net.Configuration.WebRequestModuleHandler" preserve="all"/>
    <type fullname="System.Net.HttpRequestCreator" preserve="all"/>
    <type fullname="System.Net.FileWebRequestCreator" preserve="all"/>
  </assembly>

  <assembly fullname="mscorlib">
    <type fullname="System.AppDomain" preserve="fields"/>
    <type fullname="System.InvalidOperationException" preserve="fields">
      <method signature="System.Void .ctor()"/>
    </type>
    <type fullname="System.Object" preserve="nothing">
      <method name="Finalize"/>
    </type>
  </assembly>
</linker>

After that everything was quiet and worked!

About link.xml, which link.xml you mean? I cannot find nothing with that name on my project/build
When you write about solution at Unity - Manual: Optimizing the size of the built iOS Player
what do you mean? I’m approaching to solution about stripping IL2CPP applying opposite to trying to strip less and have more libraries available…

Thanks in advance.
David.

can you please guide me how you were able consume soap service from android.Since by default soap is not supported by android. @fredericoraiss