|
Hello,
I am working with Axis and .Net at the moment and have to
send attachments between them.
Any suggestions to "disable" the below soap
fault?
Here is a summary of Sending attachments between
Axis and .Net
Applies to: MicrosoftR C#.NET (Visual Studio 2003) Web Services Enhancements (WSE) 1.0 Service Pack 1 for MicrosoftR .NET Soap with Attachment specification WS-Attachments specification DIME specification Apache Axis 1.1 J2sdk 1.4.1 Tomcat 4.1.24 Web services Server: - Tomcat + Axis - able to receive - complex types (javabeans convention) as parameters - multiple MIME/DIME encoded attachments Client A - Axis Complex Type - OK MIME - OK DIME - OK Client B - C#.NET, default "Web References" (stub extends System.Web.Services.Protocols.SoapHttpClientProtocol ) Complex Type - OK MIME - Not Supported DIME - Not Supported Client C - C#.NET, WSE (stub extends Microsoft.Web.Services.WebServicesClientProtocol) Complex Type - OK MIME - Not Supported DIME - Supported, Axis received and handled attachment successfully, but Axis cannot understand this Soap Header, a soap fault is thrown --Begin-- <wsrp:path soap:actor="http://schemas.xmlsoap.org/soap/actor/next" soap:mustUnderstand="1" xmlns:wsrp="http://schemas.xmlsoap.org/rp"> <wsrp:action></wsrp:action> <wsrp:to>http://localhost:1234/GeneClusterProxyIF/services/GeneClusterProxyI F</wsrp:to> <wsrp:id>uuid:28cf2ed2-9ae8-49ff-9826-5c68992de82d</wsrp:id></wsrp:path> --end-- Soap fault:: --Soap Fault-- <?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> <soapenv:Fault> <faultcode>soapenv:MustUnderstand</faultcode> <faultstring>Did not understand "MustUnderstand" header(s):</faultstring> <detail/> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> --Soap Fault-- Best regards, Albert K.H.Kwan Research Assistant Department of Computer Science and Information Systems The University of Hong Kong |
- RE: Sending attachments between Axis and .Net albert kwan
- RE: Sending attachments between Axis and .Net Peter Ledbrook
- Re: Sending attachments between Axis and .Net albert kwan
