Click here to Skip to main content
15,882,063 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Can I store media within an XML file? Pin
EvanSaunders31-Jan-10 23:40
EvanSaunders31-Jan-10 23:40 
QuestionBest practice to handle processing XML files with different schemas Pin
sking7227-Jan-10 3:01
sking7227-Jan-10 3:01 
AnswerRe: Best practice to handle processing XML files with different schemas Pin
Stuart Dootson27-Jan-10 20:33
professionalStuart Dootson27-Jan-10 20:33 
Question.net XMLSerializer - multiple namespace problem Pin
AndyPeacock27-Jan-10 2:49
AndyPeacock27-Jan-10 2:49 
AnswerRe: .net XMLSerializer - multiple namespace problem Pin
SeMartens27-Jan-10 20:25
SeMartens27-Jan-10 20:25 
GeneralRe: .net XMLSerializer - multiple namespace problem Pin
AndyPeacock27-Jan-10 21:58
AndyPeacock27-Jan-10 21:58 
QuestionSOAP C# Tutorial/Example Pin
ffowler26-Jan-10 10:32
ffowler26-Jan-10 10:32 
AnswerRe: SOAP C# Tutorial/Example Pin
SeMartens26-Jan-10 20:43
SeMartens26-Jan-10 20:43 
GeneralRe: SOAP C# Tutorial/Example Pin
ffowler27-Jan-10 2:05
ffowler27-Jan-10 2:05 
Thanks Sebastian for the time:
Below is a snippet of the code that creates and calls the service (simply).
Below the code is the sniffer section that shows that there is no SOAP-ENV namespace. So I guess my guestion is, how can I create a user specified SOAP message.
O

   int rprocess;
                  int rErrors;
                  int sampAdded;
                  int sampMod;
                  int sampDeleted;
                  int aliAdded;
                  int aliModified;
                  int aliDeleted;
                  int[] recSent = {'1'};
                  string[] reqNum = {"C0772014121"};
                  string[] sampType = {"BLOOD"};
                  string[] sampID = {"07720141210"};
                  DateTime[] inputDate = {Convert.ToDateTime("2009-10-15")};
                  DateTime[] inputTime = {Convert.ToDateTime("17:12")};
                  int[] aliID = {100050};

                 

                  WebReference.Freezerworks service = new WebReference.Freezerworks();
                  service.Url = @"http://172.32.2.102:8081/Freezerworks/Update/";
                  try
                  {
                        service.TestUpdate("ffowler",
                                                   "garrett1",
                                                   "TestUpdate",
                                                      1,
                                                   "Time Change",
                                                   reqNum,
                                                   sampType,
                                                   sampID,
                                                   inputDate,
                                                   inputTime,
                                                   aliID,
                                                   out rprocess,
                                                   out rErrors,
                                                   out sampAdded,
                                                   out sampMod,
                                                   out sampDeleted,
                                                   out aliAdded,
                                                   out aliModified,
                                                   out aliDeleted);
                  }
                  catch (Exception ex)
                  {
                        Console.WriteLine(ex.Message.ToString());
                        Console.ReadLine();
                  }
***************************************************************************************************
SNIFFER OUTPUT

<?xml version="1.0" encoding="UTF-8"?>
<env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"></env:Header>
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <tns:TestUpdate xmlns:tns="http://www.dwdev.com/Webservices/Freezerworks/">
            <UserName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">ffowler</UserName>
            <Password xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">garrett1</Password>
            <UpdateServiceName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">TestUpdate</UpdateServiceName>
            <RecordsSubmitted xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:int">1</RecordsSubmitted>
            <AuditTrailOverallReason xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Time Change</AuditTrailOverallReason>
            <SampleID href="#id1"/>
            <AliquotType href="#id2"/>
            <AccessionID href="#id3"/>
            <CollectionDate href="#id4"/>
            <CollectionTime href="#id5"/>
            <UniqueAliquotID href="#id6"/>
      </tns:TestUpdate>
      <soapenc:Array id="id1" soapenc:arrayType="xsd:string[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <Item>C0772014121</Item>
      </soapenc:Array>
      <soapenc:Array id="id2" soapenc:arrayType="xsd:string[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <Item>BLOOD</Item>
      </soapenc:Array>
      <soapenc:Array id="id3" soapenc:arrayType="xsd:string[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <Item>07720141210</Item>
      </soapenc:Array>
      <soapenc:Array id="id4" soapenc:arrayType="xsd:dateTime[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <Item>2009-10-15T00:00:00</Item>
      </soapenc:Array>
      <soapenc:Array id="id5" soapenc:arrayType="xsd:dateTime[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <Item>2010-01-26T17:12:00</Item>
      </soapenc:Array>
      <soapenc:Array id="id6" soapenc:arrayType="xsd:int[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <Item>100050</Item>
      </soapenc:Array>
</soap:Body>
Questionadd element unique Id XSLT Pin
mvujica18-Jan-10 5:43
mvujica18-Jan-10 5:43 
AnswerRe: add element unique Id XSLT Pin
mvujica19-Jan-10 5:13
mvujica19-Jan-10 5:13 
QuestionXML file compression Pin
dalbhide bipin18-Jan-10 1:28
dalbhide bipin18-Jan-10 1:28 
AnswerRe: XML file compression Pin
mvujica18-Jan-10 5:51
mvujica18-Jan-10 5:51 
GeneralRe: XML file compression Pin
dalbhide bipin18-Jan-10 18:18
dalbhide bipin18-Jan-10 18:18 
QuestionI need an ebay program Pin
totolcm13-Jan-10 2:26
totolcm13-Jan-10 2:26 
AnswerRe: I need an ebay program Pin
JustWorking13-Jan-10 2:43
JustWorking13-Jan-10 2:43 
GeneralRe: I need an ebay program Pin
Ashfield14-Jan-10 1:26
Ashfield14-Jan-10 1:26 
JokeRe: I need an ebay program [modified] Pin
The Man from U.N.C.L.E.14-Jan-10 6:43
The Man from U.N.C.L.E.14-Jan-10 6:43 
QuestionUsing unparsed entities in schemas Pin
rusgregor12-Jan-10 21:46
rusgregor12-Jan-10 21:46 
AnswerRe: Using unparsed entities in schemas Pin
Stuart Dootson13-Jan-10 0:26
professionalStuart Dootson13-Jan-10 0:26 
GeneralRe: Using unparsed entities in schemas Pin
rusgregor13-Jan-10 4:18
rusgregor13-Jan-10 4:18 
GeneralRe: Using unparsed entities in schemas Pin
Stuart Dootson13-Jan-10 4:25
professionalStuart Dootson13-Jan-10 4:25 
GeneralRe: Using unparsed entities in schemas Pin
rusgregor14-Jan-10 3:23
rusgregor14-Jan-10 3:23 
GeneralRe: Using unparsed entities in schemas Pin
Stuart Dootson14-Jan-10 4:44
professionalStuart Dootson14-Jan-10 4:44 
GeneralRe: Using unparsed entities in schemas Pin
rusgregor14-Jan-10 21:24
rusgregor14-Jan-10 21:24 

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.