ServerXMLHTTP Send Problem

xml

    Sponsored Links

    Next

  • 1. MSXML6: no longer override xsi:schemaLocation with user-specified SchemaCache?
    Hi, In MSXML4, schemaLocation and noNamespaceSchemaLocation were never used during validation: you should use a SchemaCache containing the schemas against which the document was validated. This was fine, because it allowed me to use 'local' versions of the schemas that were referenced in the XML document. In MSXML6, this was changed: "Inline schemas and schemas referenced from an instance using xsi:SchemaLocation are now added to an XML instance-specific cache which wraps the user-supplied SchemaCache." Now, when i use the SchemaCache and add the 'local' version of the schemas that were referenced in the XML document, i get this error message: "Duplicate named <element> : name = 'ROOT'". It seems both xsi:schemaLocation and the SchemaCache are used during validation resulting in a conflict. Ik know i can use ResolveExternal=False so xsi:schemaLocation won't be used, but in that case xsd:import/xsd:include are not resolved either, so that's not an option. How can i solve this? thank you, - Gerben Abbink
  • 2. Xpath querey to select nodes
    Hi I have copied tohe following because it show my problem. What should the XPath expression look like to get the agency with ID=2 ?. I need it to fill my formview with a specific agency from my XmlDataSource. <Agencies> <Agency> <ID>1</ID> <Code>ABC</Code> </Agency> <Agency> <ID>2</ID> <Code>ABC</Code> </Agency> </Agencies> Thanks Paul S
  • 3. Engieering Software very cheap Price

ServerXMLHTTP Send Problem

Postby U3RldmU » Sat, 05 Nov 2005 02:48:03 GMT

I'm looking for help or suggestions with regard to the errors below.  I am 
using the ServerXMLHTTP30 object to connect to an intranet site via SSL.  
This is an asynchronous process with the appropriate call back methods.

Most of the PCs have MSXML3 SPK3 or greater, but they don't have WinHTTP.  
According to Microsoft's documentation, WinHTTP isn't required after MSXML3 
SPK1.

-2147012865	The connection with the server was reset
-2147012890	The URL does not use a recognized protocol
-2147012889	The server name or address could not be resolved.
-2147012744	The server returned an invalid or unrecognized response

Thanks,
Steve


Similar Threads:

1.Controlling size sent in MSXML2.ServerXMLHTTP.send

Is there a way to force all data to be sent in a single transmission using 
MSXML2.ServerXMLHTTP.send? I am sending XML data to a site which is 
experiencing problems if the there are more than 8192 bytes in the what is 
being Posted. I assume it is a problem at their end but would like to try to 
force it go out in one transmission at my end if possible.

2.System.ArgumentException when calling Send method of ServerXMLHTTP

I've written some VB.NET code that asnychronously POSTs form data to a 
specified URL. 99% of the time, it works fine. A few users report seeing an 
exception error, which I've never been able to recplicate. The error is 
"System.ArgumentException: The parameter is incorrect."

The line of code that generates the exception is:
	GetConnection.Send (AICCData)

Here's some of the relevant code leading up to that line:
	GetConnection = CreateObject("MSXML2.ServerXMLHTTP")
	GetConnection.Open ("POST", AiccUrl, True)
	GetConnection.setRequestHeader ("Content-Type", 
"application/x-www-form-urlencoded")
	AICCData = "Command=PutParam&version=2.2&session_id=" & AiccSid & 
"&AICC_Data=" & Request.Form ("aicc_data")

What could be causing this exception? What possible value of AICCData could 
lead to this exception?

Is the problem really in the call to Send(), or could it be due to a 
malformed URL or some other problem earlier in the code?

Thanks in advance for any help with this.

3.Send/forward email using webdav/MSXML2.ServerXMLHTTP



Return to xml

 

Who is online

Users browsing this forum: No registered users and 22 guest