473,493 Members | 4,319 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1598
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4184
by: bigbinc | last post by:
I have setup a soap machine on linux and similar configuration works properly. on a windows mahcine, I get these erros on the addressbook, samples, any ideas. I am pretty sure my classpaths are...
8
6277
by: xmail123 | last post by:
Hi, As was pointed out whatever you return from a WebMethod needs to be serializable to SOAP. An ArrayList is not serializable. I will be needing to return other data types from web methods. ...
31
2781
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
0
4807
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
5592
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
0
1597
by: Michael_R_Banks | last post by:
All, I'm trying to use SOAP to pass a serialized object from a VB.net application to a PHP application. Is this at all possible? Any help will be appreciated. I have included a copy of the...
1
2246
by: gcmartijn | last post by:
H! When I use php code nusoap everything works but with python I get everytime "Your session key does not exist or has expired" I use this code below: test =...
2
6734
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
2677
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
0
2208
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.