Ask a Question related to ASP.NET Web Services, Design and Development.
-
PokerJoker #1
Capture SOAP envelope
I'm calling a web service provided to me by one of my company's vendors. I
used visual studio to automatically generate the SOAP request but I am trying
to figure out a way to trap the soap envelope before it is sent.
Is there a program, technique, or sniffer that I can use to accomplish this?
PokerJoker Guest
-
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand
¾È³çÇϼ¼¿ä? Hi Everybody MustUnderstand ¿¡·¯·Î ÀÎÇØ Because of an Error with MustUnderstand client-config.wsdd ÆÄÀϰú server-config.wsdd... -
Xml namespace in soap:envelope
I am trying to reduce the amount of data sent over some of web services, as the data is going over GPRS. Of course, reducing the length of the... -
How to get the SOAP envelope
Hi For debugging purposes, I'm looking for a way to see the SOAP envelope I'm sending. I'm the client calling a WS. How can I do that ? What... -
How can i access the Soap envelope from within the WebMethod
I'm attaching a DimeAttachment binary to my MyServerWSE.SoapRequestContext.Attachments on the client side, however, i cannot find a way to access... -
http://www.w3.org/2001/06/soap-envelope
your service is SOAP v1.2 ..NET is SOAP 1.1 The workaround is to get the service to deliver a SOAP 1.1 response. -Dino "RH"... -
Christoph Schittko [MVP] #2
Re: Capture SOAP envelope
Are you looking at trapping them to execute code before the message is
sent? Then you should look at building your own SoapExtension [0].
Depending on what you want to do, you'll need to plug in your code at
the BeforeSerialize or AfterSerialize stages.
HTH,
Christoph Schittko
MVP XML
[url]http://weblogs.asp.net/cschittko[/url]
[0]
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]
tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.aspvendors.> -----Original Message-----
> From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> Posted At: Wednesday, December 29, 2004 12:35 PM
> Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> Conversation: Capture SOAP envelope
> Subject: Capture SOAP envelope
>
> I'm calling a web service provided to me by one of my company's> I
> used visual studio to automatically generate the SOAP request but I am
> trying
> to figure out a way to trap the soap envelope before it is sent.
>
> Is there a program, technique, or sniffer that I can use to accomplish
> this?Christoph Schittko [MVP] Guest
-
Dilip Krishnan #3
Re: Capture SOAP envelope
Hello PokerJoker,
You should be able to use the trace utility in the Microsoft Soap Toolkit,
if you just want to see the messages sent by the client
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
[url]http://www.geniant.com[/url]
> I'm calling a web service provided to me by one of my company's
> vendors. I used visual studio to automatically generate the SOAP
> request but I am trying to figure out a way to trap the soap envelope
> before it is sent.
>
> Is there a program, technique, or sniffer that I can use to accomplish
> this?
>
Dilip Krishnan Guest
-
PokerJoker #4
Re: Capture SOAP envelope
Thanks Chris, but I dont need it in code at all.
The webservice at our vendor is returning errors, which in my opinion are
entirely unrelated to the envelope. They have asked me to trap the request
and email it to them to assist with debugging.
"Christoph Schittko [MVP]" wrote:
>
> Are you looking at trapping them to execute code before the message is
> sent? Then you should look at building your own SoapExtension [0].
>
> Depending on what you want to do, you'll need to plug in your code at
> the BeforeSerialize or AfterSerialize stages.
>
> HTH,
> Christoph Schittko
> MVP XML
> [url]http://weblogs.asp.net/cschittko[/url]
>
>
> [0]
> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]
> tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp> vendors.> > -----Original Message-----
> > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > Posted At: Wednesday, December 29, 2004 12:35 PM
> > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > Conversation: Capture SOAP envelope
> > Subject: Capture SOAP envelope
> >
> > I'm calling a web service provided to me by one of my company's>> > I
> > used visual studio to automatically generate the SOAP request but I am
> > trying
> > to figure out a way to trap the soap envelope before it is sent.
> >
> > Is there a program, technique, or sniffer that I can use to accomplish
> > this?
>PokerJoker Guest
-
Mujtaba Syed #5
Re: Capture SOAP envelope
Try Simon Fells' tcpTrace utility:
[url]http://www.pocketsoap.com/tcptrace/[/url]
Mujtaba.
"PokerJoker" <PokerJoker@discussions.microsoft.com> wrote in message
news:86ECF5EF-0282-456E-9B94-F57FBC73595B@microsoft.com...request> Thanks Chris, but I dont need it in code at all.
>
> The webservice at our vendor is returning errors, which in my opinion are
> entirely unrelated to the envelope. They have asked me to trap the> and email it to them to assist with debugging.
>
> "Christoph Schittko [MVP]" wrote:
>> >
> > Are you looking at trapping them to execute code before the message is
> > sent? Then you should look at building your own SoapExtension [0].
> >
> > Depending on what you want to do, you'll need to plug in your code at
> > the BeforeSerialize or AfterSerialize stages.
> >
> > HTH,
> > Christoph Schittko
> > MVP XML
> > [url]http://weblogs.asp.net/cschittko[/url]
> >
> >
> > [0]
> > [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]
> > tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp> > vendors.> > > -----Original Message-----
> > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > Posted At: Wednesday, December 29, 2004 12:35 PM
> > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > Conversation: Capture SOAP envelope
> > > Subject: Capture SOAP envelope
> > >
> > > I'm calling a web service provided to me by one of my company's> >> > > I
> > > used visual studio to automatically generate the SOAP request but I am
> > > trying
> > > to figure out a way to trap the soap envelope before it is sent.
> > >
> > > Is there a program, technique, or sniffer that I can use to accomplish
> > > this?
> >
Mujtaba Syed Guest
-
Christoph Schittko [MVP] #6
Re: Capture SOAP envelope
Then the trace tool MSSoapT shipped with the Soap Toolkit [0] that Dilip
mentioned or tcpTrace [1] should do just fine.
HTH,
Christoph Schittko
MVP XML
[url]http://weblogs.asp.net/cschittko[/url]
[0]
[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4[/url]
088-9753-86F052EC8450&displaylang=en
[1] [url]http://www.pocketsoap.com[/url]
are> -----Original Message-----
> From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> Posted At: Wednesday, December 29, 2004 1:17 PM
> Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> Conversation: Capture SOAP envelope
> Subject: Re: Capture SOAP envelope
>
> Thanks Chris, but I dont need it in code at all.
>
> The webservice at our vendor is returning errors, which in my opinionis> entirely unrelated to the envelope. They have asked me to trap the
> request
> and email it to them to assist with debugging.
>
> "Christoph Schittko [MVP]" wrote:
>> >
> > Are you looking at trapping them to execute code before the messageat> > sent? Then you should look at building your own SoapExtension [0].
> >
> > Depending on what you want to do, you'll need to plug in your code[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]> > the BeforeSerialize or AfterSerialize stages.
> >
> > HTH,
> > Christoph Schittko
> > MVP XML
> > [url]http://weblogs.asp.net/cschittko[/url]
> >
> >
> > [0]
> >I am> > tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp> > vendors.> > > -----Original Message-----
> > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > Posted At: Wednesday, December 29, 2004 12:35 PM
> > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > Conversation: Capture SOAP envelope
> > > Subject: Capture SOAP envelope
> > >
> > > I'm calling a web service provided to me by one of my company's> > > I
> > > used visual studio to automatically generate the SOAP request butaccomplish> > > trying
> > > to figure out a way to trap the soap envelope before it is sent.
> > >
> > > Is there a program, technique, or sniffer that I can use to> >> > > this?
> >Christoph Schittko [MVP] Guest
-
PokerJoker #7
Re: Capture SOAP envelope
Thanks again to everybody who is assisting...
The trace utility as far as i can tell is designed to reside on the "host"
of the webservice...
Is there a way to configure the utility to grab the request "before it
leaves"?
"Christoph Schittko [MVP]" wrote:
> Then the trace tool MSSoapT shipped with the Soap Toolkit [0] that Dilip
> mentioned or tcpTrace [1] should do just fine.
>
> HTH,
> Christoph Schittko
> MVP XML
> [url]http://weblogs.asp.net/cschittko[/url]
>
> [0]
> [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4[/url]
> 088-9753-86F052EC8450&displaylang=en
> [1] [url]http://www.pocketsoap.com[/url]
>
>> are> > -----Original Message-----
> > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > Posted At: Wednesday, December 29, 2004 1:17 PM
> > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > Conversation: Capture SOAP envelope
> > Subject: Re: Capture SOAP envelope
> >
> > Thanks Chris, but I dont need it in code at all.
> >
> > The webservice at our vendor is returning errors, which in my opinion> is> > entirely unrelated to the envelope. They have asked me to trap the
> > request
> > and email it to them to assist with debugging.
> >
> > "Christoph Schittko [MVP]" wrote:
> >> > >
> > > Are you looking at trapping them to execute code before the message> at> > > sent? Then you should look at building your own SoapExtension [0].
> > >
> > > Depending on what you want to do, you'll need to plug in your code> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]> > > the BeforeSerialize or AfterSerialize stages.
> > >
> > > HTH,
> > > Christoph Schittko
> > > MVP XML
> > > [url]http://weblogs.asp.net/cschittko[/url]
> > >
> > >
> > > [0]
> > >> I am> > > tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp
> > > > -----Original Message-----
> > > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > > Posted At: Wednesday, December 29, 2004 12:35 PM
> > > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > > Conversation: Capture SOAP envelope
> > > > Subject: Capture SOAP envelope
> > > >
> > > > I'm calling a web service provided to me by one of my company's
> > > vendors.
> > > > I
> > > > used visual studio to automatically generate the SOAP request but> accomplish> > > > trying
> > > > to figure out a way to trap the soap envelope before it is sent.
> > > >
> > > > Is there a program, technique, or sniffer that I can use to>> > > > this?
> > >
> > >
>PokerJoker Guest
-
PokerJoker #8
Re: Capture SOAP envelope
Nevermind... I changed the wsdl to send the request to localhost... then i
forwarded it using the trace utility to its final destination (our vendor).
Great little utility, thanks for the help guys!
"PokerJoker" wrote:
> Thanks again to everybody who is assisting...
>
> The trace utility as far as i can tell is designed to reside on the "host"
> of the webservice...
>
> Is there a way to configure the utility to grab the request "before it
> leaves"?
>
> "Christoph Schittko [MVP]" wrote:
>> > Then the trace tool MSSoapT shipped with the Soap Toolkit [0] that Dilip
> > mentioned or tcpTrace [1] should do just fine.
> >
> > HTH,
> > Christoph Schittko
> > MVP XML
> > [url]http://weblogs.asp.net/cschittko[/url]
> >
> > [0]
> > [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4[/url]
> > 088-9753-86F052EC8450&displaylang=en
> > [1] [url]http://www.pocketsoap.com[/url]
> >
> >> > are> > > -----Original Message-----
> > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > Posted At: Wednesday, December 29, 2004 1:17 PM
> > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > Conversation: Capture SOAP envelope
> > > Subject: Re: Capture SOAP envelope
> > >
> > > Thanks Chris, but I dont need it in code at all.
> > >
> > > The webservice at our vendor is returning errors, which in my opinion> > is> > > entirely unrelated to the envelope. They have asked me to trap the
> > > request
> > > and email it to them to assist with debugging.
> > >
> > > "Christoph Schittko [MVP]" wrote:
> > >
> > > >
> > > > Are you looking at trapping them to execute code before the message> > at> > > > sent? Then you should look at building your own SoapExtension [0].
> > > >
> > > > Depending on what you want to do, you'll need to plug in your code> > [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]> > > > the BeforeSerialize or AfterSerialize stages.
> > > >
> > > > HTH,
> > > > Christoph Schittko
> > > > MVP XML
> > > > [url]http://weblogs.asp.net/cschittko[/url]
> > > >
> > > >
> > > > [0]
> > > >> > I am> > > > tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp
> > > > > -----Original Message-----
> > > > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > > > Posted At: Wednesday, December 29, 2004 12:35 PM
> > > > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > > > Conversation: Capture SOAP envelope
> > > > > Subject: Capture SOAP envelope
> > > > >
> > > > > I'm calling a web service provided to me by one of my company's
> > > > vendors.
> > > > > I
> > > > > used visual studio to automatically generate the SOAP request but> > accomplish> > > > > trying
> > > > > to figure out a way to trap the soap envelope before it is sent.
> > > > >
> > > > > Is there a program, technique, or sniffer that I can use to> >> > > > > this?
> > > >
> > > >
> >PokerJoker Guest
-
Christoph Schittko [MVP] #9
Re: Capture SOAP envelope
The trace tools can run on any server, but you have to point your proxy
to the location/port where the tool is listening.
You should configure your proxy to dynamically pull the web service
location from the application's config file. Right click on the web
service node under Web References in the solution explorer and set the
URL Behavior to dynamic. Now rebuild your service consumer and you'll be
able to quickly configure the URL for the web service proxy to invoke.
HTH,
Christoph Schittko
MVP XML
[url]http://weblogs.asp.net/cschittko[/url]
"host"> -----Original Message-----
> From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> Posted At: Wednesday, December 29, 2004 1:35 PM
> Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> Conversation: Capture SOAP envelope
> Subject: Re: Capture SOAP envelope
>
> Thanks again to everybody who is assisting...
>
> The trace utility as far as i can tell is designed to reside on theDilip> of the webservice...
>
> Is there a way to configure the utility to grab the request "before it
> leaves"?
>
> "Christoph Schittko [MVP]" wrote:
>> > Then the trace tool MSSoapT shipped with the Soap Toolkit [0] that[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4[/url]> > mentioned or tcpTrace [1] should do just fine.
> >
> > HTH,
> > Christoph Schittko
> > MVP XML
> > [url]http://weblogs.asp.net/cschittko[/url]
> >
> > [0]
> >opinion> > 088-9753-86F052EC8450&displaylang=en
> > [1] [url]http://www.pocketsoap.com[/url]
> >
> >> > > -----Original Message-----
> > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > Posted At: Wednesday, December 29, 2004 1:17 PM
> > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > Conversation: Capture SOAP envelope
> > > Subject: Re: Capture SOAP envelope
> > >
> > > Thanks Chris, but I dont need it in code at all.
> > >
> > > The webservice at our vendor is returning errors, which in mythe> > are> > > entirely unrelated to the envelope. They have asked me to trapmessage> > > request
> > > and email it to them to assist with debugging.
> > >
> > > "Christoph Schittko [MVP]" wrote:
> > >
> > > >
> > > > Are you looking at trapping them to execute code before the[0].> > is> > > > sent? Then you should look at building your own SoapExtensioncode> > > >
> > > > Depending on what you want to do, you'll need to plug in your[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]> > at> >> > > > the BeforeSerialize or AfterSerialize stages.
> > > >
> > > > HTH,
> > > > Christoph Schittko
> > > > MVP XML
> > > > [url]http://weblogs.asp.net/cschittko[/url]
> > > >
> > > >
> > > > [0]
> > > >microsoft.public.dotnet.framework.aspnet.webservic es> > > > tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp
> > > > > -----Original Message-----
> > > > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > > > Posted At: Wednesday, December 29, 2004 12:35 PM
> > > > > Posted To:company's> > > > > Conversation: Capture SOAP envelope
> > > > > Subject: Capture SOAP envelope
> > > > >
> > > > > I'm calling a web service provided to me by one of mybut> > > > vendors.
> > > > > I
> > > > > used visual studio to automatically generate the SOAP requestsent.> > I am> > > > > trying
> > > > > to figure out a way to trap the soap envelope before it is> > accomplish> > > > >
> > > > > Is there a program, technique, or sniffer that I can use to> >> > > > > this?
> > > >
> > > >
> >Christoph Schittko [MVP] Guest
-
Christoph Schittko [MVP] #10
Re: Capture SOAP envelope
The trace tools can run on any server, but you have to point your proxy
to the location/port where the tool is listening.
You should configure your proxy to dynamically pull the web service
location from the application's config file. Right click on the web
service node under Web References in the solution explorer and set the
URL Behavior to dynamic. Now rebuild your service consumer and you'll be
able to quickly configure the URL for the web service proxy to invoke.
HTH,
Christoph Schittko
MVP XML
[url]http://weblogs.asp.net/cschittko[/url]
"host"> -----Original Message-----
> From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> Posted At: Wednesday, December 29, 2004 1:35 PM
> Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> Conversation: Capture SOAP envelope
> Subject: Re: Capture SOAP envelope
>
> Thanks again to everybody who is assisting...
>
> The trace utility as far as i can tell is designed to reside on theDilip> of the webservice...
>
> Is there a way to configure the utility to grab the request "before it
> leaves"?
>
> "Christoph Schittko [MVP]" wrote:
>> > Then the trace tool MSSoapT shipped with the Soap Toolkit [0] that[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4[/url]> > mentioned or tcpTrace [1] should do just fine.
> >
> > HTH,
> > Christoph Schittko
> > MVP XML
> > [url]http://weblogs.asp.net/cschittko[/url]
> >
> > [0]
> >opinion> > 088-9753-86F052EC8450&displaylang=en
> > [1] [url]http://www.pocketsoap.com[/url]
> >
> >> > > -----Original Message-----
> > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > Posted At: Wednesday, December 29, 2004 1:17 PM
> > > Posted To: microsoft.public.dotnet.framework.aspnet.webservic es
> > > Conversation: Capture SOAP envelope
> > > Subject: Re: Capture SOAP envelope
> > >
> > > Thanks Chris, but I dont need it in code at all.
> > >
> > > The webservice at our vendor is returning errors, which in mythe> > are> > > entirely unrelated to the envelope. They have asked me to trapmessage> > > request
> > > and email it to them to assist with debugging.
> > >
> > > "Christoph Schittko [MVP]" wrote:
> > >
> > > >
> > > > Are you looking at trapping them to execute code before the[0].> > is> > > > sent? Then you should look at building your own SoapExtensioncode> > > >
> > > > Depending on what you want to do, you'll need to plug in your[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h[/url]> > at> >> > > > the BeforeSerialize or AfterSerialize stages.
> > > >
> > > > HTH,
> > > > Christoph Schittko
> > > > MVP XML
> > > > [url]http://weblogs.asp.net/cschittko[/url]
> > > >
> > > >
> > > > [0]
> > > >microsoft.public.dotnet.framework.aspnet.webservic es> > > > tml/frlrfsystemwebservicesprotocolssoapextensionclasst opic.asp
> > > > > -----Original Message-----
> > > > > From: PokerJoker [mailto:PokerJoker@discussions.microsoft.com]
> > > > > Posted At: Wednesday, December 29, 2004 12:35 PM
> > > > > Posted To:company's> > > > > Conversation: Capture SOAP envelope
> > > > > Subject: Capture SOAP envelope
> > > > >
> > > > > I'm calling a web service provided to me by one of mybut> > > > vendors.
> > > > > I
> > > > > used visual studio to automatically generate the SOAP requestsent.> > I am> > > > > trying
> > > > > to figure out a way to trap the soap envelope before it is> > accomplish> > > > >
> > > > > Is there a program, technique, or sniffer that I can use to> >> > > > > this?
> > > >
> > > >
> >Christoph Schittko [MVP] Guest



Reply With Quote

