How do I import service references to Unity3D?
        Posted  
        
            by 
                Timothy Williams
            
        on Game Development
        
        See other posts from Game Development
        
            or by Timothy Williams
        
        
        
        Published on 2014-02-25T00:23:08Z
        Indexed on 
            2014/08/18
            16:48 UTC
        
        
        Read the original article
        Hit count: 488
        
I'm attempting access a service reference in Unity. I need two: the SOAP framework and a separate service called ContentVault.
The respective service URL's are:
- SOAP: http://api.microsofttranslator.com/V2/Soap.svc
- ContentVault: http://ioun.wizards.com/ContentVault.svc
Both services import fine in to Visual Studio. I've tried everything I can think of but they won't work with Unity. I just get various errors (changing depending on which solution I'm trying out).
I've attempted using svcutil to export the services as external scripts, but all I got was a bunch of using errors. I've tried converting the code to work with .NET 2.0 to no avail, I've even tried making the services in to .DLL's to no success.
How could get these services working with Unity?
© Game Development or respective owner