Note that there are some explanatory texts on larger screens.

plurals
  1. POSVC client proxy and WSDL hosted on remote server
    primarykey
    data
    text
    <p>I have one wsdl and xsd then I generated a SVC client proxy from a wsdl, wsdl is hosted on windows server 2003 (outside local domain), somewhere on internet. XSD is also located at same place. I can see them in web browser, no issue there.</p> <p>Then I made a simple console application client, when I run the client, I see in fiddler that correct soap response is there but in console application response is null, i.e. SVC client can not deserialize it.</p> <p>I am sure that xsd + wsdl are correct and response too(I see in fiddler). </p> <p>When I put wsdl and xsd's on local domain server(intranet), it's all good, I see response in application properly deserialized. </p> <p>If I compare both situation in fiddler, I don't see any difference in raw response.</p> <p>Few more points: I am not hosting WCF service in IIS. I have got a different service running remotely. Let me know if I clarify more things.</p> <p>Thank you.</p> <p>Edit/ Update:Cleaned post. Problem seems not to be IIS6 or IIS7, it's remote server creating trouble with schema location. In SVC proxy client MessagContract namespace if pointed to a outside server, problem occurs else on intranet server it runs just fine.</p> <p>Example:</p> <pre><code>[System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped = false)] public partial class responseTypeOfMethod1 { [System.ServiceModel.MessageBodyMemberAttribute( Namespace = "http://testserver.xxxxx/yyyy.wsdl", Order = 0)] public RAT_type RAT; ................ .... .. } </code></pre> <p>if <a href="http://testserver.xxxxx" rel="nofollow">http://testserver.xxxxx</a> points to local server, all fine, if points to an internet server , response is null</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload