I want to know how can I create a Web Services with SOAP Request based on
the following XML document:
I know how to use the Class and XML Serialization at c# to create one, but
don't know any faster and easily method.
[WebMethod]
[SoapDocumentMet hod(
"http://edmsws1/webservices",
Use=SoapBinding Use.Literal,
ParameterStyle= SoapParameterSt yle.Bare)]
[return: XmlElement("Res ponse", IsNullable=fals e)]
public DeleteDocument_ Response DeleteDocuments (DeleteDocument _Request
Request)
{
DeleteDocument_ Response Response = new DeleteDocument_ Response();
return Response;
}
Any ideas?
<Request>
<Header>
<UserID>
<Type>Printin g/Email/Fax</Type>
</Header>
<Body>
<PrintJobs>
<PrintJob>
<Documents>
<Document>
<DocID>
<PrinterSetting >
<PaperSize>
<Duplex>
<NoOfCopies>
</PrintingSetting >
<Remarks>
</Document>
<Document>
<DocID>
<PrinterSetting >
<PaperSize>
<Duplex>
<NoOfCopies>
</PrinterSetting>
<Remarks>
</Document>
</Documents>
<Details>
<AutoPrint>
<CoverSheet>
<SubmissionDate Time>
<Remarks>
</Details>
</PrintJob>
</Body>
</PrintJobs>
</Request>
the following XML document:
I know how to use the Class and XML Serialization at c# to create one, but
don't know any faster and easily method.
[WebMethod]
[SoapDocumentMet hod(
"http://edmsws1/webservices",
Use=SoapBinding Use.Literal,
ParameterStyle= SoapParameterSt yle.Bare)]
[return: XmlElement("Res ponse", IsNullable=fals e)]
public DeleteDocument_ Response DeleteDocuments (DeleteDocument _Request
Request)
{
DeleteDocument_ Response Response = new DeleteDocument_ Response();
return Response;
}
Any ideas?
<Request>
<Header>
<UserID>
<Type>Printin g/Email/Fax</Type>
</Header>
<Body>
<PrintJobs>
<PrintJob>
<Documents>
<Document>
<DocID>
<PrinterSetting >
<PaperSize>
<Duplex>
<NoOfCopies>
</PrintingSetting >
<Remarks>
</Document>
<Document>
<DocID>
<PrinterSetting >
<PaperSize>
<Duplex>
<NoOfCopies>
</PrinterSetting>
<Remarks>
</Document>
</Documents>
<Details>
<AutoPrint>
<CoverSheet>
<SubmissionDate Time>
<Remarks>
</Details>
</PrintJob>
</Body>
</PrintJobs>
</Request>