You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/04/11 12:51:43 UTC

[jira] Commented: (AXIS-1268) Cannot parse DIME attachment from gSoap server

The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Sun, 11 Apr 2004 3:51 AM
       Body:
did you try a .NET client? does that work?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1268?page=comments#action_32840

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1268

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1268
    Summary: Cannot parse DIME attachment from gSoap server
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Serialization/Deserialization
   Versions:
             1.2 Alpha

   Assignee: 
   Reporter: Mirza Hadzic

    Created: Fri, 26 Mar 2004 3:26 AM
    Updated: Sun, 11 Apr 2004 3:51 AM
Environment: Server gSoap, Win2000, Client Axis, Win2000

Description:
I connect from Java Client to Image server which is gSoap C++ app. Image should be sent as DIME attachment, but, when recieved, Axis throws:

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

Here is tcpmonitor log:

==============
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

 
   <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>
==============

Note: 0x9d character is right after "Connection: close" statement.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira