WebService + Array

  • 15 years ago

    I want to pass in an XML file into my webservice...ie:
    <Defendants>
       <Defendant>
           <FileNumber>14-05-8456</FileNumber>
           <clientIndentifier></clientIndentifier>
           <DefendantNumber>0101</DefendantNumber>
           <DefendantFullName>Robert E. Jones</DefendantFullName>
           <DefendantAddress1>2943 Side Street</DefendantAddress1>
           <DefendantAddress2></DefendantAddress2>
           <Defendantcity>Lindenhurst</Defendantcity>
           <DefendantState>IL</DefendantState>
           <DefendantZip>60461</DefendantZip>
           <other>14-05-8456-01</other>
       </Defendant>
    </Defendants>


    but I can't do this with a client--the other side of my team developes this.  I have to build the web service.  So the other team wants to input the login and password--ok great, I can handle that.  Then they want to pass in the xml.  And I'm supposed to take this xml and input it into the SQL Server--not sure how to do this either.  


    Now, how would I pass in this XML?  Would I do it by string, by array?  These XML Files will get fairly large at some points.  And the other side doesn't want to pass the xml by file name.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Walking on water and developing software from a specification are easy if both are frozen.” - Edward V Berard