HighTechTalks DotNet Forums  

Access to SOAP Objects

Dotnet XML microsoft.public.dotnet.xml


Discuss Access to SOAP Objects in the Dotnet XML forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
=?Utf-8?B?ZG91Zw==?=
 
Posts: n/a

Default Access to SOAP Objects - 06-29-2007 , 04:22 PM






I hadn't had a class yet and I had some MS help on this to set up, but I
wrote a .Net WS that creates a proxy class response using SOAP. Works fine.
And in kind of a good way, the IDE has hidden the SOAP implementation so from
my end I'm just creating, passing back my XML proxy class.

The client side consumer of WS has for 1) text file containing entire SOAP
response and recently 2) average size of response in bytes to iclude SOAP
components.

I hadn't had the time to figure out how to expose the SOAP objects, so was
only able to create file reflecting my XML class serialized out.

Now I need to figure out how to expose the SOAP objects for my own education
and troubleshooting, buit also to be able to know how to answer questions
like this.

My initial take was if this was so easy why can't client just determine size
of response as they receive it. Ought to be same number. But I would like
to know how to do this.



Reply With Quote
  #2  
Old   
Steven Cheng[MSFT]
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-02-2007 , 03:22 AM






Hi Doug,

From your description, you're dealing with some webservice message exchange
task and have some program accesing the SOAP message or the related
objects, correct?

As for the problem, I'm still not quite sure on your detailed scenaro,
would you provide some further explanation on the application or service
you're developing or consuming? Generally, for .NET webservice, if you're
also using .net framework based client to consume it, you simply generate
the client proxy class and calling webmethod through the client proxy, you
do not need to deal with the underlying SOAP message. Also, any objects
that can be XML serialized can be passed in the webmethod via XML
serialization(and embeded in SOAP message). Is there any particular
requirement here that you need to access the raw SOAP content?

If you do need to access the underlying SOAP XML content of webservice
method calls, you have the following means:

** through non-dev approach, you can use some http or TCP trace utility to
capture the underlying SOAP message sent between webservice server and
client

** for ASP.NET webservice, you can also use SOAP extension to
programmatically get the underlying SOAP message content(e.g create a
message logger).

#SOAP Message Modification Using SOAP Extensions
http://msdn2.microsoft.com/en-us/library/esw638yk.aspx

If there is anything I missed here or any other specific questions, please
feel free to let me know.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.





Reply With Quote
  #3  
Old   
Steven Cheng[MSFT]
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-02-2007 , 03:22 AM



Hi Doug,

From your description, you're dealing with some webservice message exchange
task and have some program accesing the SOAP message or the related
objects, correct?

As for the problem, I'm still not quite sure on your detailed scenaro,
would you provide some further explanation on the application or service
you're developing or consuming? Generally, for .NET webservice, if you're
also using .net framework based client to consume it, you simply generate
the client proxy class and calling webmethod through the client proxy, you
do not need to deal with the underlying SOAP message. Also, any objects
that can be XML serialized can be passed in the webmethod via XML
serialization(and embeded in SOAP message). Is there any particular
requirement here that you need to access the raw SOAP content?

If you do need to access the underlying SOAP XML content of webservice
method calls, you have the following means:

** through non-dev approach, you can use some http or TCP trace utility to
capture the underlying SOAP message sent between webservice server and
client

** for ASP.NET webservice, you can also use SOAP extension to
programmatically get the underlying SOAP message content(e.g create a
message logger).

#SOAP Message Modification Using SOAP Extensions
http://msdn2.microsoft.com/en-us/library/esw638yk.aspx

If there is anything I missed here or any other specific questions, please
feel free to let me know.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.





Reply With Quote
  #4  
Old   
=?Utf-8?B?ZG91Zw==?=
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-02-2007 , 06:54 PM



There isn't any problem per se. I just want to know how to view the SOAP
implementation and objects. I was asked during initial unit testing and
system testing to supply entire SOAP message received and sent and more
recently, average size of SOAP response sent. MSVS did a wonderful
implementation that hides much and I can appreciate that. I'd just like to
look under the covers a bit. I'll look at your link. Thank you.

"Steven Cheng[MSFT]" wrote:

Quote:
Hi Doug,

From your description, you're dealing with some webservice message exchange
task and have some program accesing the SOAP message or the related
objects, correct?

As for the problem, I'm still not quite sure on your detailed scenaro,
would you provide some further explanation on the application or service
you're developing or consuming? Generally, for .NET webservice, if you're
also using .net framework based client to consume it, you simply generate
the client proxy class and calling webmethod through the client proxy, you
do not need to deal with the underlying SOAP message. Also, any objects
that can be XML serialized can be passed in the webmethod via XML
serialization(and embeded in SOAP message). Is there any particular
requirement here that you need to access the raw SOAP content?

If you do need to access the underlying SOAP XML content of webservice
method calls, you have the following means:

** through non-dev approach, you can use some http or TCP trace utility to
capture the underlying SOAP message sent between webservice server and
client

** for ASP.NET webservice, you can also use SOAP extension to
programmatically get the underlying SOAP message content(e.g create a
message logger).

