Here is what I get from tcpmon... (see attachment)

Mirza



Mirza wrote:
Hi there,

I am trying to use axis as client for image server writen in gSoap/c++. Sending request is ok, but when parsing resulting dime response, it says:

org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0x9d" (line number may be too low)

function been called has no string parameters (7 input ints + dime attachment out).

Anybody has idea what went wrong?

I am using version 1.2 alpha.

Thanks,

Mirza





==============
Listen Port: 8080
Target Host: 127.0.0.1
Target Port: 80
==== Request ====
POST /axis HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.2alpha
Host: 127.0.0.1:8080
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 528

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 
      <soapenv:Body>  
         <getImage xmlns="http://digitech.cz/webservice/image_server.wsdl";>   
            <minx>14411390</minx>   
            <miny>49794502</miny>   
            <maxx>15095390</maxx>   
            <maxy>50086502</maxy>   
            <widthpix>683</widthpix>   
            <heightpix>364</heightpix>   
            <level>5</level>  
         </getImage> 
      </soapenv:Body>
   </soapenv:Envelope>==== Response ====
HTTP/1.1 200 OK
Server: gSOAP/2.5
Content-Type: application/dime
Content-Length: 540
Connection: close

 )�cid:id0http://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 id="_0">
         <getImageResponse>
            <image href="cid:id2"/>
         </getImageResponse>
      </SOAP-ENV:Body>
   </SOAP-ENV:Envelope>        img_service 
imagecid:id2image/pngA
==============

Reply via email to