Thread View: borland.public.delphi.xml
1 messages
1 total messages
Started by Pier
Wed, 25 Jun 2008 10:04
Web Service request error
Author: Pier
Date: Wed, 25 Jun 2008 10:04
Date: Wed, 25 Jun 2008 10:04
28 lines
1882 bytes
1882 bytes
I am trying to use the FMS (www.fmsgps.com) web server but I am unable to
get an authentication from the web server. When I send the following xml
string to their Authenticate function I get an error.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Authenticate xmlns="http://www.fmsgps.com/FMSWebServices">
<docRequest>
<WebServiceRequest xmlns="">
<UserRequest userName="abc" Password="xyz"/>
</webServiceRequest>
</docRequest>
</Authenticate>
</soap:Body>
</soap:Envelope>
The error I get is:
Server was unable to read request. --> There is an error in XML document
(14, 38). --> The specified node cannot be inserted as the valid child of
this node, because the specified node is the wrong type.
There is no line 14. What I am doing wrong?
Pier
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads