Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 10th, 2003, 10:20 AM
Authorized User
 
Join Date: Nov 2003
Location: Ha Noi, , Vietnam.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default SOAP Message

Hi all

What is 'SOAP MESSAGE' the mean? Help me!

 
Old November 10th, 2003, 10:37 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

SOAP Message is basically the message that one server uses to tell the other server what it wants to do on the web service.

You'll see this in an error message when you create overloaded methods that are modified as <WebMethod>s. When a SOAP request is made to a web service, the web service won't know what method you are really calling. So you need to provide it with a unique "SOAP Message" so the web service knows what your are asking for.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old November 30th, 2003, 08:45 PM
Authorized User
 
Join Date: Nov 2003
Location: Ha Noi, , Vietnam.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Could you give to me a example, please!?
(daily life a little)

 
Old November 30th, 2003, 11:30 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

When you create a WebMethod and .net creates the soap stuff in the WSDL, a message is created for that method. Usually, the message is the same as the name of the method. However, as I mentioned, when you create overloaded methods, the method name is the same but .net can't create two SOAP messages that are the same. So you need to specify a message that is different than any other method or message.

You can specify the message name like this:
<WebMethod(MessageName:="messageName")>
Public Function/Sub methodName(...) ...
    ...
End Function

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old December 1st, 2003, 08:46 PM
Authorized User
 
Join Date: Nov 2003
Location: Ha Noi, , Vietnam.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Peter
Thank you very much.
Could you answer for topic at address
http://p2p.wrox.com/topic.asp?TOPIC_ID=6909
help me!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing soap message neerom XSLT 3 November 17th, 2008 07:32 AM
need way to pass the soap message to webservice i raju_kmarhotmail.com .NET Web Services 0 November 3rd, 2007 03:19 AM
What is SOAP why do we need it nidhimittal Pro PHP 1 October 23rd, 2006 03:28 AM
Chapter 15, POSTing a SOAP message ;example on 579 kbrown BOOK: Beginning XML 3rd Edition 3 August 25th, 2006 05:23 PM
Using SOAP and C++ RussellThor Visual C++ 0 November 29th, 2005 09:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.