Re: Creating a web reference to a URL beyond the company firewall
From: Jon Flanders[DevelopMentor] (jfland_at_develop.com)
Date: 01/31/05
- Next message: Patrick: "cXML 1.2 to XSD schema"
- Previous message: Sam Vanhoutte: "BTF2 Reliable messaging"
- In reply to: mauricethegp: "Creating a web reference to a URL beyond the company firewall"
- Next in thread: mauricethegp: "Re: Creating a web reference to a URL beyond the company firewall"
- Reply: mauricethegp: "Re: Creating a web reference to a URL beyond the company firewall"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 31 Jan 2022 11:52:55 -0800
Download the wsdl outside of BizTalk. Import it through webreference - going
to your local wsdl instead of the live wsdl. When you setup the SendPort -
you can configure the SOAP Send Adapter to authenticate against the proxy
server (it is seperate tab under the send port adapter configuration)
-- Jon Flanders [DevelopMentor] http://staff.develop.com/jfland/ http://www.develop.com/courses/biztalk "mauricethegp" <mauricethegp@newsgroup.nospam> wrote in message news:DB365D7C-B207-4188-9A6B-7099EB5320AF@microsoft.com... >I know that this may be an old chestnut to .NET developers and that there >are > workarounds in normal .NET projects, but here goes anyway... > > The scenario is that I want to create a BizTalk application that will > consume a web service. The web service is hosted on a computer which is on > the public internet, outside the company firewall. All access to such > public > internet sites have to be routed via the company proxy server. > > Let's say for example: > * the web service is at www.supplier.com/webservices/theservice.asmx, > * the proxy server name (as shown in Internet Properties/Connections/Lan > Settings) is companyproxy, using port 80 > > I know I need to add a web reference via the "Add Web Reference" wizard. > > If I just give "Add Web Reference" the URL > "http://www.supplier.com/webservices/theservice.asmx" then I get prompted > for > username/password/domain. After supplying the valid credentials the > dialogue > shows the documentation about the available services in "theservice.asmx" > in > the browser pane, but has a message in the "web services found at this > URL" > to the effect "There was an error downloading > 'http://www.supplier.com/webservices/theservice.asmx'. > The underlying connection was closed: Unable to connect to the remote > server." > > The documentation for Add Web Reference says that I have to include the > proxy server address in the URL. I've tried > "http://companyproxy:80/www.supplier.com/webservices/theservice.asmx", > "http://companyproxy:80/login?url=http://www.supplier.com/webservices/theservice.asmx" > and lots of other combinations, but so far all I get are syntax or other > errors. > > How do I specify this URL? > > PS I know that in a normal C# project, I can create a proxy class using > wsdl.exe and include that class in the project, then instantiate an object > of > that class and attach a Web Proxy object with the default or specified > credentials. I can't see how I can use this technique in BizTalk, though, > where I don't seem to have the option of meddling with the source files... > > I hope someone out there can help. It MUST be a common enough scenario... > > -- > Steve Gunning
- Next message: Patrick: "cXML 1.2 to XSD schema"
- Previous message: Sam Vanhoutte: "BTF2 Reliable messaging"
- In reply to: mauricethegp: "Creating a web reference to a URL beyond the company firewall"
- Next in thread: mauricethegp: "Re: Creating a web reference to a URL beyond the company firewall"
- Reply: mauricethegp: "Re: Creating a web reference to a URL beyond the company firewall"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: BTS Synchronous WS request...Proxy Error
... You might want to set the client connection timeout in the orch to make ...
communication between the web service, the proxy server and the client. ... development
network environment i.e BizTalk Server, Web Service, SQL ... (microsoft.public.biztalk.general) - Re: Adding a web reference to a java web service
... you save the contents of the wsdl (xml) to a file, ... > so that .Net will
bypass the proxy server for the IP address because the ... > the web service
actually reside on the server within the intranet. ... (microsoft.public.dotnet.framework.aspnet.webservices) - Creating a web reference to a URL beyond the company firewall
... The web service is hosted on a computer which is on ... the proxy server
name (as shown in Internet Properties/Connections/Lan ... I know I need to add a web reference
via the "Add Web Reference" wizard. ... It MUST be a common enough scenario... ...
(microsoft.public.biztalk.general) - Error adding web reference.
... I am trying to write my first web service and I want to connect to the ... You
need to explicitly specify the address and port of the proxy server ... Auto-detect proxy
option for Internet Explorer connections is ignored ... From the Tools menu, choose Options
and on the Web Browser page, ... (microsoft.public.dotnet.framework.aspnet.webservices) - The proxy settings on this computer are not configured correctly for Web discovery
... An ASP web service is set up on the desktop IIS. ... laptop to access
the desktop web service, I get an error message: ... internet browser LAN settings are not set
to use a proxy server. ... (microsoft.public.dotnet.framework.webservices)