axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15578] New: - WSIF incorrectly handles returned attachment from service
Date Fri, 20 Dec 2002 16:55:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15578>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15578

WSIF incorrectly handles returned attachment from service

           Summary: WSIF incorrectly handles returned attachment from
                    service
           Product: Axis-WSIF
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: whyleyc@uk.ibm.com


I've experienced problems attempting to send a DataHandler object from a Java 
service in WebSphere 4 to a client running WSIF. The client takes a returned 
WSIF object from the WSIF output message, casts it to a DataHandler object, and 
attempts to read an inputStream from it, however this stream only contains 102 
bytes worth of data, when my file is in fact 180k in size.

I can see the raw data for my file (a .123 spreadhsheet) in the WSIF trace if I 
run with this switched on, and I can send the same file from my Client to my 
Service without any problems.

Trace that may be relevant to this problem is included below - I can append 
more if necessary:

2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -setCurrentForm(<?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>
  <ns1:receiveDataHandler 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:ns1="http://tempuri.org/SOAPAttachService"/>
 </soapenv:Body>
</soapenv:Envelope>, 1
2002/12/19 16:30:15:582 GMT [DEBUG] ProjectResourceBundle - -
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Setting current message form 
to: FORM_STRING (currentMessage is now <?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>
  <ns1:receiveDataHandler 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:ns1="http://tempuri.org/SOAPAttachService"/>
 </soapenv:Body>
</soapenv:Envelope>)
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Exit: SOAPPart::getAsString(): 
<?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>
  <ns1:receiveDataHandler 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:ns1="http://tempuri.org/SOAPAttachService"/>
 </soapenv:Body>
</soapenv:Envelope>
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -setCurrentForm([B@7e79a1fc, 4
2002/12/19 16:30:15:582 GMT [DEBUG] ProjectResourceBundle - -
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Setting current message form 
to: FORM_BYTES (currentMessage is now [B)
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Exit: SOAPPart::getAsBytes
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Enter: SOAPPart::getAsBytes
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Exit: SOAPPart::getAsBytes
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Enter: SOAPPart::getAsString
2002/12/19 16:30:15:582 GMT [DEBUG] SOAPPart - -Exit: SOAPPart::getAsString(): 
<?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>
  <ns1:receiveDataHandler 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:ns1="http://tempuri.org/SOAPAttachService"/>
 </soapenv:Body>
</soapenv:Envelope>
2002/12/19 16:30:15:582 GMT [DEBUG] ProjectResourceBundle - -
org.apache.axis.i18n.resource::handleGetObject(xmlSent00)
2002/12/19 16:30:15:582 GMT [DEBUG] HTTPSender - -XML sent:
2002/12/19 16:30:15:582 GMT [DEBUG] HTTPSender - -------------------------------
---------------------
2002/12/19 16:30:15:582 GMT [DEBUG] HTTPSender - -
POST /SOAPAttachService/servlet/rpcrouter HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.0
Host: localhost:8080
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 410

null
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -HTTP/1.1 200 OK
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Server WebSphere Application 
Server/4.0
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Content-Type 
multipart/related; boundary=871882589.1040315417094.JavaMail.GB016535.aslan; 
type="text/xml"; start="139353949.1040315417094.apache-soap.aslan"
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Set-Cookie 
JSESSIONID=000051SHWEPJ51VBA4I5ARVYJVI:-1;Path=/
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Cache-Control no-cache="set-
cookie,set-cookie2"
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Expires Thu, 01 Dec 1994 
16:00:00 GMT
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Content-Length 182435
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Content-Language en
2002/12/19 16:30:17:094 GMT [DEBUG] HTTPSender - -Connection close

Mime
View raw message