axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Commented: (AXIS-1268) Cannot parse DIME attachment from gSoap server
Date Wed, 14 Apr 2004 11:52:43 GMT
The following comment has been added to this issue:

     Author: Mirza Hadzic
    Created: Wed, 14 Apr 2004 4:50 AM
       Body:
So far, no. Maybe priority of this bug should be increased becouse both tools (Axis, gSoap)
are widely used.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1268?page=comments#action_35017

---------------------------------------------------------------------
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: Wed, 14 Apr 2004 4:50 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


Mime
View raw message