Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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!

Reply With Quote
  #2 (permalink)  
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.
Reply With Quote
  #3 (permalink)  
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)

Reply With Quote
  #4 (permalink)  
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.
Reply With Quote
  #5 (permalink)  
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!


Reply With Quote
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:59 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.