Ask a Question related to ASP.NET Web Services, Design and Development.
-
Mullin Yu #1
How to create a Web Services from a XML easily
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>
Mullin Yu Guest
-
Unable to create Users using Directory services in Windows 2003 Se
I am unable to create new users using directory services in Windows 2003 server. But it is possible to create users with ASP.NET applications in... -
www.qesign.com/shop - create your pro website quickly and easily
Hello, Here you can purchase at affordable price and immediatelly download professional website template for your site:... -
how do I create page numbers easily?
How do I create page numbers for multi-page publications in FreeHand that 'know' which page they are? Is there any way to create them other than... -
Quickly and easily create your website for only $27
Save your time and money, quickly and easily create your site using one of our full featured website templates with source Photoshop graphics. While... -
ANN: How to create alternative transport via MQ for web services.
Hi, We are glad to introduce our new article, which describes how to create a custom transport for web services. This article describes... -
Randy Charles Morin #2
Re: How to create a Web Services from a XML easily
Try this
[url]http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfWebServicesDescriptionLanguageToolWsdlexe.asp[/url]
Randy
[url]http://www.kbcafe.com[/url]
"Mullin Yu" <mullin_yu@ctil.com> wrote in message news:<eWi#OWDqDHA.2416@TK2MSFTNGP10.phx.gbl>...> 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>Randy Charles Morin Guest



Reply With Quote

