Solved

Passing parameters as XMLNodeList

Posted on 2004-04-26
2
938 Views
Last Modified: 2007-12-19
I needed to create a web service that had several optional parameters and resolved to implement this by accepting an xmldocument or nodelist as the input parameter. The problem is that I am not sure how to create a document in the consuming VB.Net client.

The client needs to pass
parameter 1: Unquie Id of item
parameter 2: Image file as byte array
parameter 3: next process stage id
parameter 4: urgency id
parameter 5: user id
parameter 6: station id
parameter 7-X: categories associated with the item including related information associated with the category: reviewed id, reviewed date time, reviewed bit, verified id, verified date time, verified bit.

here is a sample

<Task>
       <TaskID>123</TaskID>
       <WorkflowID>Prescription</WorkflowID>
       <StageID>OMR</StageID>
       <UnitID>ER</UnitID>
       <StationID>PP-01</StationID>
       <UserID>Pharm1</UserID>
       <ProcessCenterID>Primary Pharmacy</ProcessCenterID>
       <UrgencyID>STAT</UrgencyID>
       <StatusID>NEW</StatusID>
       <PatientID>000002589</PatientID>
       <PatientName>Hillary Clinton</PatientName>
       <TaskMemo />
       <TaskFile />
       <FileExtensionID />
       <ReturnReasonID />
       <InProcess />
       <SubmitDT />
       <CompleteDT />
       <Category>
            <CategoryID>1</CategoryID>
            <ReviewedUserID>24</ReviewedUserID>
            <Reviewed>1</Reviewed>
            <VerifiedUserID />
            <Verified>0</Verified>
         </Category>
     <Category>
            <CategoryID>2</CategoryID>
            <ReviewedUserID>144</ReviewedUserID>
            <Reviewed>1</Reviewed>
            <VerifiedUserID>26</VerifiedUserID>
            <Verified>1</Verified>
       </Category>
</Task>

The question is how would I create such a document, the only condition is that I do not want to load any xmldocument as a base, I only want to create it in memory on the client and pass it to the web service.

0
Comment
Question by:rehand
2 Comments
 
LVL 7

Accepted Solution

by:
ramesh12 earned 250 total points
ID: 10919865
0
 
LVL 4

Author Comment

by:rehand
ID: 10929077
Ramesh12

That did the trick

Thanks

Ron
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now