Re: proxy class - xml
- From: <param@xxxxxxxxxxxxxxxx>
- Date: Wed, 9 Nov 2005 08:50:09 -0600
Nopes, I cannot get it to work. The remote WS URL is
https://bizt.somedomain.com/cbtloanapps/loanapplication.asmx
I installed the Trace utility on my local web server & ran it. I started a
new formatted trace as follows:-
Local Port: 8888
Remote Host: bizt.somedomain.com
Remote Port: 443
I then in my code changed the URL for the proxy client to
http://localhost:8888/cbtloanapps/loanapplication.asmx
The trace finds a message, but the contents are blank. & the WS call returns
"an underlying connection was closed by the server"....
Any ideas?
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:PdMWnMS5FHA.1240@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Param,
>
> How are you doing on this issue? Have you got the Trace Utility working
> through the suggestions in my last reply? If there're any further things I
> can help ,please feel free to post here.
>
> Thank you!
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
> --------------------
> | X-Tomcat-ID: 58988189
> | References: <uU5ffxI4FHA.3000@xxxxxxxxxxxxxxxxxxxx>
> <OmzMG5I4FHA.632@xxxxxxxxxxxxxxxxxxxx>
> <R7hmdEO4FHA.1172@xxxxxxxxxxxxxxxxxxxxx>
> <eMgslrv4FHA.1140@xxxxxxxxxxxxxxxxxxxx>
> | MIME-Version: 1.0
> | Content-Type: text/plain
> | Content-Transfer-Encoding: 7bit
> | From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
> | Organization: Microsoft
> | Date: Mon, 07 Nov 2005 02:26:49 GMT
> | Subject: Re: proxy class - xml
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
> | Message-ID: <sfJX$K04FHA.2124@xxxxxxxxxxxxxxxxxxxxx>
> | Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
> | Lines: 148
> | Path: TK2MSFTNGXA01.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.dotnet.framework.aspnet.webservices:8290
> | NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
> |
> | Thanks for your response Param,
> |
> | The Trace Utility (in soap toolkit 3) can be used to trace SOAP message
> at
> | both clientside and serverside. For clientside, we can use it through
> the
> | following steps:
> |
> | 1. Start the Trace Utility, and create a new Formatted Trace, there will
> | popup a dialog which contains the following fields:
> |
> | ##local port: ________
> | ##destination host:________
> | ##destination port:________
> |
> | 2. Since we we're tracing the message on clientside. We can put a
> certain
> | unused port for local port (like 8888). And the
> | "destination host" and "destination port" should be identical to the
> Target
> | server (where the webservice is hosted), for example:
> |
> | ##local port: __8888______
> | ##destination host:____remoteServiceServer____
> | ##destination port:____80____
> |
> |
> | After that, we also need to modify our webservice client proxy. We need
> to
> | make our webservcie client proxy send request to that configured "local
> | port" above, so that the Trace Utility can capture the message ( and
> trace
> | utilty we help us forward it to the destination host and port after log
> the
> | message....)
> |
> | For example, in your client application code, we call the service like:
> |
> | WSProxy proxy = new WSProxy();
> |
> | proxy.Url = "http://localhost:8888/VirtualDir/service.asmx";
> |
> | proxy.CallMethod();
> |
> |
> | thus, the message call request will be send to "localhost:8888" first,
> then
> | be logged by TraceUtility and finally be forward to
> |
> | "remoteServiceServer:80" .....
> |
> | If there're still anything unclear, please feel free to post here.
> Thanks,
> |
> | Steven Cheng
> | Microsoft Online Support
> |
> | Get Secure! www.microsoft.com/security
> | (This posting is provided "AS IS", with no warranties, and confers no
> | rights.)
> |
> |
> | --------------------
> | | From: <param@xxxxxxxxxxxxxxxx>
> | | References: <uU5ffxI4FHA.3000@xxxxxxxxxxxxxxxxxxxx>
> | <OmzMG5I4FHA.632@xxxxxxxxxxxxxxxxxxxx>
> | <R7hmdEO4FHA.1172@xxxxxxxxxxxxxxxxxxxxx>
> | | Subject: Re: proxy class - xml
> | | Date: Sun, 6 Nov 2005 11:52:44 -0600
> | | Lines: 89
> | | X-Priority: 3
> | | X-MSMail-Priority: Normal
> | | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
> | | X-RFC2646: Format=Flowed; Original
> | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> | | Message-ID: <eMgslrv4FHA.1140@xxxxxxxxxxxxxxxxxxxx>
> | | Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
> | | NNTP-Posting-Host: corp.lazardgroup.com 64.237.78.178
> | | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
> | | Xref: TK2MSFTNGXA01.phx.gbl
> | microsoft.public.dotnet.framework.aspnet.webservices:8287
> | | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
> | |
> | | I downloaded the SOAP Toolkit, but have no idea how to use the Trace
> | tool.
> | | It keeps pointing to localhost. When I change the URL to the remote
> | server
> | | and make a webservice call, I still cannot see anything. Any ideas?
> Keep
> | in
> | | mind, I dont have access Server-Side. I only have access Client-Side.
> | |
> | | TIA!
> | |
> | | "Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
> | | news:R7hmdEO4FHA.1172@xxxxxxxxxxxxxxxxxxxxxxxx
> | | > Hi Param,
> | | >
> | | > As for capturing the underlying SOAP XML message of our webservice
> | calls,
> | | > we can use some TCP or HTTP trace utility tools. We can get them
> from
> | the
> | | > following location:
> | | >
> | | > #SOAP Toolkit 3.0
> | | >
> |
> http://www.microsoft.com/downloads/details.aspx?familyid=c943c0dd-ceec-4088-
> | | > 9753-86f052ec8450&displaylang=en
> | | >
> | | > #TcpTrace
> | | > http://www.pocketsoap.com/tcptrace/
> | | >
> | | > We can run them on both clientside and serverside to catpure the
> | incoming
> | | > or outgoing SOAP message.
> | | >
> | | > Hope helps. Thanks,
> | | >
> | | > Steven Cheng
> | | > Microsoft Online Support
> | | >
> | | > Get Secure! www.microsoft.com/security
> | | > (This posting is provided "AS IS", with no warranties, and confers
> no
> | | > rights.)
> | | > --------------------
> | | > | From: "Emil Kvarnhammar" <info at ynax.com>
> | | > | References: <uU5ffxI4FHA.3000@xxxxxxxxxxxxxxxxxxxx>
> | | > | Subject: Re: proxy class - xml
> | | > | Date: Thu, 3 Nov 2005 16:49:53 +0100
> | | > | Lines: 27
> | | > | X-Priority: 3
> | | > | X-MSMail-Priority: Normal
> | | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> | | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> | | > | X-RFC2646: Format=Flowed; Response
> | | > | Message-ID: <OmzMG5I4FHA.632@xxxxxxxxxxxxxxxxxxxx>
> | | > | Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
> | | > | NNTP-Posting-Host: c83-249-216-19.bredband.comhem.se 83.249.216.19
> | | > | Path:
> TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
> | | > | Xref: TK2MSFTNGXA01.phx.gbl
> | | > microsoft.public.dotnet.framework.aspnet.webservices:8255
> | | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
> | | > |
> | | > | If you have access to the machine that is running the webservice,
> you
> | | > | can access the local test page on that machine
> | | > | (http://localhost/YourWebService.asmx).
> | | > |
> | | > | Here, your'e able to see the xml output.
> | | > |
> | | > | If you have no access to the server, you can always use a proxy
> | | > application
> | | > | such as Paros or the one included in Soap toolkit, to view the xml
> | | > in/out
> | | > | data.
> | | > |
> | | > | regards
> | | > | Emil Kvarnhammar
> | | > | http://www.ynax.com
> | | > |
> | | > | <param@xxxxxxxxxxxxxxxx> wrote in message
> | | > | news:uU5ffxI4FHA.3000@xxxxxxxxxxxxxxxxxxxxxxx
> | | > | > Hi all, I have generated a Proxy Class for a remote asp.net WS.
> The
> | WS
> | | > | > method accepts a custom object and returns a custom object as
> well.
> | | > There
> | | > | > seems to be an error somewhere and we cannot pinpoint it. Is
> there a
> | | > way
> | | > | > for me to retrieve the underlying XML that is generated by the
> proxy
> | | > class
> | | > | > when making the SOAP call? Also is there a way to retrieve the
> | | > returned
> | | > | > XML after call the method?
> | | > | >
> | | > | > TIA!
> | | > | >
> | | > |
> | | > |
> | | > |
> | | >
> | |
> | |
> | |
> |
> |
>
.
- Follow-Ups:
- Re: proxy class - xml
- From: Steven Cheng[MSFT]
- Re: proxy class - xml
- References:
- proxy class - xml
- From: param
- Re: proxy class - xml
- From: Emil Kvarnhammar
- Re: proxy class - xml
- From: Steven Cheng[MSFT]
- Re: proxy class - xml
- From: param
- Re: proxy class - xml
- From: Steven Cheng[MSFT]
- Re: proxy class - xml
- From: Steven Cheng[MSFT]
- proxy class - xml
- Prev by Date: Re: Problem With Typed DataSet Schema
- Next by Date: Re: datetime format in xml
- Previous by thread: Re: proxy class - xml
- Next by thread: Re: proxy class - xml
- Index(es):
Relevant Pages
|