Subject: Calling .Net Web Service Operations from Tcl Web Services 1.8 Client
From: Mark Case
Date: 11/22/2007 8:21:20 AM
If anyone has utilized the client portion of Gerald Lester's Tcl Web
Services extension to call .Net web service operations and would be willing
to post example code, it would be greatly appreciated. Thanks in advance.
Here are specs for a service that I need to call:
Web service URL:
http://sample/url/WS/OrderTracking.Service.asmx
Two web methods:
public DHAddress GetOrderShippingAddress(long orderNumber)
public bool SetTrackingNumber(long orderNumber, string trackingNumber)
Order number to test is: 20071234567
Security is implemented using a SOAP header:
OrderTracking_Service wse = new OrderTracking_Service();
AuthHeader auth = new AuthHeader();
auth.Username = "username";
auth.Password = "password";
wse.AuthHeaderValue = auth;
.... (make web method call here)
|