[ http://issues.apache.org/jira/browse/AXIS-1268?page=all ]
Davanum Srinivas resolved AXIS-1268:
------------------------------------
Resolution: Fixed
please try latest CVS and make sure you use CommonsHTTPSender. If it still does
not work, i'll reopen the bug.
thanks,
dims
> Cannot parse DIME attachment from gSoap server
> ----------------------------------------------
>
> Key: AXIS-1268
> URL: http://issues.apache.org/jira/browse/AXIS-1268
> Project: Axis
> Type: Bug
> Components: Serialization/Deserialization
> Versions: 1.2 Alpha
> Environment: Server gSoap, Win2000, Client Axis, Win2000
> Reporter: Mirza Hadzic
> Attachments: tcp.txt
>
> 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.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira