Board index » delphi » We service request error

We service request error


2008-06-26 07:16:56 PM
delphi273
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=www.w3.org/2001/XMLSchema-instance
:xsd="www.w3.org/2001/XMLSchema"
xmlns:soap="schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Authenticate xmlns="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
 
 

Re:We service request error

Hello Pier,
Can you point us to the WSDL for the service? I would like to confirm that we
generated the correct XML for the request. Thank you.
Cheers,
Bruneau
 

Re:We service request error

Jean-Marie
The WSDL address is www.fmsgps.com/Export/Reports/Report.asmx?wsdl.
Since I e-mailed you we have been working on the problem and have managed to
get an authorization from the FMS web services using a TIdTCPClient
component.
Pier
"Jean-Marie Babet" <XXXX@XXXXX.COM>writes
Quote
Hello Pier,

Can you point us to the WSDL for the service? I would like to confirm that we
generated the correct XML for the request. Thank you.

Cheers,

Bruneau


 

Re:We service request error

Thank you for the follow-up post. I have been away from the newsgroup for what
seems like a long time: we're nearing the release of Tiburon and I basically
had not had any chance to catch up here.
Cheers,
Bruneau