Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 8 Jahren, 5 Monaten
Letzter Beitrag:
vor 8 Jahren, 5 Monaten
Beteiligte Autoren:
Joris, DW, Stefan Bentvelsen, "Roger Dunk".pcs.crosspost

SOAPRunXML

Startbeitrag von Joris am 08.07.2009 09:52

Hi,

In my application I use the function SoapRunXml. When I put in the parameters as fix strings (between quotes), all works just fine. But as part of this information is variabel (like name, address etc which are passed to the server) the string cannot be put between quotes.

This is a part of the code which works when using fix string between quotes:
SOAPRunXML("http://www.eurocount.be/activatie/default.aspx?serial=59X7-505Z-TB52-4ZZB-B3B2&name=wille&street=teststraat1&city=hemiksem","","";)
At the servers side, the information of the different parameters is added.

If I want to make the parameters variabel, it should work as follows:

IF SOAPRunXML("http://www.goliath-budget.com/activatie/default.aspx?serial="+DeCryptedstring+"&name="+FamName+"&firstName="+FirstName+"&street="+StreetName+"&city="+LocationName+"&country="+CountryName) THEN

The varibale parts are : Decryptedstring, FamName, firstname, streetname, locationname and countryname.

This way of using SOAPRunXML doesn't work. The parameters are not put in the database although it is amost the same way.

Can someone help me with this.

Thanks.
Best regards,
Joris.

Antworten:

Hi Joris,

in your fixed string you have two empty strings as extra parameters, in the composite string you don't have these parameters. Can that be the cause of the malfunction ?


von Stefan Bentvelsen - am 08.07.2009 12:28
Hi Stefan,

Those extra 2 parameters can be left empty. I already tested it with and without them. No succes.

Thanks for responding.

Best regards,
Joris.

von Joris - am 08.07.2009 13:52

Re: SOAPRunXML

sURL is a string =
URLEncode("http://www.goliath-budget.com/activatie/default.aspx?serial="+DeCryptedstring+"&name="+FamName+"&firstName="+FirstName+"&street="+StreetName+"&city="+LocationName+"&country="+CountryName)
SOAPRunXML(sUrl,"","")

I'm not even sure you're actually connecting to a SOAP server, so
HTTPRequest() might be just as good.

Cheers...
Roger

"Joris" wrote in message
news:75622009070812000378.30931@news.pcsoft.fr...
>
> Hi,
> In my application I use the function SoapRunXml. When I put in the
> parameters as fix strings (between quotes), all works just fine. But as
> part of this information is variabel (like name, address etc which are
> passed to the server) the string cannot be put between quotes.
> This is a part of the code which works when using fix string between
> quotes:
> SOAPRunXML("http://www.eurocount.be/activatie/default.aspx?serial=59X7-505Z-TB52-4ZZB-B3B2&name=wille&street=teststraat1&city=hemiksem","","";)
> At the servers side, the information of the different parameters is added.
> If I want to make the parameters variabel, it should work as follows:
> IF
> SOAPRunXML("http://www.goliath-budget.com/activatie/default.aspx?serial="+DeCryptedstring+"&name="+FamName+"&firstName="+FirstName+"&street="+StreetName+"&city="+LocationName+"&country="+CountryName)
> THEN
> The varibale parts are : Decryptedstring, FamName, firstname, streetname,
> locationname and countryname.
> This way of using SOAPRunXML doesn't work. The parameters are not put in
> the database although it is amost the same way.
> Can someone help me with this.
> Thanks.
> Best regards,
> Joris.
>
Message forwarded from pcsoft.us.windev

von "Roger Dunk".pcs.crosspost - am 09.07.2009 06:01
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.