Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
1
Erster Beitrag:
vor 10 Jahren
Beteiligte Autoren:
Juliano Sippel.pcs.crosspost

Empty tag xml / web service / windev soap

Startbeitrag von Juliano Sippel.pcs.crosspost am 29.07.2008 13:41

Hi Everyone!!

Windev Version: 12
Has anyone ever used windev soap server?

I am using windev soap server to host my web service.

When I'm calling my web service from a Windev client application, it won't handle quite right empty tags on the format of but will do fine with
I could just use , but the problem is that the webservice will be used by third parties using other tools rather than windev and then they might just use .


For example, this code works fine ("") returning "UserNameTest & & SurnameTest"

XMLMessage is string = "" + ...
"" + ...
"" + ...
"" + ...
"UserNameTest" + ...
"" + ...
"SurnameTest" + ...
"" + ...
"" + ...
""
bRes = SOAPRunXML("http://ITProg/Test/TestWebService.wsoap",XMLMessage)


But this doesn't ("") returning a crazy "UserNameTest & SurnameTest"

XMLMessage is string = "" + ...
"" + ...
"" + ...
"" + ...
"UserNameTest" + ...
"" + ...
"SurnameTest" + ...
"" + ...
"" + ...
""
bRes = SOAPRunXML("http://ITProg/Test/TestWebService.wsoap",XMLMessage)



On the server side of it my procedure looks like this

PROCEDURE TestWebService(sUserName = "",sForeName = "", sSurname = "")
sRes is string = sUserName + " & " + sForeName + " & " + sSurname
RESULT sRes

Does any one know why this is happening?

Thanks!
Juliano.

Message forwarded from pcsoft.us.windev

Antworten:

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.