Click here to Skip to main content
15,911,762 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: thirdparty cookies Pin
Richard MacCutchan16-Jul-15 1:47
mveRichard MacCutchan16-Jul-15 1:47 
SuggestionRe: thirdparty cookies Pin
The Tigerman20-Jul-15 10:31
The Tigerman20-Jul-15 10:31 
Questionhow to insert data in table with foreign key Pin
Praveen Kandari15-Jul-15 19:22
Praveen Kandari15-Jul-15 19:22 
AnswerRe: how to insert data in table with foreign key Pin
User 418025417-Jul-15 9:35
User 418025417-Jul-15 9:35 
QuestionGridview Pin
simanungkalit14-Jul-15 22:35
simanungkalit14-Jul-15 22:35 
AnswerRe: Gridview Pin
Richard MacCutchan15-Jul-15 1:50
mveRichard MacCutchan15-Jul-15 1:50 
AnswerRe: Gridview Pin
User 418025415-Jul-15 11:37
User 418025415-Jul-15 11:37 
QuestionEntity Design for web service Pin
whizkidgps14-Jul-15 15:33
whizkidgps14-Jul-15 15:33 
My client will be sending the request as described below in SOAP format.
XML
<RequestTimestamp>2014-08-22T11:28:00Z</RequestTimestamp>
<SystemID>TestProcessor</SystemID>
<Version>1<Version>
<QWID>201507080000001</QWID>
<QWID>201507080000010</QWID>
<QWID>201507080000001</QWID>
<QWID>201507080000010</QWID>
<QWID>201507080000001</QWID>
<QWID>201507080000010</QWID>
<CHL>201507080000010</CHL>


In every request, QWID should come as batch and I proposed below entity design to adopt above data.

C#
public class APIRequest
{

    [DataMember]
    public DateTime RequestTimestamp;

    [DataMember]
    public string SystemID;

    [DataMember]
    public int Version;

    [DataMember]
    public string[] QWID;

    [DataMember]
    public string CHL;
    
}


With above entity design, SOAP request generated as

XML
<request xmlns:a="http://schemas.datacontract.org/2004/07/QWID.Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <a:RequestTimestamp>0001-01-01T00:00:00</a:RequestTimestamp>
  <a:SystemID>WireSystem_001</a:SystemID>
  <a:Version>0</a:Version>
  <a:QWID xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">

    <b:string>20141023010232_ORG99000002_CTR.fedwire</b:string>

    <b:string>20141023010842_ORG99000001_CTR.fedwire</b:string>
  </a:QWID>
</request>


XML
My client expecting the SOAP request in the form of <QWID>201507080000001</QWID> instead of coming under <QWID><b:string>20141023010232_ORG99000002_CTR.fedwire</b:string> </QWID> as string tag.

How do i do the entity design (without grouping of QWID) to achieve client expectation as described above? Please help me on this?


modified 14-Jul-15 21:54pm.

QuestionoAuth Custom Service with MVC Pin
slSoftware13-Jul-15 7:18
slSoftware13-Jul-15 7:18 
AnswerRe: oAuth Custom Service with MVC Pin
Wendelius13-Jul-15 7:28
mentorWendelius13-Jul-15 7:28 
QuestionRDLC Report in Asp.Net Pin
Zeyad Jalil11-Jul-15 23:52
professionalZeyad Jalil11-Jul-15 23:52 
AnswerRe: RDLC Report in Asp.Net Pin
Wendelius12-Jul-15 0:01
mentorWendelius12-Jul-15 0:01 
GeneralRe: RDLC Report in Asp.Net Pin
Zeyad Jalil12-Jul-15 0:48
professionalZeyad Jalil12-Jul-15 0:48 
GeneralRe: RDLC Report in Asp.Net Pin
Wendelius12-Jul-15 1:00
mentorWendelius12-Jul-15 1:00 
GeneralRe: RDLC Report in Asp.Net Pin
Zeyad Jalil12-Jul-15 1:12
professionalZeyad Jalil12-Jul-15 1:12 
GeneralRe: RDLC Report in Asp.Net Pin
Wendelius12-Jul-15 1:25
mentorWendelius12-Jul-15 1:25 
GeneralRe: RDLC Report in Asp.Net Pin
Zeyad Jalil12-Jul-15 1:42
professionalZeyad Jalil12-Jul-15 1:42 
AnswerRe: RDLC Report in Asp.Net Pin
Richard Deeming13-Jul-15 0:47
mveRichard Deeming13-Jul-15 0:47 
GeneralRe: RDLC Report in Asp.Net Pin
Godhaniketan19-Jul-15 21:32
professionalGodhaniketan19-Jul-15 21:32 
QuestionASP.net Pin
RekhaDhankhar11-Jul-15 6:22
RekhaDhankhar11-Jul-15 6:22 
AnswerRe: ASP.net Pin
Richard MacCutchan11-Jul-15 6:49
mveRichard MacCutchan11-Jul-15 6:49 
QuestionContent binding Pin
Member 117443549-Jul-15 2:14
Member 117443549-Jul-15 2:14 
AnswerRe: Content binding Pin
User 418025410-Jul-15 11:58
User 418025410-Jul-15 11:58 
AnswerRe: Content binding Pin
Richard MacCutchan10-Jul-15 21:21
mveRichard MacCutchan10-Jul-15 21:21 
QuestionA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Pin
Member 118251139-Jul-15 2:04
Member 118251139-Jul-15 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.