#SOAP Message Modification Using SOAP Extensions
http://msdn2.microsoft.com/en-us/library/esw638yk.aspx

If there is anything I missed here or any other specific questions, please
feel free to let me know.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.






Reply With Quote
  #5  
Old   
=?Utf-8?B?ZG91Zw==?=
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-02-2007 , 06:54 PM



There isn't any problem per se. I just want to know how to view the SOAP
implementation and objects. I was asked during initial unit testing and
system testing to supply entire SOAP message received and sent and more
recently, average size of SOAP response sent. MSVS did a wonderful
implementation that hides much and I can appreciate that. I'd just like to
look under the covers a bit. I'll look at your link. Thank you.

"Steven Cheng[MSFT]" wrote:

Quote:
Hi Doug,

From your description, you're dealing with some webservice message exchange
task and have some program accesing the SOAP message or the related
objects, correct?

As for the problem, I'm still not quite sure on your detailed scenaro,
would you provide some further explanation on the application or service
you're developing or consuming? Generally, for .NET webservice, if you're
also using .net framework based client to consume it, you simply generate
the client proxy class and calling webmethod through the client proxy, you
do not need to deal with the underlying SOAP message. Also, any objects
that can be XML serialized can be passed in the webmethod via XML
serialization(and embeded in SOAP message). Is there any particular
requirement here that you need to access the raw SOAP content?

If you do need to access the underlying SOAP XML content of webservice
method calls, you have the following means:

** through non-dev approach, you can use some http or TCP trace utility to
capture the underlying SOAP message sent between webservice server and
client

** for ASP.NET webservice, you can also use SOAP extension to
programmatically get the underlying SOAP message content(e.g create a
message logger).

#SOAP Message Modification Using SOAP Extensions
http://msdn2.microsoft.com/en-us/library/esw638yk.aspx

If there is anything I missed here or any other specific questions, please
feel free to let me know.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.






Reply With Quote
  #6  
Old   
Steven Cheng[MSFT]
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-02-2007 , 10:50 PM



Thanks for your reply Doug,

Sure. If you need any further help on this, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.


Reply With Quote
  #7  
Old   
Steven Cheng[MSFT]
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-02-2007 , 10:50 PM



Thanks for your reply Doug,

Sure. If you need any further help on this, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.


Reply With Quote
  #8  
Old   
=?Utf-8?B?ZG91Zw==?=
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-05-2007 , 06:24 PM



Looks like the SOAP SDK is depreciated. I found a WSE download:
en_Web_Services_Enhancements_1.0.msi but on install it says it requires
Framework 1.1 (which is installed version 1.1.4322.573), but I also have
Framework v2 (version 2.0.50727.42) installed via MSVS 2005 install. It
hints this is a "beta" version (or maybe it is stating the 1.1 is beta)
neither should be unless MS shipped beta with MSVS 2005.

Our projects are all Framework v2 based.

Is there a better WSE download?

If I need to see the Soap request coming from the client will I need to
install anything in my WS to expose this or can it be gotten from my test
client listening in on my WS port?

doug

"Steven Cheng[MSFT]" wrote:

Quote:
Thanks for your reply Doug,

Sure. If you need any further help on this, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.



Reply With Quote
  #9  
Old   
=?Utf-8?B?ZG91Zw==?=
 
Posts: n/a

Default RE: Access to SOAP Objects - 07-05-2007 , 06:24 PM



Looks like the SOAP SDK is depreciated. I found a WSE download:
en_Web_Services_Enhancements_1.0.msi but on install it says it requires
Framework 1.1 (which is installed version 1.1.4322.573), but I also have
Framework v2 (version 2.0.50727.42) installed via MSVS 2005 install. It
hints this is a "beta" version (or maybe it is stating the 1.1 is beta)
neither should be unless MS shipped beta with MSVS 2005.

Our projects are all Framework v2 based.

Is there a better WSE download?

If I need to see the Soap request coming from the client will I need to
install anything in my WS to expose this or can it be gotten from my test
client listening in on my WS port?

doug

"Steven Cheng[MSFT]" wrote:

Quote:
Thanks for your reply Doug,

Sure. If you need any further help on this, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.



Reply With Quote
  #10  
Old   
John Saunders [MVP]
 
Posts: n/a

Default Re: Access to SOAP Objects - 07-05-2007 , 08:11 PM



"doug" <dmartin (AT) newsgroups (DOT) nospam> wrote

Quote:
Looks like the SOAP SDK is depreciated. I found a WSE download:
en_Web_Services_Enhancements_1.0.msi but on install it says it requires
Framework 1.1 (which is installed version 1.1.4322.573), but I also have
Framework v2 (version 2.0.50727.42) installed via MSVS 2005 install. It
hints this is a "beta" version (or maybe it is stating the 1.1 is beta)
neither should be unless MS shipped beta with MSVS 2005.

Our projects are all Framework v2 based.
I don't recall your original post, so I don't recall if you need the
features of WSE.

Is there a reason you can't just use straight .NET Framework code?
--
John Saunders [MVP]



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.