Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 05-05-2011, 03:00 AM
prakriti_aryan prakriti_aryan is offline
Banned
 
Join Date: 04-25-11
Location: dubai
Posts: 33
iTrader: 0 / 0%
Need Help

Hi,

please check the code and tell in which format i can save it.

PHP Code:
POST /gateway.dotw HTTP/1.1
Host: [url]http://xmldev.DOTWconnect.com[/url]
Content-Type: text-xml
Connection: close
<?xml version="1.0" encoding="UTF-8" ?>
<soap:Envelope
xmlns:soap="http://gateway.dotw">

<soap:Body xmlns:m="http://gateway.dotw">
  <m:customer>
<m:username>username</m:username>
<m:password>md5(password)</m:password>
<m:id>company code</m:id>
<m:source>1</m:source>
<m:product>product</m:product>
<m:request command="command">request details</m:request>
</m:customer>
</soap:Body>

</soap:Envelope>
i got this error
http://hoteldealshotel.com/connect.xml



Thanks
Prakriti

Last edited by snakeair; 05-05-2011 at 08:00 AM.
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 05-10-2011, 11:30 PM
Offerscript Offerscript is offline
Junior Member
 
Join Date: 05-10-11
Posts: 28
iTrader: 0 / 0%
i would remove
Code:
POST /gateway.dotw HTTP/1.1 Host: http://xmldev.DOTWconnect.com Content-Type: text-xml Connection: close
then try again.
 
Reply With Quote
  #3  
Old 05-11-2011, 08:00 AM
nemrod's Avatar
nemrod nemrod is offline
v7n Mentor
 
Join Date: 12-21-10
Location: Sweden
Posts: 463
iTrader: 0 / 0%
Yeah, it's XML but those first four lines don't belong there, they're HTTP headers.
 
Reply With Quote
  #4  
Old 05-11-2011, 08:05 AM
Offerscript Offerscript is offline
Junior Member
 
Join Date: 05-10-11
Posts: 28
iTrader: 0 / 0%
Quote:
Originally Posted by nemrod View Post
Yeah, it's XML but those first four lines don't belong there, they're HTTP headers.
it's kinda sad that you couldn't tell them that like 6 days ago, until someone else said something....
 
Reply With Quote
  #5  
Old 05-11-2011, 08:51 AM
nemrod's Avatar
nemrod nemrod is offline
v7n Mentor
 
Join Date: 12-21-10
Location: Sweden
Posts: 463
iTrader: 0 / 0%
Quote:
Originally Posted by Offerscript View Post
it's kinda sad that you couldn't tell them that like 6 days ago, until someone else said something....
Yeah, it really is sad that I'm spending a lot of time here helping people and miss a post. I'm terribly sorry.
 
Reply With Quote
  #6  
Old 05-11-2011, 08:57 AM
Offerscript Offerscript is offline
Junior Member
 
Join Date: 05-10-11
Posts: 28
iTrader: 0 / 0%
don't take offensive, I am a smart ass.
 
Reply With Quote
  #7  
Old 05-11-2011, 09:12 AM
nemrod's Avatar
nemrod nemrod is offline
v7n Mentor
 
Join Date: 12-21-10
Location: Sweden
Posts: 463
iTrader: 0 / 0%
Quote:
Originally Posted by Offerscript View Post
don't take offensive, I am a smart ass.
So am I, friend, so I guess we should avoid taking each others remarks too seriously.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:23 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC