Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 8 Jahren, 1 Monat
Letzter Beitrag:
vor 8 Jahren, 1 Monat
Beteiligte Autoren:
DerekT, Georgio, Andres Sanchez

WD 15 - How to send an XML file to a web service

Startbeitrag von Andres Sanchez am 20.07.2010 00:26

Hi

I need to send an xml document to a web service, if I send it as is the server throws me an exception "Server was unable to process request. Object reference not set to an instance of an object"

The server is not mine so I cannot change anything in the server.

I am guessing I have to encode the xml in order to be sent to the server.

Does anyone have any experience ?

I am using WD 15, but i am importing the service as a WD 14 set of procedures.

Thanks

Andres Sanchez

Antworten:

Hi Andres,

Have you tried importing the webservice? Looks like you're coding in
the dark.

Georgio



von Georgio - am 20.07.2010 15:49
Andres
Couple of assumptions......
1. You have imported the WSDL from the web service provider into a project.
2. That you receive this error after successfully running SOAPRun

I have never seen this error but if this is generated by the provider then your best option is to contact them - usually only they now what an error actually means.
The alternative is to trawle through the WD generated code (I personally strip out 90% of what WD writes) and compare it to the WSDL as viewed in an XML editor.

If it does need encoding then I cannot believe a commercial site would require anything other than Base64.

Not much help I'm afraid.

Regards

DerekT


von DerekT - am 20.07.2010 16:35
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.