Welcome to thinktecture forums Sign in | Join | Faq

Discussion

Started by mpolutta at 06-11-2008 11:13 PM. Topic has 1 replies.

Print Search
Sort Posts:    
   06-11-2008, 11:13 PM
mpolutta is not online. Last active: 6/17/2008 7:17:14 PM mpolutta

Top 150 Posts
Joined on 06-11-2008
Posts 2
SoapAction not generated in Proxy class (client-side) wscf 0.7
Snippet of Proxy Code:

[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace = "http://foo.gov/EnterpriseSearchServices", ResponseNamespace = "http://foo.gov/EnterpriseSearchServices", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public ParametricSummary GetParametricFieldsAndValues([System.Xml.Serialization.XmlElementAttribute(ElementName="userID")] string userID)
{
object[] results = this.Invoke("GetParametricFieldsAndValues", new object[] {
userID});
return ((ParametricSummary)(results[0]));
}

Snippet from wsdl:binding:

[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://foo.gov/EnterpriseSearchServices/GetParametricFieldsAndValues", RequestNamespace = "http://foo.gov/EnterpriseSearchServices", ResponseNamespace = "http://foo.gov/EnterpriseSearchServices", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public ParametricSummary GetParametricFieldsAndValues([System.Xml.Serialization.XmlElementAttribute(ElementName="userID")] string userID)
{
object[] results = this.Invoke("GetParametricFieldsAndValues", new object[] {
userID});
return ((ParametricSummary)(results[0]));
}

   Report 
   06-17-2008, 10:20 PM
mpolutta is not online. Last active: 6/17/2008 7:17:14 PM mpolutta

Top 150 Posts
Joined on 06-11-2008
Posts 2
Re: SoapAction not generated in Proxy class (client-side) wscf 0.7
I had generated the WSDL using Enterprise Architect. It's WSDL generating template is apparently not compatible with what is expected by wscf. I changed over to the methodology documented in the WSCF Walkthrough, and all is fine.
   Report 
thinktecture fo... » WSCF » Discussion » Re: SoapAction not generated in Proxy class (client-side) wscf 0.7

Powered by Community Server, by Telligent Systems