M
Mullin Yu
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]
[SoapDocumentMethod(
"http://edmsws1/webservices",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Bare)]
[return: XmlElement("Response", IsNullable=false)]
public DeleteDocument_Response DeleteDocuments(DeleteDocument_Request
Request)
{
DeleteDocument_Response Response = new DeleteDocument_Response();
return Response;
}
Any ideas?
<Request>
<Header>
<UserID>
<Type>Printing/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>
<SubmissionDateTime>
<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]
[SoapDocumentMethod(
"http://edmsws1/webservices",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Bare)]
[return: XmlElement("Response", IsNullable=false)]
public DeleteDocument_Response DeleteDocuments(DeleteDocument_Request
Request)
{
DeleteDocument_Response Response = new DeleteDocument_Response();
return Response;
}
Any ideas?
<Request>
<Header>
<UserID>
<Type>Printing/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>
<SubmissionDateTime>
<Remarks>
</Details>
</PrintJob>
</Body>
</PrintJobs>
</Request>