Problem calling webservice from Silverlight in VisualStudio 2010
I'm trying to consume a WS written in nusoap from Silverlight. When I add WSDL service reference, in VS21010, I see listed all WS functions.
I instanciate object in my code behind:serviceclient cl=new serviceclient();
But when I digit cl. I cannot see ws methods in IntelliSense. Why?
The same thing, made in a windows form application 开发者_如何学Pythonruns fine. Can you help me please?Did you inspect the Reference.cs file that VS2010 generated for your Service Reference? The file I mentioned resides in the directory [projectfolder]/ServicesReferences/[YourServiceReferenceName]
Check out the register method. There is parameter called Use. Make sure you pass it as 'literal' and style as 'rpc' . Make sure your ComplexType if you have, does not use 'Soap-Enc:arrayType'.
精彩评论