Oops, should have sent this to CF-Talk. Sorry. This is all Bush's fault.
- Jim
Jim Campbell wrote:
>I'm testing a .NET web services interface, which requires the user to
>instantiate a custom class and pass in authentication information as
>part of the web service request. If I want to invoke it via .NET, the
>invocation code is fairly straightforward:
>
>private void Button1_Click(object sender, System.EventArgs e)
>{
> AuthWebService.WebService webService = new AuthWebService.WebService();
> AuthWebService.AuthHeader authentication = new
>AuthWebService.AuthHeader();
>
> authentication.Username = "test";
> authentication.Password = "test";
>
> webService.AuthHeaderValue = authentication;
> string strData = webService.SensitiveData();
>
> Response.Write(strData);
>}
>
>"AuthWebService" is a reference to the web service itself.
>"AuthHeader" is a public class exposed so the user can instantiate it.
>"AuthHeaderValue" holds the instance of the AuthHeader class, provided I
>can instantiate the rascal.
>"SensitiveData", of course, returns Sensitive Data :)
>
>However, using CFINVOKE, I'm not sure how I'd effectively mimic that
>process. Since this is exposed pubicly, what would I use, Java-wise,
>via CFINVOKE to make this work?
>
>- Jim
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- .NET web service with CFMX Jim Campbell
- Windows Media Player 10 is out Jim Campbell
- Windows Media Player 10 is out Matthew Small
- Re: Windows Media Player 10 is out Deanna Schneider
- Re: Windows Media Player 10 is out Jochem van Dieten
- RE: Windows Media Player 10 is out Matthew Small
- Re: Windows Media Player 10 is out Jochem van Dieten
- Re: Windows Media Player 10 is out Kevin Graeme
- RE: Windows Media Player 10 is out Matthew Small
- Re: Windows Media Player 10 is out Jim Campbell
- Re: Windows Media Player 10 is out Kevin Graeme
- RE: Windows Media Player 10 is... Matthew Small