Hello all, 

I have been successful in testing the dimeclient / dimeserver with the main 
program. Please see below

___________________________________________________________
ach...@mufasa> ./dimeclient
Got image image.jpg type=image/jpeg through chunked streaming DIME

ach...@mufasa> ./dimeclient -p image.jpg
Thread 3 accepts socket 4 connection from IP 127.0.0.2
Saving file /TEST/datav9k55l
Data stored with keys:
   datav9k55l
Use these keys to retrieve the data

ach...@mufasa> ./dimeclient -g image.jpg
Thread 4 accepts socket 4 connection from IP 127.0.0.2
Data retrieved
____________________________________________________________

The problem is that it does not seem to work with the files:

dime.getData.req.xml  dime.getImage.req.xml  dime.putData.req.xml  TEST.xml 
dime.getData.res.xml  dime.getImage.res.xml  dime.putData.res.xml

TEST.xml 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:getData>
   <names SOAP-ENC:arrayType="xsd:string[1]">
    <item>image.jpg</item>
   </names>
  </ns:getData>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

______________________________________________________________

When running it with:

./dimeserver < TEST.xml 

I get the item below. Can someone PLEASE provide advice as to how to run this 
properly? Any assistance is appreciated ...

TIA

______________________________________________________________

Status: 200 OK^M
Server: gSOAP/2.7^M
Content-Type: application/dime^M
Transfer-Encoding: chunked^M
Connection: keep-alive^M
^M
249C^M
^L 
^...@^@^...@^g^@)^...@^@^B#cid:id0^@http://schemas.xmlsoap.org/soap/envelope/^...@^@^@<?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:getDataResponse><data
 xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns:Data[1]"><item 
href="cid:id2"/></data></ns:getDataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>^@
  ^...@^m^@^...@^@^...@^@^...@^@^...@^@    
image.j...@^@^...@id2^@ÿÃÿÃ...@^pjfif^@^...@h^@h...@^@ÿí^A¸Photoshop 
3...@8bim^cé^@^...@^@^...@^@x...@^l^@^...@^@h...@h^@^...@^@^...@^bø^bhÿöÿò^c^n^bü^a^@^...@^@^ah^...@^@^...@^@^nÃ^...@^a^a^@^...@d^@^...@^@^...@^a^@^...@^@^...@^a'^...@^a^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^^@0...@^@^...@^@^...@^@^...@^@^...@^@ÿÃÿº^OF^K®^@
 
^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@8bim^cí^@^...@^@^...@^@^...@h@^...@^a^@h...@^@^...@^a^@^a8bim^cÃ...@^@^...@^@^...@^h^@^...@^@^...@^@^...@^@^...@8bim'^...@^@^...@^@^@
^

^...@^@^...@^@^...@^@^...@^@^...@^a¶{] <9e>]Ã^E²Ã@<94>^Sm Ã<89>A«1Ãik<86>áÃ
^Zà@'GÃà       
6£<82>ánVIÃ?Ãò¸^D<93>c}Y^KÃ^\|Ã}-Ã^@<82>Ãí<93>ÃÃ^T^YÃ<8d>^XÃ3^Z<8a>«¶!¯=ÂÃÿ#*Ã^Kï±î±ÃÃ<95>:w»<9e>^V2H ^]¿¬°^RE^E騲<97>c<82>è.^ZmïåÃ<8c>Ãq<9a>è'ÃÃ...@±s<89>$<87>¦½<99>><83>^YK<9e>à÷¶}Ã<9e>æ<99>iþ+<9b>I%=^^
<97>^OD¹<8c> {£Iò^O÷*C§\^\Nö<82>Ã3ýÃ^Y$<82><8b>´ê^Kg}Ãù     
Lû<8b><83>[«<83>t÷s^K^Y$<84>ü^VBI%Ã^NñS!®^CÃ
I%ë^Yë³^YÃñà0Y^Z<86>þ�...@e¯-{,$<97>q:ê0>^^<98><96>^A^AÃ1éêV÷{<8c>Of<82>V^RR
æ<92>AOC±­w<8a><8d>¯{¦^@<8f><80>X       
"§^?^[^Sù¬±Ã<81>Ã...@û<96>Ã...@üÃé¿÷(q<^^...@^@^M>I^MoÃZ?ÿÃ
0^M
^M
Status: 500 Internal Server Error^M
Server: gSOAP/2.7^M
Content-Type: text/xml; charset=utf-8^M
Transfer-Encoding: chunked^M
Connection: close^M
^M
23A^M
<?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>SOAP-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>^M
0^M
^M
I^DÃ<80>þN<8d>IIÃ#ïE{à                       










Reply via email to