Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: When is a CWnd ready to receive messages Pin
Hans Dietrich20-Oct-09 21:59
mentorHans Dietrich20-Oct-09 21:59 
GeneralRe: When is a CWnd ready to receive messages Pin
ForNow21-Oct-09 14:42
ForNow21-Oct-09 14:42 
GeneralRe: When is a CWnd ready to receive messages Pin
Hans Dietrich22-Oct-09 1:21
mentorHans Dietrich22-Oct-09 1:21 
QuestionWindows Vista + VC++ 6.0 + Gsoap 2.7 = ??? Pin
d0mufasa20-Oct-09 14:21
d0mufasa20-Oct-09 14:21 
AnswerRe: Windows Vista + VC++ 6.0 + Gsoap 2.7 = ??? Pin
CPallini20-Oct-09 20:35
mveCPallini20-Oct-09 20:35 
GeneralRe: Windows Vista + VC++ 6.0 + Gsoap 2.7 = ??? Pin
ThatsAlok20-Oct-09 21:54
ThatsAlok20-Oct-09 21:54 
AnswerRe: Windows Vista + VC++ 6.0 + Gsoap 2.7 = ??? Pin
Member 829494-Jan-10 16:13
Member 829494-Jan-10 16:13 
Questiongsoap success followed by a soap fault?? Pin
d0mufasa20-Oct-09 14:14
d0mufasa20-Oct-09 14:14 
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:

_____________________________________________

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="urn:dime">
<SOAP-ENV:Body
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns:putData>
<data SOAP-ENC:arrayType="ns:Data[1]">
<item>"image.jpg"</item>
</data>
</ns:putData>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

______________________________________________


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
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:dime"><SOAP-ENV:Body
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><ns:putDataRe\
sponse><names xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[1]"><item>dataSTyj3k</item></names></ns:putDataRe\
sponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
0

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

23A
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="urn:dime"><SOAP-ENV:Body><SOAP-ENV:Fault
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><faultcode>SO\
AP-ENV:Client</faultcode><faultstring>End of file or no input: Operation
interrupted or timed
out</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
0


________________________________________________
TIA
QuestionMy Payroll report Pin
Ev3nflow20-Oct-09 10:50
Ev3nflow20-Oct-09 10:50 
AnswerRe: My Payroll report Pin
David Crow20-Oct-09 10:56
David Crow20-Oct-09 10:56 
GeneralRe: My Payroll report Pin
Ev3nflow20-Oct-09 11:42
Ev3nflow20-Oct-09 11:42 
QuestionRe: My Payroll report Pin
Maximilien20-Oct-09 12:04
Maximilien20-Oct-09 12:04 
AnswerRe: My Payroll report Pin
David Crow21-Oct-09 2:17
David Crow21-Oct-09 2:17 
AnswerRe: My Payroll report Pin
transoft20-Oct-09 12:10
transoft20-Oct-09 12:10 
GeneralRe: My Payroll report Pin
Ev3nflow20-Oct-09 13:59
Ev3nflow20-Oct-09 13:59 
GeneralRe: My Payroll report Pin
David Crow21-Oct-09 2:32
David Crow21-Oct-09 2:32 
GeneralRe: My Payroll report Pin
transoft21-Oct-09 3:10
transoft21-Oct-09 3:10 
QuestionGetGlyphOutline usage [modified] Pin
transoft20-Oct-09 9:12
transoft20-Oct-09 9:12 
QuestionRe: GetGlyphOutline usage Pin
Randor 20-Oct-09 19:41
professional Randor 20-Oct-09 19:41 
AnswerRe: GetGlyphOutline usage Pin
transoft21-Oct-09 1:38
transoft21-Oct-09 1:38 
QuestionPrimer on speech recognition Pin
Dewald20-Oct-09 8:47
Dewald20-Oct-09 8:47 
AnswerRe: Primer on speech recognition Pin
LFUebel20-Oct-09 14:44
LFUebel20-Oct-09 14:44 
GeneralRe: Primer on speech recognition Pin
Dewald20-Oct-09 19:17
Dewald20-Oct-09 19:17 
GeneralRe: Primer on speech recognition Pin
LFUebel21-Oct-09 3:49
LFUebel21-Oct-09 3:49 
GeneralRe: Primer on speech recognition Pin
Dewald21-Oct-09 4:55
Dewald21-Oct-09 4:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.