Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by misher · Oct 09, 2019 at 03:16 PM · il2cppwindows store appwebservicesoap

UWP (hololens) SOAP Web Service

I have a SOAP web service to communicate with. In command line (`wsdl`) I've managed to generate a client code. It relies upon System.Web and System.Web.Services. So I have create a "Plugins" folder and put both DLLs there (took from C:\Program Files\Unity\Hub\Editor\2019.3.0b2\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api in my case). I've tried to use the web service by calling one of the method and it all works in Editor, I'm able to get a parsed response. So I've made a Build and Deployed to the HL1. All good, but the app crashes when I press the button to call a web service method. This is an exception info: "The thread tried to read from or write to a virtual address for which it does not have the appropriate access.". Could someone help me to understand the issue. Maybe we have someone who successfully implemented SOAP on Hololens?


Edit:

So I've found that instead of copying DLLs into the "Plugins" folder, you can create a file called csc.rsp inside the "Assets" folder and put references inside it like so: -r:System.Web.dll -r:System.Web.Services.dll And it seems to be working correctly, again, only in Editor. Good thing is that it is not crashing on Hololens now, it just does nothing, after I press the button to use the Web Service it just does nothing. Probably I need to connect the debugger and see what happens on the device. Gonna try tomorrow morning...


Update:

So this is an exception raised on Hololens: System.NotSupportedException: System.Web.Services.Protocols.SoapHttpClientProtocol::.ctor occurred Does it have something to do with the fact that my endpoint is http and not https?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Norair1997 · May 07, 2020 at 03:29 PM 0
Share

Did you find any solution to the last error? NotSupportedException: System.Web.Services.Protocols.SoapHttpClientProtocol::.ctor ?

my endpoint is also http on a local machine, the hololens can browse the address and everything is fine inside the Editor

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

114 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android plugin SOAP client side 1 Answer

webservices with il2cpp 2 Answers

how to call SOAP web services with SOAP client? 0 Answers

Problems saving to My Pictures in Windows Universal build 0 Answers

WACK test failed APPCONTAINER 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges