473,216 Members | 1,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 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 1585
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
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
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
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
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
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
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
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
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
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
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....
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.