473,396 Members | 1,760 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,396 software developers and data experts.

Infreqent error posting SOAP message ( 0x800A1518 )

I am getting occasional errors when invoking calls on the
low level API of the SOAP library (3.0 Toolkit).

The HRESULT code is always 0x800A1518.
The _com_error Description is "Connector:Http error while
parsing server's response. HRESULT=0x800A1526 -
Connector:Unspecified HTTP error. HRESULT=0x800A1518".
The _com_error ErrorMessage is "Unknown error 0x800A1518".

The specific method that I am noticing the error on is
with EndMessage( ) of an HttpConnector30 object. The
second or third attempt at repeating just the EndMessage
method will frequently be successful (waiting a second or
so between calls). When the error does occur, the
response is immediate, so I don't believe it is a timeout
problem.

We are wrapping all of the calls in our own framework, but
the steps are roughly as follows:

----------start-------------
ISoapConnectorPtr Connector;
HRESULT answer = Connector.CreateInstance(__uuidof
(HttpConnector30));

Connector->Property["SoapAction"] = "";
_variant_t vConnectionTimeout((long)20000);
Connector->Property["ConnectTimeout"] = vConnectionTimeout;
_variant_t vTimeout((long)40000);
Connector->Property["Timeout"] = vTimeout;
Connector->BeginMessage();
Connector->Property["EndPointURL"] = URL.c_str();
Connector->Connect();

ISoapSerializerPtr Serializer;
Serializer.CreateInstance(__uuidof(SoapSerializer3 0));
Serializer->Reset();
IUnknown* pIS = Connector->InputStream
Serializer->Init(_variant_t( (IUnknown*) pIS ) );

Serializer->StartEnvelope("","NONE","");
Serializer->SoapAttribute("SOAP-
ENV:encodingStyle","" ,"http://schemas.xmlsoap.org/soap/enc
oding/", "");
Serializer->SoapAttribute("xmlns:SOAP-
ENC","" ,"http://schemas.xmlsoap.org/soap/encoding/", "");
Serializer->SoapAttribute
("xmlns:xsi","" ,"http://www.w3.org/1999/XMLSchema-
instance", "");
Serializer->SoapAttribute
("xmlns:xsd","" ,"http://www.w3.org/1999/XMLSchema", "");
Serializer->SoapAttribute
("xmlns:ns2","" ,"http://schemas.xmlsoap.org/soap/encoding/
", "");
Serializer->StartBody("NONE");

Serializer->StartElement(aMethodName.c_str(),
aServiceName.c_str(), "NONE", aNameSpace.c_str());
Serializer->WriteString(aValue.c_str());
Serializer->EndElement();

Serializer->EndBody();
Serializer->EndEnvelope();

Connector->EndMessage();
-----------stop--------------

The calls do not require authentication, a proxy is not
being used, and the connection is not secure. Any ideas
on what is happening would helpful. Thank you.
Nov 12 '05 #1
0 4904

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

Similar topics

2
by: Reshma Prabhu | last post by:
Hello, I have created an web service in C# and accessing it thrugh C++ code. But when i make a call through the client, the parameter does not reach the server but it does not show any error...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
7
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything...
4
by: glebur | last post by:
Hi, I'm trying to create a web service client in C# but I get stuck at one of the first steps. When adding a Web reference to the Visual Studio project; I get this error (this is a translation,...
3
by: Hennesey | last post by:
Hello all, I am developing a Visual Studio .Net 2005 application. This application consumes a JAVA web service from Axis 1.3. When I call a method of the web service I get the following error...
1
by: manfred | last post by:
Hi Together, I tried to build a webservice proxy using a wsdl, generated in the sun/java world. I used the .Net 2003 Version, choosing there VC++. The steps I did: 1. Visual C++ Projekte /...
13
by: ScottM | last post by:
I have run into a problem generating the class file via the WSDL utility. I have a WSDL file that was generated by XMLSpy and is able to be read by the Java code utility, but I get the following...
2
by: RdS | last post by:
Hello, I use sourcesafe and vb 2003 for my dev environment. on the sourcesafe server I also have sql2005 and reporting services installed. The web app references this sql server for db. When...
3
by: John S | last post by:
Using VB.NET 2005, I created a Web Service that returns a dataset from a SQL Server database. In the same solution I created a test GUI with a Windows form to display the results. It worked...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.