Re: VBA access to WSE web service?



I'm not actually using any of the security (encryption/signing) of
WSE, so it's just a protocol issue. However, if TCP is not supported
by the object used in Office, then I'm still out of luck. Oh, well! I
guess my options are changing the protocol of my web service back to
HTTP or doing a little COM Interop.

Thanks for your help!
Brad.

On Tue, 13 Dec 2005 02:31:14 GMT, stcheng@xxxxxxxxxxxxxxxxxxxx (Steven
Cheng[MSFT]) wrote:

>Hi Bradley,
>
>Welcome to webservice newsgroup.
>Regarding on the calling WSE protected XML Webservice through Office
>WebService toolkit question, based on my understanding, this is not
>supported due to the limitation of the Office webservice toolkit ....
>First, the Tcp tranport channel is specific to the WSE components while
>most of the webservice components only support HTTP as the transport
>layer......
>Also, even office toolkit support HTTP, since the WSE component protect the
>xml webservice's SOAP message by apply encryping/signing policy, this is
>also what office toolkit can not do so far. So I think we can only call
>normal xml webservice over http directly through office webservice toolkit
>currently...
>
>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: Bradley Plett <plettb@xxxxxxxxxxxxxxxx>
>Subject: VBA access to WSE web service?
>Date: Mon, 12 Dec 2005 09:48:34 -0700
>Message-ID: <vo9rp1tqtsv0pm1ep54tg9tp92s2gu5mi1@xxxxxxx>
>X-Newsreader: Forte Agent 3.1/32.783
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
>NNTP-Posting-Host: s010600062595c433.cg.shawcable.net 68.144.91.204
>Lines: 1
>Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
>Xref: TK2MSFTNGXA02.phx.gbl
>microsoft.public.dotnet.framework.webservices.enhancements:7916
>X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements
>
>I have built a web service using WSE that uses "soap.tcp" as the
>transport. Is it possible to access this web service from VBA using
>the standard soap client (SoapClient30) (i.e. the stuff that's
>included with the "Web Service References Tool")? If so, how?
>
>When I use the "Web Service References Tool" to generate the code to
>access the web service, it generates the following:
>--------------------------------------------------
>Private sc_ClientComponentServic As SoapClient30
>Private Const c_WSDL_URL As String = "http://localhost/myapp.wsdl";
>Private Const c_SERVICE As String = "ServiceName"
>Private Const c_PORT As String = "ServicePort"
>Private Const c_SERVICE_NAMESPACE As String = "http://tempuri.org/";
.



Relevant Pages

  • Problem solved
    ... am not using a beta of WSE 3; the file does already exist in my web service. ... I have no problems when I do this on a new simple web service project. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Possible to consume a web service with VB.NET 1.1 VS 2003?
    ... webservice is aiming at interop between heterogenious platforms. ... Microsoft MSDN Online Support Lead ... Possible to consume a web service with VB.NET 1.1 VS 2003? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: VBA access to WSE web service?
    ... \par Yes, you're right, COM interop is one possible approach as long as the client machine also has .net framework and WSE installed... ... \par Microsoft Online Support ... \par Subject: Re: VBA access to WSE web service? ... \par>Regarding on the calling WSE protected XML Webservice through Office ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: secure a WS called via GPRS
    ... You can use the WSE 2.0 implementation for the Compact Framework here. ... I understand you're consider a security mechanism ... secure your ASP.NET webservice which will be consumed by many smart ... since WSE 3.0 only support .net framework ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Ajax, Webmethod, PageMethod (multiple versions)
    ... calling remote AJAX webservice: ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... all specific loging into web Service will be the best case for you. ...
    (microsoft.public.dotnet.framework.aspnet)