[WSS4J] Fwd: WSDoAllReceiver/AxisUtil problem report
Davanum Srinivas <dims-/[email protected]> Tue, 10 Feb 2004 04:44:08 -0800 (PST)
| Newsgroups | gmane.text.xml.wss4j |
|---|---|
| Message-ID | <[email protected]> |
--0-552893406-1076417048=:28179 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline FYI Note: forwarded message attached. ===== Davanum Srinivas - http://webservices.apache.org/~dims/ --0-552893406-1076417048=:28179 Content-Type: message/rfc822 X-Apparently-To: dims-/[email protected] via 216.136.174.206; Tue, 10 Feb 2004 03:38:34 -0800 Return-Path: <[email protected]> Received: from 80.68.244.6 (EHLO www3.hotbox.ru) (80.68.244.6) by mta127.mail.dcn.yahoo.com with SMTP; Tue, 10 Feb 2004 03:38:34 -0800 Received: by HotBOX.Ru WebMail v2.1 id i1ABcSXg074611 for ; Date: Tue, 10 Feb 2004 14:38:28 +0300 (MSK) From: Sashka <[email protected]> To: Dittmann Werner <[email protected]>, Davanum Srinivas <dims-/[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="HotBOX.ru_10764131085c095d3864bf91b4962257fd32dac88a" X-Mailer: Free WebMail HotBOX.ru X-Proxy-IP: [212.117.152.156] X-Originating-IP: [10.17.38.42, 10.224.0.211] Subject: WSDoAllReceiver/AxisUtil problem report Content-Length: 4460 This message is in MIME format from HotBOX.ru --HotBOX.ru_10764131085c095d3864bf91b4962257fd32dac88a Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Werner, Dims, hi. It seems there is a problem in the call to AxisUtil.updateSOAPMessage(doc, sm) in WSDoAllReceiver - the document is corrupted while the message is updated in this point: ///--------------------- WSSecurityEngineResult wsResult = null; try { wsResult = secEngine.processSecurityHeader( doc, null, cbHandler, sigCrypto, decCrypto); } catch (Exception ex) { throw new AxisFault( "WSDoAllReceiver: security processing failed", ex); } try { AxisUtil.updateSOAPMessage(doc, sm); /// <<--- Here ........... ///------------------------- Full description. ------------------ I'm testing the WSS4J with a standard basic axis sample: samples.addr. On the call AddressBook.addEntry(String name, Address addr) <executed as rpc/encoded, for more exactness> I receive unexpected server-side exception while Address object deserialization: //----- start of except. stack ------------ java.lang.NumberFormatException: For input string: '\n1 ' at java.lang.NumberFormatException.forInputString (NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:426) at java.lang.Integer.<init>(Integer.java:567) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.apache.axis.encoding.ser.SimpleDeserializer.makeValue (SimpleDeserializer.java:284) at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement (SimpleDeserializer.java:214) at org.apache.axis.encoding.DeserializerImpl.endElement (DeserializerImpl.java:544) at org.apache.axis.encoding.DeserializationContextImpl.endElement (DeserializationContextImpl.java:1092) at ..... etc ...... //----- end of except. stack ------------ As the check shows, the problematic whitespaces were added in the mentioned point: AxisUtil.updateSOAPMessage(doc, sm). This claim may be proved by next: In my case the document returned after description call wsResult = secEngine.processSecurityHeader( doc, null, cbHandler, sigCrypto, decCrypto); is fine, it may be seen in attached fine_doc.xml The updated after the the AxisUtil.updateSOAPMessage() call Message contains data entries corrupted by extra white spaces, as appears in the corrupted_doc.xml Just to check the assuption that the problem caused within AxisUtil.updateSOAPMessage() code by the DOMSource class, it was changed by much worse, but suitable for test purposes: original: public static SOAPMessage updateSOAPMessage( Document doc, SOAPMessage message) throws Exception { DOMSource domSource = new DOMSource(doc); message.getSOAPPart().setContent(domSource); return message; } changed: public static SOAPMessage updateSOAPMessage( Document doc, SOAPMessage message) throws Exception { String msgstr = org.apache.axis.utils.XMLUtils.DocumentToString(doc); java.io.StringBufferInputStream sbis = new java.io.StringBufferInputStream(msgstr); javax.xml.transform.stream.StreamSource source = new javax.xml.transform.stream.StreamSource(sbis); sm.getSOAPPart().setContent(source); } which solves the serialization problem. Sincerely Sasha --HotBOX.ru_10764131085c095d3864bf91b4962257fd32dac88a Content-Type: text/xml; name="fine_doc.xml"; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="fine_doc.xml" <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wsse:Security soapenv:mustUnderstand="true" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xenc:EncryptedKey xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ds:KeyInfo xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wsse:SecurityTokenReference xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wsse:KeyIdentifier EncodingType="wsse:Base64Binary" ValueType="wsse:X509v3" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">MIIBYjCCAQygAwIBAgIQIWFO9wjTxZJOxcgGtBqGVTANBgkqhkiG9w0BAQQFADAPMQ0wCwYDVQQD EwRkaW1zMB4XDTAzMDUxMjE2NDExN1oXDTM5MTIzMTIzNTk1OVowDzENMAsGA1UEAxMEZGltczBc MA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDrmZ7T2MFQNwloGughSRoapkmvbtPAwBXt+21bFzqfXJ1S pliN6CCRczIflSQCCCyBZ2j0dA51n/ZDWDizdNenAgMBAAGjRDBCMEAGA1UdAQQ5MDeAEBsIiVES xf6DrjkLYXayxmKhETAPMQ0wCwYDVQQDEwRkaW1zghAhYU73CNPFkk7FyAa0GoZVMA0GCSqGSIb3 DQEBBAUAA0EAxSGwjZ/FOScVLlVTxic1FKmPd8WTg1DrJFDWuxMTx6n0Zxn4N8ZxkAl7TNx/JcIl G+dlnyWZ0in3dOEtF0g5mA==</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo> <xenc:CipherData xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><xenc:CipherValue xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">RRB8tb7hhy3kMgwfc68yXAbq96uMqsvkqf2xbMHGAXZGhJth9E24sNc2vu95pfzE+ZsgS7S3D/cV JoI/V2er6g==</xenc:CipherValue></xenc:CipherData> <xenc:ReferenceList xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><xenc:DataReference URI="#id-2987443" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></xenc:ReferenceList></xenc:EncryptedKey><wsse:BinarySecurityToken EncodingType="wsse:Base64Binary" ValueType="wsse:X509v3" wsu:Id="id-605423" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:wsu="http ://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"! xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">MIIBYjCCAQygAwIBAgIQIWFO9wjTxZJOxcgGtBqGVTANBgkqhkiG9w0BAQQFADAPMQ0wCwYDVQQD EwRkaW1zMB4XDTAzMDUxMjE2NDExN1oXDTM5MTIzMTIzNTk1OVowDzENMAsGA1UEAxMEZGltczBc MA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDrmZ7T2MFQNwloGughSRoapkmvbtPAwBXt+21bFzqfXJ1S pliN6CCRczIflSQCCCyBZ2j0dA51n/ZDWDizdNenAgMBAAGjRDBCMEAGA1UdAQQ5MDeAEBsIiVES xf6DrjkLYXayxmKhETAPMQ0wCwYDVQQDEwRkaW1zghAhYU73CNPFkk7FyAa0GoZVMA0GCSqGSIb3 DQEBBAUAA0EAxSGwjZ/FOScVLlVTxic1FKmPd8WTg1DrJFDWuxMTx6n0Zxn4N8ZxkAl7TNx/JcIl G+dlnyWZ0in3dOEtF0g5mA==</wsse:BinarySecurityToken><ds:Signature xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ds:SignedInfo xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ds:Reference URI="#id-11416420" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ds:Transforms xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ds:DigestValue xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">CH7y3AlB5j/a8xDE7p9w1y1VqpQ=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> MS/Nc+wdfkpVDHJBaoNTlVfU7lL0V4WM8K493m8+Wa5HpEDz6U9+cKgxAHLwcqu9SGdyG0RMi2CY Epw57JmnbQ== </ds:SignatureValue> <ds:KeyInfo Id="id-14806696" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wsse:SecurityTokenReference xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wsse:Reference URI="#id-605423" xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature><wsu:Timestamp xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wsu:Created xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2004-02-10T00:14:53Z</wsu:Created></wsu:Timestamp></wsse:Security></soapenv:Header> <soapenv:Body wsu:Id="id-11416420" xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns1:addEntry soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <name xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Purdue Boilermaker</name> <address xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:address"> <streetNum xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:int">1</streetNum> <streetName xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">University Drive</streetName> <city xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">West Lafayette</city> <state xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:stateType">IN</state> <zip xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:int">47907</zip> <phoneNumber xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:phone"> <areaCode xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:int">765</areaCode> <exchange xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">494</exchange> <number xmlns="" xmlns:ns1="urn:AddressFetcher2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">4900</number> </phoneNumber> </address> </ns1:addEntry> </soapenv:Body> </soapenv:Envelope> --HotBOX.ru_10764131085c095d3864bf91b4962257fd32dac88a Content-Type: text/xml; name="corrupted_doc.xml"; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="corrupted_doc.xml" <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header xmlns=""> <wsse:Security soapenv:mustUnderstand="true" xmlns="" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"> <xenc:EncryptedKey xmlns=""> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" xmlns=""/> <ds:KeyInfo xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <wsse:SecurityTokenReference xmlns=""> <wsse:KeyIdentifier EncodingType="wsse:Base64Binary" ValueType="wsse:X509v3" xmlns=""> MIIBYjCCAQygAwIBAgIQIWFO9wjTxZJOxcgGtBqGVTANBgkqhkiG9w0BAQQFADAPMQ0wCwYDVQQD EwRkaW1zMB4XDTAzMDUxMjE2NDExN1oXDTM5MTIzMTIzNTk1OVowDzENMAsGA1UEAxMEZGltczBc MA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDrmZ7T2MFQNwloGughSRoapkmvbtPAwBXt+21bFzqfXJ1S pliN6CCRczIflSQCCCyBZ2j0dA51n/ZDWDizdNenAgMBAAGjRDBCMEAGA1UdAQQ5MDeAEBsIiVES xf6DrjkLYXayxmKhETAPMQ0wCwYDVQQDEwRkaW1zghAhYU73CNPFkk7FyAa0GoZVMA0GCSqGSIb3 DQEBBAUAA0EAxSGwjZ/FOScVLlVTxic1FKmPd8WTg1DrJFDWuxMTx6n0Zxn4N8ZxkAl7TNx/JcIl G+dlnyWZ0in3dOEtF0g5mA== </wsse:KeyIdentifier> </wsse:SecurityTokenReference> </ds:KeyInfo> <xenc:CipherData xmlns=""> <xenc:CipherValue xmlns=""> RRB8tb7hhy3kMgwfc68yXAbq96uMqsvkqf2xbMHGAXZGhJth9E24sNc2vu95pfzE+ZsgS7S3D/cV JoI/V2er6g== </xenc:CipherValue> </xenc:CipherData> <xenc:ReferenceList xmlns=""> <xenc:DataReference URI="#id-2987443" xmlns=""/> </xenc:ReferenceList> </xenc:EncryptedKey> <wsse:BinarySecurityToken EncodingType="wsse:Base64Binary" ValueType="wsse:X509v3" wsu:Id="id-605423" xmlns="" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"> MIIBYjCCAQygAwIBAgIQIWFO9wjTxZJOxcgGtBqGVTANBgkqhkiG9w0BAQQFADAPMQ0wCwYDVQQD EwRkaW1zMB4XDTAzMDUxMjE2NDExN1oXDTM5MTIzMTIzNTk1OVowDzENMAsGA1UEAxMEZGltczBc MA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDrmZ7T2MFQNwloGughSRoapkmvbtPAwBXt+21bFzqfXJ1S pliN6CCRczIflSQCCCyBZ2j0dA51n/ZDWDizdNenAgMBAAGjRDBCMEAGA1UdAQQ5MDeAEBsIiVES xf6DrjkLYXayxmKhETAPMQ0wCwYDVQQDEwRkaW1zghAhYU73CNPFkk7FyAa0GoZVMA0GCSqGSIb3 DQEBBAUAA0EAxSGwjZ/FOScVLlVTxic1FKmPd8WTg1DrJFDWuxMTx6n0Zxn4N8ZxkAl7TNx/JcIl G+dlnyWZ0in3dOEtF0g5mA== </wsse:BinarySecurityToken> <ds:Signature xmlns="" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo xmlns=""> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns=""/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns=""/> <ds:Reference URI="#id-11416420" xmlns=""> <ds:Transforms xmlns=""> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns=""/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns=""/> <ds:DigestValue xmlns=""> CH7y3AlB5j/a8xDE7p9w1y1VqpQ= </ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue xmlns=""> MS/Nc+wdfkpVDHJBaoNTlVfU7lL0V4WM8K493m8+Wa5HpEDz6U9+cKgxAHLwcqu9SGdyG0RMi2CY Epw57JmnbQ== </ds:SignatureValue> <ds:KeyInfo Id="id-14806696" xmlns=""> <wsse:SecurityTokenReference xmlns=""> <wsse:Reference URI="#id-605423" xmlns=""/> </wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature> <wsu:Timestamp xmlns="" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"> <wsu:Created xmlns=""> 2004-02-10T00:14:53Z </wsu:Created> </wsu:Timestamp> </wsse:Security> </soapenv:Header> <soapenv:Body wsu:Id="id-11416420" xmlns="" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"> <ns1:addEntry soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns="" xmlns:ns1="urn:AddressFetcher2"> <name xmlns="" xsi:type="xsd:string"> Purdue Boilermaker </name> <address xmlns="" xsi:type="ns1:address"> <streetNum xmlns="" xsi:type="xsd:int"> 1 </streetNum> <streetName xmlns="" xsi:type="xsd:string"> University Drive </streetName> <city xmlns="" xsi:type="xsd:string"> West Lafayette </city> <state xmlns="" xsi:type="ns1:stateType"> IN </state> <zip xmlns="" xsi:type="xsd:int"> 47907 </zip> <phoneNumber xmlns="" xsi:type="ns1:phone"> <areaCode xmlns="" xsi:type="xsd:int"> 765 </areaCode> <exchange xmlns="" xsi:type="xsd:string"> 494 </exchange> <number xmlns="" xsi:type="xsd:string"> 4900 </number> </phoneNumber> </address> </ns1:addEntry> </soapenv:Body> </soapenv:Envelope> --HotBOX.ru_10764131085c095d3864bf91b4962257fd32dac88a-- --0-552893406-1076417048=:28179-- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn