المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : gsoap success followed by a soap fault??



C++ Programming
10-21-2009, 02:12 PM
Hello all,

I have been running the DIME sample associated with gsoap 2.7. It seems to be OK
except when running with the .xml files and the dimeserver.


I do: ./dimeserver < TEST1.xml

The XML file looks like:

_____________________________________________






"image.jpg"





______________________________________________


BUT

I get the following as output - as you can see, it seems that the return code is
successful but there is imeediately a soap_fault afterwards.

Why is this the case?

________________________________________________
scar samples/dime> ./dimeserver < TEST1.xml
Saving file /home/soapdev/TEMPFILES/IMAGES/dataSTyj3k
Status: 200 OK
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive

229

dataSTyj3k
0

Status: 500 Internal Server Error
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: close

23A

SO\
AP-ENV:ClientEnd of file or no input: Operation
interrupted or timed
out
0


________________________________________________
TIA