Passing Variable Types back to clients

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am currently working on a WS project where we want to execute a varable
action based on the incoming message. e.g. I would have an arguement in the
incoming message called action Name that would state which action to
execute.

I have a project with about 20 services but only three external web
services. Two service for discovery and one for execution. These webservices
reflect on the underlying types to declare ther definitions to a client.

Based on that incoming message I want to return a xml document that looks
similar to the following:

<response>
<actionName>TestAction</Action>
<result>Completed</result>
<payload>
<Tests>
<Test name="SampleTest" result="passed" time="123">
<Test name="SampleTest" result="passed" time="123">
<Test name="SampleTest" result="passed" time="123">
<Test name="SampleTest" result="passed" time="123">
<Test name="SampleTest" result="passed" time="123">
</Tests>
</payload>
</response>

Payload is a variable xml Document and I have attached that document by
using the default serialization mechanisms and payload is declare on the
outgoing type as a XmlDocument

The issue I have with this solution is that there is no XSD defined for the
payload document as it is always changing. Is the lack of XSD an issue?

Should for each of the element in payload provide a name space reference?

Scott.



.



Relevant Pages

  • Re: How to get a reverse Shell / VNC from a writable directory on a remote web server.
    ... Execute the standalone payload stager on the target system. ... This process has been tested with most of the win32 Metasploit payloads, ... WLAN by understanding these threats, ...
    (Pen-Test)
  • Win32 Shellcode question.
    ... I was writing an exploit for the MS03-049 services.exe stack overflow ... payload - meaning I have control over the CPU's exec path, ... it execute my payload. ...
    (Vuln-Dev)
  • Re: xmlhttprequest
    ... like thisit will execute all the page code right? ... data base and send that back to the clide as a XML document. ... identify whether the request is as "Autopost back request" or" ...
    (microsoft.public.dotnet.xml)
  • Re: Insert large amounts of data
    ... I have stored procedure that takes in an xml document and then inserts data from that document into a single table. ... This stored procedure needs to execute over 200,000 times a day. ...
    (microsoft.public.sqlserver.xml)
  • [Full-disclosure] F4c3b00k Worm
    ... Seems to be able to spread via automated status messages. ... execute the status updater payload as well, ...
    (Full-Disclosure)