Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Problem adding SOAP web consuming class to project

$
0
0

Hello there,

I am trying to consume a SOAP web service written in ASP.net

My project has two separate MyProject.Core and MyProject.Android folders.

Now, i created a Class in MyProject.Core and am going to use this class to consume web services, lets call it SiteParser.cs.

I added SiteParser.cs to MyProject.Android by linking to the existing file in MyProject.Core.

I then used the built in Proxy creator and right clicked on both MyProject.Android and MyProject.Core and added my web reference.

that worked fine. Now when i try compile and run i get:

´The type or namespace 'Core' does not exist in the Namespace 'MiniCup'(are you missing an assembly reference?)´

Well I know i'm in a different namespace now that i have linked the file but i thought i could still use it in MyProject.Core.

Anyone have some ifo?

P.S.

One weird behavior is that when i open this class from the MyProject.Core, that file is fine. But the file i have now under MyProject.Android (the one that is a link) is full of errors regarding this namsespace mismatch.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>