Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / June 2005

Tip: Looking for answers? Try searching our database.

the objXMLSend in xmlhttp.Send(objXMLSend) is not send ....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
@rpus - Development - 27 Jun 2005 07:14 GMT
I have the folloving function in vb .net:

  Function SendXMLReq() As String
       Dim returnval As String
       Dim xmlhttp As Object = New MSXML2.ServerXMLHTTP
       Dim objXMLSend = New MSXML2.DOMDocument
       Dim allok As Boolean = False
       objXMLSend.async = False
       objXMLSend.loadXML("<?xml
version=""1.0""?><saldo><msisdn>4550100023</msisdn></saldo>")
       xmlhttp.Open("POST", INUrl)
       allok = xmlhttp.Send(objXMLSend)
       If xmlhttp.responseXML.xml <> Nothing Then returnval =
xmlhttp.responseXML.xml
       SendXMLReq = returnval
   End Function

When i look in the trace from serverXMLHTTPTrace i get:

08:01:42.812 ::*0000001* :: <<<<-------- HTTP stream follows below
----------------------------------------------->>>>
08:01:42.812 ::*0000001* :: POST / HTTP/1.1
08:01:42.812 ::*0000001* :: Accept-Language: da
08:01:42.812 ::*0000001* :: Content-Length: 0
08:01:42.812 ::*0000001* :: Accept: */*
08:01:42.812 ::*0000001* :: User-Agent: Mozilla/4.0 (compatible; Win32;
WinHttp.WinHttpRequest.5)
08:01:42.812 ::*0000001* :: Host: localhost
08:01:42.812 ::*0000001* :: Connection: Keep-Alive
08:01:42.812 ::*0000001* ::
08:01:42.812 ::*0000001* ::
08:01:42.812 ::*0000001* :: <<<<-------- End
----------------------------------------------->>>>

So the objXMLSend is not send ....

Where do i go wrong ?
Deepak - 27 Jun 2005 22:21 GMT
Can you explain the problem in detail?
Try to capture the error code. The error code will give us more information
in how to apprroach the problem.
Thanks
Deepak

> I have the folloving function in vb .net:
>
[quoted text clipped - 33 lines]
>
> Where do i go wrong ?
@rpus - Development - 28 Jun 2005 07:53 GMT
As given from the log, there is NO errorcode, - the code runs just fine, - it
just dont send the body (objXMLSend).

> Can you explain the problem in detail?
> Try to capture the error code. The error code will give us more information
[quoted text clipped - 39 lines]
> >
> > Where do i go wrong ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.