Results 1 to 2 of 2

Thread: What am i doing wrong?

  1. #1

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    What am i doing wrong?

    Code:
    Me.WebBrowser1.Navigate "HTTPS://testext2.scoteq.co.uk/cenq/ContractEnquiryServlet", , , strPost, "POST HTTP/1.1 Content-Type: text/xml"
    I am using this to post xml data to a site (the xml data is in the variable strPost) and it should generate an xml response. however all it does is open the default html page saying "Contract Enquiry requests following the Origo XML standard should be sent to this service using the "post" method." which is what it says if you just navigate to the page without posting any data...
    Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: What am i doing wrong?

    It could be that you're not "following the Origo XML standard". Since I can't access the site I can only make guesses.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width