I am attempting to create a web service that will send and received XML messages via SOAP. I am not certain which way to go on creating my client app. Ultimately , i have an application written in C++ that will have to ultimately receive the message, but is using C++ as a client much more difficult to code than using C#? Any advice or direction is appreciated.
Using client side JS only (i.e. no .NET controls) is it possible to drag from (say) the desktop and drop onto a form/control in the browser. Can anyone point me in the direction of an example if such a thing exists?
I have large Java application, which is controlled through web-services. Some functions are available for anonymous users, it works ok. Some functions are only for authenticated users. The service expects login credentials in the http request. The following .net code
using System;<br />
using System.Net;<br />
class Program<br />
staticvoid Main(string args)<br />
WebServiceX.SomeAPI api = new WebServiceX.SomeAPI.SomeAPI();<br />
api.Credentials = new NetworkCredential("MyUserName", "MyPassword");<br />
api.PreAuthenticate = true;<br />
api.Url = "http://mysite/myapp/api";<br />
api.SoapVersion = System.Web.Services.Protocols.SoapProtocolVersion.Soap11;<br />
throws an exception:
System.Web.Services.Protocols.SoapException: java.rmi.RemoteException:<br />
---omitted---: CLQAHDEBUG: Permission Denied<br />
: User anonymous does not have permission ---internal method name---<br />
in System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClien<br />
tMessage message, WebResponse response, Stream responseStream, Boolean asyncCall<br />
in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodNa<br />
me, Object parameters)<br />
in WebServicesConsumer2.LMSRoster.LMSRosterAPI.unrosterUsers(String in0) in<br />
.\WebServicesConsumer2\Web References\LMSRoster\Reference.cs:line 1<br />
in WebServicesConsumer2.Program.Main(String args) in .\WebService<br />
Captured communication packets do not contain any credential data. Why? How to make it work?
can anyone tell me how I can simulate a clicking on a button (that is instead the user clicking with the mouse, I want to click for him).
more specifically, on the send mail in outlook's new mail window.
BUT it needs to be a "behind the stage" action, so I wont compete with the user on the mouse...(he will win and I'll miss the clicking...).
Thans man, but do you know how can I specifically click a button in an applicatio that is not mine? like the outlook's new mail window? how do I know the name of the button (like if I want to click the send button?