You need to sign in to do that
Don't have an account?

Outbound Message WSDL used in .Net
Greetings,
I am having trouble using the SalesForce generated WSDL thru its wizard (GUI). I have a test WebService on a local server,
with a specific Port (socket) setup for listening. I turned on IIS logging and can indeed see that there is a POST - the message is received, and there is a
Content-Length. However, due the SoapAction header = "" the error message returned is [ Server did not recognize the value of HTTP Header SOAPAction: . ] .
After some searching online, I found that someone had found a solution whereby explicitly adding in a SoapDocumentAttribute - in BizTalk - and I went on my merry way to implement this. No such luck in .Net (."Not")!
I understand the WebService is to expose a method for consumption. However I am not clear (based on the WSDL) on what those exact signatures are?
What are the Inputs/Outputs? Are these simply OneWay requests?
I see a reference to a 'notifications' method with an Id + SObject, but not sure if this is the WebMethod to define on the Service. Also I see a reference to a 'notificationsResponse' using a boolean 'Ack' a the return datatype.
Any help or clarification would be much appreciated.
Thanks for the quick response.
And yes I have read the API guide, and yes I did use the wsdl.exe to generate the Proxy -like always...
http://www.salesforce.com/us/developer/docs/api/index_CSH.htm#sforce_api_om_outboundmessaging_listener.htm
System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Bare)> _
Public MustOverride Function notifications(<System.Xml.Serialization.XmlElementAttribute("notifications", [Namespace]:="http://soap.sforce.com/2005/09/outbound")> ByVal notifications1 As notifications) As <System.Xml.Serialization.XmlElementAttribute("notificationsResponse", [Namespace]:="http://soap.sforce.com/2005/09/outbound")> notificationsResponse
Simon,
I used the /serverinterface switch instead of the /server switch and Implemented the Interface instead of inheriting it.
It works! I do appreciate you helping me eliminate all possible venues.
skipperSwede
Hi,
can you help me to get the data from saleforce to Biztalk with out using Windows Azure. I followed the code snippet from MSDN to fetch the data when action is triggered in Salesforce Biztalk will receive the data, but using windows azure account I need the same but with out windows azure.
Here is the MSDN code
http://code.msdn.microsoft.com...