I'm using a Mutex to make sure a webservice is only running once at a time, but I can't get it 100% right with WaitOnce and ReleaseMutex.
I've got this:
private static Mutex mutex = new Mutex();
[WebMethod]
public bool TriggerAll()
{
bool ranJobs = false;
try
{
if (mutex.WaitOne(0, f...
My team has switched from J-meter to SoapUI for testing purposes.We are testing regular WSDL-based services. We used this nifty feature in J-meter where you could write assertions in the form of regular expressions to check the XML responses. For example if I wanted to make sure there were so many xml tags contained in the response you c...
Hi all, I've got the following code:
void ReferenceManager_DoWork(object sender, DoWorkEventArgs e)
{
try
{
// Get the raw data
byte[] data = this.GetData(IvdSession.Instance.Company.Description, IvdSession.Instance.Company.Password);
// Deserialize the list
List<T> deseriaizedList = null;
...
I am actually not sure if a webservice would be the correct way to go or if there is a better alternative, but here is my question. I have a dropdown with some products and I want to give the user the ability to add a new product, so when they select add new, it will pop up a dialog and when they are done it will insert the new product ...
When I run my WCF service on my local machine, it works fine. When I deploy the same files to our test server, I get this error when my test client tries to connect to the WCF service:
{"Security Support Provider Interface (SSPI) authentication failed. The server may not be running in an account with identity 'host/Server01'. If the se...
UPDATE: It looks like this same question has gone unanswered on the Adobe forums.
I have a C# web service exposed via WCF. Some of the exposed operations take/return abstract types. When I use the client stubs generated by Flex Builder 3, I construct the derived types and pass them as parameters to the web service call. This all appears...
I am trying to place a dataview webPart on a WSS page through Sharepoint designer, consuming a WCF Web service, buth when I place the WSDL of my Web Service, it gives me an error. I migrated the WS to ASP.Net WS and it work perfectly.
The error is related to the Soap envelope. I am using anonymous consumption for now (don't want to ad...
I am working on an android app that needs to act on a few data files totaling around 30MB. I put together a test and the emulator failed with OutOfDiskSpace. Debugging on a device failed with even a smaller data size. After reading through the google groups, it appears that the application size limit isn't stated anywhere and nobody ...
For my company, I created a ASP.NET web service that uses a 3rd party payment prcoessing engine to authorize credit card transactions.
The web service is hosted on a seperate application server and connects to the payment processing server via an ActiveX object (.ocx extension). Lately, it has been generating a HRESULT: 0x80010105 (RPC...
I am converting a SOAP toolkit 3 Vb web service to a .Net web service. I have a requirement where in I want to pass a two dimensional variant array to vb client. I tried the following
1.
I looked into the xml produced by the SOAP toolkit 3 for the vb web serive and tried to produce the exact same xml as vb produced in the .Net web servi...
Hi all.
I'm trying to create a WS based on a WSDL that defines one Request and one Response. The incoming request should be mapped to an endpoint depending on the SOAPAction defined in the SOAP message. To achieve this I'm trying to use the SoapActionEndpointMapping in my servlet.xml config file and define the mappings, as described in t...
I am using a webservice to get some results in XMl form... here is the part of the code
public function getXML()
{
$url=$this->constructURL();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$xml = curl_exec($ch);
if ($e...
Hi
Trying to create some sample prgms using jax-ws.
I am able to successfully generate the required artifacts(java files) and the wsdl file using wsgen. and finally a .war file is generated by maven.
Deployed this .war file in weblogic 9.2 and tried to access the wsdl using the IE browser.But it did not work.
I observed two things
Th...
I've got a LINQ 2 SQL generated class I'd like to expose through a webservice.
There are some internal properties I don't want to be available.
Normally I'd throw [XmlIgnore] in there but because the properties are in the generated half I can't do that.
I've been looking at using MetadataType following this post which looks like it sho...
I have a sessionful WCF service that spawns a process and opens a named pipe to this process when the IsInitiating operation is called. When the IsTerminating operation is called, the service sends a message down the pipe to inform the process on the other end that it can shut-down. Unfortunately, if the client doesn't disconnect gracefu...
I want to create a simple web service which I shall then make available to third parties to host. The third parties will want to host the service as part of their own systems be that Windows, Linux or Solaris. They will want the web service to be made available to them as a pre compiled binary which they can run without dependencies on f...
I am having a frustrating time trying to do something with Perl that would take a couple of lines of code in C#, namely to call a web service on a Windows server that requires Integrated Windows Authentication.
The most likely candidate I've found for success is a module called LWP::Authen::Ntlm, but all the examples I've googled requir...
If I define a web service interface that uses WS Security, and many people using many different platforms implement that interface, can I expect seamless interoperability? Is WS-Security mature enough for that to happen? Is it widely and robustly implemented in modern programming languages? Specifically I am considering using the user na...
www.whatpub.org is an ASP.NET v2 web application written by myself in VB.NET. It's hosted currently at www.webhost4life.com - cheap, lots of features but not exactly fast but that's an aside. The database for the pubs is held in a SQL 2005 database. There are two basic parts to the system. The front end "Search for pubs and display guide...
Hi,
In retrieving data from a Oracle database that contains BLOB fields (Office's .doc files etc), do I have to do something particular to send it via web services?
It is sent like a string and I'm trying to convert the string into an array of bytes and write it to a file to recreate, client-side, the .doc file.
What is the correct app...