Click here to Skip to main content
15,498,796 members
Home / Discussions / C#
   

C#

 
AnswerRe: What is the purpose of a .edmx file? Pin
Snehasish_Nandy10-Feb-14 19:39
professionalSnehasish_Nandy10-Feb-14 19:39 
AnswerRe: What is the purpose of a .edmx file? Pin
Nicholas Marty10-Feb-14 22:38
professionalNicholas Marty10-Feb-14 22:38 
QuestionReading and writing USB HID FeatureReports async. Pin
BigBenDk10-Feb-14 6:34
MemberBigBenDk10-Feb-14 6:34 
AnswerRe: Reading and writing USB HID FeatureReports async. Pin
Jason Gleim10-Feb-14 10:22
professionalJason Gleim10-Feb-14 10:22 
GeneralRe: Reading and writing USB HID FeatureReports async. Pin
BigBenDk10-Feb-14 11:26
MemberBigBenDk10-Feb-14 11:26 
GeneralRe: Reading and writing USB HID FeatureReports async. Pin
Jason Gleim10-Feb-14 11:38
professionalJason Gleim10-Feb-14 11:38 
AnswerRe: Reading and writing USB HID FeatureReports async. Pin
Bernhard Hiller10-Feb-14 22:21
MemberBernhard Hiller10-Feb-14 22:21 
QuestionSOAP from scratch? Pin
Antessima10-Feb-14 5:41
MemberAntessima10-Feb-14 5:41 
Hi all,

I'm trying to build a SOAP message from scratch in C# for a webservice-consuming application. The WSDL provided for the service specifies using as a paramter to a particular method a class generated by the WSDL that includes roughly 70 different properties. When such a class is returned as the result of a method on this webservice, the proxy has no trouble moving the data from the SOAP message into this class, regardless of whether all 70 properties are present or not. Those missing fields are represented in the incoming message as self-closing tags. However, when the proxy generates a SOAP message *to* the webservice using this class, generating self-closing tags for empty fields, the webservice rejects the call. It's only when it's presented with non-empty tags--and at that, not all of the properties, if they contain a value, will be accepted--will it accept the message.

About 6 months ago I figured out how to create the message from scratch in C#, using the HttpWebRequest/Response classes (I think so, anyway), but since then I've lost those code files and can't figure out how I did it. Does anybody have an example of how to do it? Or, even better, any suggestions about what I can do to force the proxy to ignore empty properties when creating the SOAP message?
AnswerRe: SOAP from scratch? Pin
jschell10-Feb-14 9:11
Memberjschell10-Feb-14 9:11 
GeneralRe: SOAP from scratch? Pin
Antessima10-Feb-14 9:42
MemberAntessima10-Feb-14 9:42 
GeneralRe: SOAP from scratch? Pin
jschell11-Feb-14 12:04
Memberjschell11-Feb-14 12:04 
QuestionReadAllBytes Method of the File Class PROBLEM Pin
computerpublic10-Feb-14 5:39
Membercomputerpublic10-Feb-14 5:39 
AnswerRe: ReadAllBytes Method of the File Class PROBLEM Pin
Richard Deeming10-Feb-14 6:30
mveRichard Deeming10-Feb-14 6:30 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
computerpublic10-Feb-14 6:45
Membercomputerpublic10-Feb-14 6:45 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
Richard Deeming10-Feb-14 6:56
mveRichard Deeming10-Feb-14 6:56 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
computerpublic10-Feb-14 7:27
Membercomputerpublic10-Feb-14 7:27 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
Richard Deeming10-Feb-14 7:54
mveRichard Deeming10-Feb-14 7:54 
AnswerRe: ReadAllBytes Method of the File Class PROBLEM Pin
Matt T Heffron10-Feb-14 8:47
professionalMatt T Heffron10-Feb-14 8:47 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
BillWoodruff10-Feb-14 22:23
mveBillWoodruff10-Feb-14 22:23 
AnswerRe: ReadAllBytes Method of the File Class PROBLEM Pin
BillWoodruff10-Feb-14 7:37
mveBillWoodruff10-Feb-14 7:37 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
computerpublic10-Feb-14 7:51
Membercomputerpublic10-Feb-14 7:51 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
Dave Kreskowiak10-Feb-14 8:14
mveDave Kreskowiak10-Feb-14 8:14 
GeneralRe: ReadAllBytes Method of the File Class PROBLEM Pin
Matt T Heffron10-Feb-14 8:49
professionalMatt T Heffron10-Feb-14 8:49 
QuestionLock Controls or Record for Add/Edit/Delete C# Pin
ahmed_one9-Feb-14 23:59
Memberahmed_one9-Feb-14 23:59 
AnswerRe: Lock Controls or Record for Add/Edit/Delete C# Pin
Keith Barrow10-Feb-14 2:04
professionalKeith Barrow10-Feb-14 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.