Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Question on Document/Literal SOAP style.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yolande - 18 Feb 2005 20:37 GMT
Hi there,

In the document I fount on web sit
http://download.microsoft.com/download/1/b/b/1bb6e11f-8e8c-46bf-a2d7-9a16976d452
6/NETConnectedLogoTechnicalSpec020904.doc
,
it says that “To be .NET Connected compliant, a Web services application
must use the HTTP transport and the Document/Literal SOAP style. (A
document-based service uses an XML Schema to define the format for the
request and response of the service. A literal message stores each parameter
in its own element. Such well-described data offers the highest level of
interoperability.)” What does it mean? Does it mean the WSDL file? If it
does, how can I define the format for the request and response of the service
in the WSDL file during compiling the web service project (I’m using Visual
Studio .NET)? Thanks for any help.

Yolande
Softwaremaker - 18 Feb 2005 23:33 GMT
> Hi there,
>
> In the document I fount on web site

http://download.microsoft.com/download/1/b/b/1bb6e11f-8e8c-46bf-a2d7-9a16976d452
6/NETConnectedLogoTechnicalSpec020904.doc
,
>  it says that "To be .NET Connected compliant, a Web services application
> must use the HTTP transport and the Document/Literal SOAP style. (A
> document-based service uses an XML Schema to define the format for the
> request and response of the service. A literal message stores each parameter
> in its own element. Such well-described data offers the highest level of
> interoperability.)" What does it mean? Does it mean the WSDL file?

[WilliamT] Yes, your WSDL File does reflect to the parties involved that
your messages much send over messages RPC-Encoding style

If it
> does, how can I define the format for the request and response of the service
> in the WSDL file during compiling the web service project (I'm using
Visual
> Studio .NET)? Thanks for any help.
>
> Yolande

[WilliamT] VS.NET uses Doc-Literal by default, so there is really nothing to
add or do. If you should want to use RPC, you just add the SoapRpcMethod
attribute

hth.
Signature

Thank you.

Regards,
William T (Softwaremaker)
http://www.softwaremaker.net/blog
=========================================

Yolande - 21 Feb 2005 16:48 GMT
hi William,

Thank you very much for the help. As I'm new to WSDL, I wonder how to use
the modified WSDL file which includes my own schema. According to the
specification "Web Services Description Language (WSDL) 1.1", I import my
schema into the WSDL generated by "http://localhot/Service1.asmx?wsdl" . But
I don't know how to use the new WSDL (Service1.wsdl) for my Web Service. When
I go to http://localhot/Service1.asmx, the web service still uses the
Service1.asmx?wsdl but not Service1.wsdl. Any help?

Thank again.

Yolande

> > Hi there,
> >
[quoted text clipped - 26 lines]
>
> hth.
Softwaremaker - 22 Feb 2005 00:24 GMT
This is just one of the few things I disagree with the RAD-approach style of
VS.NET in generating WSDL for the Web Services.

Take note of these steps:
1) Turn off HELP Documentation of asmx (so it doesnt get too smart and
generate the WSDLs)
   <webServices>
     <protocols>
       <remove name="Documentation" />
     </protocols>
   </webServices>

2) Have some kind of communication channel to show your consumers the newly
generated WSDL. You can use a combination of approaches such as an off-line
out-of-band approach, so just have some default page that shows the WSDL. I
personally recommmend the use of UDDI (tModel deployment) for this BUT it
may be a bit too much for a simple deployment.

hth.

Signature

Thank you.

Regards,
William T (Softwaremaker)
http://www.softwaremaker.net/blog

Independent Microsoft Regional Director | Microsoft MVP - Solutions
Architect
=========================================================

> hi William,
>
[quoted text clipped - 13 lines]
> > >
> > > In the document I fount on web site

http://download.microsoft.com/download/1/b/b/1bb6e11f-8e8c-46bf-a2d7-9a16976d452
6/NETConnectedLogoTechnicalSpec020904.doc
,
> > >  it says that "To be .NET Connected compliant, a Web services application
> > > must use the HTTP transport and the Document/Literal SOAP style. (A
[quoted text clipped - 21 lines]
> >
> > hth.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.