How to create a Web Services from a XML easily

Posted: 11-11-2003, 09:25 AM
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>






Reply With Quote

Responses to "How to create a Web Services from a XML easily"

Randy Charles Morin
Guest
Posts: n/a
 
Re: How to create a Web Services from a XML easily
Posted: 11-11-2003, 10:28 PM
Try this
http://msdn.microsoft.com/library/en...oolWsdlexe.asp

Randy
http://www.kbcafe.com

"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>
Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MAKE THOUSANDS OF DOLLARS EASILY !!!! A. Santos Adobe Acrobat SDK 1 06-09-2005 11:19 AM
Jumping DB's Easily? DriftrZ Coldfusion Database Access 1 03-14-2005 07:55 PM
ANN: How to create alternative transport via MQ for web services. Arthur Nesterovsky ASP.NET Web Services 0 10-02-2003 12:08 PM
Which MM product creates forms easily? Northyork webforumsuser@macromedia.com Macromedia Fireworks 1 07-02-2003 05:35 AM
Funny Behaviour -- Probably Easily Answered Ron ASP.NET General 2 06-25-2003 09:41 PM