473,397 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

MSSOAP errors

On a server that we run automated apps on, that has VB code that uses
the MSSoap tool kit to access a web service, we periodically get these
errors:

Soap error: XML Parser failed at linenumber 1, lineposition 0, reason
is: No data is available for the requested resource.

Soap error: Loading of the WSDL file failed.

Soap error: One of the parameters supplied is invalid..

This happens at varying times and only for a very short time but it
causes our applications to go nuts. Then everything clears out and
it's fine.

Does anyone know what these errors are caused by?

Dec 15 '06 #1
2 7280
I think that possibly you have a Function or Subroutine that uses parameters
in the SOAP service that's being accessed by a client application. The
application is passing the wrong type of parameter to the Function or
Subroutine, like Long when it should be Interger, String when it should be
Long or something like that, which is casusing the problem. Or some object
that's not Serialized is being passed to the SOAP Service.

You can set the SoapService.Timeout = -1 'Infinite timeout so you can debug
the SOAP service and see what is happening when it's accessed.

Duane :)

"Doug" wrote:
On a server that we run automated apps on, that has VB code that uses
the MSSoap tool kit to access a web service, we periodically get these
errors:

Soap error: XML Parser failed at linenumber 1, lineposition 0, reason
is: No data is available for the requested resource.

Soap error: Loading of the WSDL file failed.

Soap error: One of the parameters supplied is invalid..

This happens at varying times and only for a very short time but it
causes our applications to go nuts. Then everything clears out and
it's fine.

Does anyone know what these errors are caused by?

Dec 17 '06 #2
I think that possibly you have a Function or Subroutine that uses parameters
in the SOAP service that's being accessed by a client application.
This is all our code does below, I'm not sure what would be passed in
wrong though?

Dim objSoap as New MSSOAPLib30.SoapClient30
objSoap.MSSoapInit (strWebServicePathValue)
objSoap.WebServiceMethodName(strValue)
You can set the SoapService.Timeout = -1 'Infinite timeout so you can debug
the SOAP service and see what is happening when it's accessed.
The Soap Client doesn't appear to have a Timeout value. The only
methods, properties that the Soap Client has are:
ClientProperty
ConnectorProperty
Detail
FaultActor
FaultCode
FaultCodeNamespace
FaultString
HeaderHandler
MSSoapInit
MSSoapInit2

Dec 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DFish | last post by:
I'm not even sure I'm at the right place to ask, but... (My OS is WinXP Home)I upgraded to PrintMaster 16; which requires and loaded .Net Framework v1.1. Had two issues: XP User Account ASP.NET...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
0
by: doli | last post by:
Hi, I have the following piece of code which iterates through the potential errors: i =0 For Each error_item in myConn.Errors DTSPackageLog.WriteStringToLog myConn.Errors(i).Description...
1
by: John Bailo | last post by:
I need to use the MSSOAP component on a classic asp page. The site will access an ASP.NET webservice using the SOAP protocol. On my workstation, I was able to do this successfully. When I...
4
by: johnb41 | last post by:
I have a form with a bunch of textboxes. Each text box gets validated with the ErrorProvider. I want the form to process something ONLY when all the textboxes are valid. I found a solution,...
1
by: aws.steve | last post by:
I am trying to get my first Soap based website to work on my Windows 2000 server with IIS 5. The code used to create the client is as follows: set SoapClient = CreateObject("MSSOAP.SoapClient")...
24
by: pat | last post by:
Hi everyone, I've got an exam in c++ in two days and one of the past questions is as follows. Identify 6 syntax and 2 possible runtime errors in this code: class demo {
1
by: william | last post by:
Hi All, I have a web service developed by .NET, and I call it from vb script by createobject("MSSOAP.SOAPClient"). In my development environment, it's ok. But when I deploy it to other machine, it...
8
by: ImOk | last post by:
I just have a question about trapping and retrying errors especially file locking or database locks or duplicate key errors. Is there a way after you trap an error to retry the same line that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.