Re: MS Soap Toolkit 3 - Proxy Server Issue - XML SOAP

This is a discussion on Re: MS Soap Toolkit 3 - Proxy Server Issue - XML SOAP ; I am having similar issue too. We can't get MS Soap Toolkit 3.0 to connect to an external .NET webservice through proxy server as we've been having error "0x800A151E". Internet Explorer proxy settings has been configured properly (able to browse ...

+ Reply to Thread
Results 1 to 2 of 2

Re: MS Soap Toolkit 3 - Proxy Server Issue

  1. Default Re: MS Soap Toolkit 3 - Proxy Server Issue

    I am having similar issue too. We can't get MS Soap Toolkit 3.0 to connect
    to an external .NET webservice through proxy server as we've been having
    error "0x800A151E". Internet Explorer proxy settings has been configured
    properly (able to browse web pages) but MS Soap does works. Any clue? By the
    way, MS Soap3 doesn't seems to support ConnectorProperty "UseProxy", and
    "ProxyPort" as it gives me the error "Connector: The property "ProxyPort" is
    not recognized. HRESULT=0x800A1388". Any help will be greatly appreciated!
    Thanks!


    "Cameron Michaelson" <cameron.michaelson@wal-mart.com> wrote in message
    news:37cc01c32aa2$cdb9f2d0$3101280a@phx.gbl...
    > I am trying to use the MS Soap Toolkit 3.0 API's to query
    > an external web service (resides outside my companies
    > firewall) and have used every combination of proxy
    > settings within the soap api's without any luck. Can some
    > please send me a snippet of code (THAT WORKS!) for
    > configuring the MS Soap Tookit 3 to poke past my proxy
    > server (requires credentials).
    >
    > Thanks a million!
    > Cameron




  2. Default Re: MS Soap Toolkit 3 - Proxy Server Issue

    I am using the following bit of code to set the User Agent and ensure that
    Internet Explorer's default proxy settings for the current user are being
    used.

    Dim oSoapClient
    Set oSoapClient = CreateObject("MSSOAP.SoapClient30")
    oSoapClient.MSSoapInit "http://SERVER/service.asmx?wsdl"
    oSoapClient.ConnectorProperty("ProxyServer") = "<CURRENT_USER>"
    oSoapClient.ConnectorProperty("EnableAutoProxy") = TRUE
    oSoapClient.ConnectorProperty("RequestHTTPHeader") = "user-agent:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)"

    There seems to be no information I can find about RequestHTTPHeader anywhere
    on the internet and only the following in the help file.

    RequestHTTPHeader (write only) Enables you to set HTTP header for
    the request message.

    but it seems to work by setting just the property you want to change and
    letting the Toolkit fill in the rest.

    hope this helps.

    - Des

    "Roger" <roger.leong@NOSPAMwebxcentric.com> wrote in message
    news:eBVqSQskDHA.2528@TK2MSFTNGP12.phx.gbl...
    > I am having similar issue too. We can't get MS Soap Toolkit 3.0 to connect
    > to an external .NET webservice through proxy server as we've been having
    > error "0x800A151E". Internet Explorer proxy settings has been configured
    > properly (able to browse web pages) but MS Soap does works. Any clue? By

    the
    > way, MS Soap3 doesn't seems to support ConnectorProperty "UseProxy", and
    > "ProxyPort" as it gives me the error "Connector: The property "ProxyPort"

    is
    > not recognized. HRESULT=0x800A1388". Any help will be greatly appreciated!
    > Thanks!
    >
    >
    > "Cameron Michaelson" <cameron.michaelson@wal-mart.com> wrote in message
    > news:37cc01c32aa2$cdb9f2d0$3101280a@phx.gbl...
    > > I am trying to use the MS Soap Toolkit 3.0 API's to query
    > > an external web service (resides outside my companies
    > > firewall) and have used every combination of proxy
    > > settings within the soap api's without any luck. Can some
    > > please send me a snippet of code (THAT WORKS!) for
    > > configuring the MS Soap Tookit 3 to poke past my proxy
    > > server (requires credentials).
    > >
    > > Thanks a million!
    > > Cameron

    >
    >




+ Reply to Thread

Similar Threads

  1. Soap Server Error Server (0x80070057) with Toolkit 2.0
    By Application Development in forum XML SOAP
    Replies: 0
    Last Post: 03-03-2005, 12:40 PM
  2. Replies: 0
    Last Post: 11-18-2004, 04:38 PM
  3. Replies: 0
    Last Post: 04-29-2004, 06:30 AM
  4. Can I create an ASP Soap server with Soap Toolkit 3.0 and WSDL only?
    By Application Development in forum XML SOAP
    Replies: 4
    Last Post: 09-26-2003, 04:36 AM