471,122 Members | 1,023 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,122 software developers and data experts.

soap-req?

> Hi,

I'm supposed to send following request as a html-request(from a html-link)
is it possible? how do i do that? do i use the '<a href'-tag as well?
Thank you!

[request to send]
<xs:request xmlns:xs='urn:pinXpressSchema' version='1.5' langCode='en'>
<DEALERinfo aspName='XXX'
dealerName=''
posName='1234'
posPassword='1234'
userName=''
userPassword='1234' />
<getSKUs />
</xs:request>
[/request to send]

I tried that:
POST /item HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body
xmlns:m="https://xml.pinsprepaid.com/xml/xmlPinXpress.asp">
<xs:request xmlns:xs='urn:pinXpressSchema' version='1.5' langCode='en'>
<DEALERinfo aspName='XXX'
dealerName=''
posName='1234'
posPassword='1234'
userName=''
userPassword='1234' />
<getSKUs />
</xs:request>
</soap:Body></soap:Envelope>

but my IE says:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
click the Refresh button, or try again later.

Invalid at the top level of the document. Error processing resource
'file:///C:/Documents and Settings/Rebecca/Desktop/test...
POST /item HTTP/1.1
^

Why the hell? Thank you!

Jan 4 '06 #1
1 1521
Hi,

sounds to me like you're trying to load the HTTP commands into a XML
DOM.

">Invalid at the top level of the document. Error processing resource
'file:///C:/Documents and Settings/Rebecca/Desktop/test..."

=
XML Error, illegal start of XML document.

">POST /item HTTP/1.1"
=
HTTP post command to the /item folder (default page) using HTTP
version 1.1 protocol.

Hope this helps,

Marvin Smit.

On Tue, 3 Jan 2006 17:58:45 -0600, "Ron Eggler" <te**@example.com>
wrote:
Hi,

I'm supposed to send following request as a html-request(from a html-link)
is it possible? how do i do that? do i use the '<a href'-tag as well?
Thank you!

[request to send]
<xs:request xmlns:xs='urn:pinXpressSchema' version='1.5' langCode='en'>
<DEALERinfo aspName='XXX'
dealerName=''
posName='1234'
posPassword='1234'
userName=''
userPassword='1234' />
<getSKUs />
</xs:request>
[/request to send]

I tried that:
POST /item HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body
xmlns:m="https://xml.pinsprepaid.com/xml/xmlPinXpress.asp">
<xs:request xmlns:xs='urn:pinXpressSchema' version='1.5' langCode='en'>
<DEALERinfo aspName='XXX'
dealerName=''
posName='1234'
posPassword='1234'
userName=''
userPassword='1234' />
<getSKUs />
</xs:request>
</soap:Body></soap:Envelope>

but my IE says:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
click the Refresh button, or try again later.

Invalid at the top level of the document. Error processing resource
'file:///C:/Documents and Settings/Rebecca/Desktop/test...
POST /item HTTP/1.1
^

Why the hell? Thank you!

Jan 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by bigbinc | last post: by
8 posts views Thread by xmail123 | last post: by
31 posts views Thread by Bryan Dickerson | last post: by
reply views Thread by Jigar.Patel | last post: by
reply views Thread by info | last post: by
reply views Thread by Michael_R_Banks | last post: by
1 post views Thread by gcmartijn | last post: by
2 posts views Thread by furrypop | last post: by

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.