I have written email abt this problem last week but I didnt get any
response, so I am curious to know is my problem unique.

I am calling a .NET webservice that is sending soap message using WSE
2.0.and I believe it is sending the message as DIME message. My java
client that is running under servlet instance when receive the message
on post it is giving me an error of

java.io.IOException: DIME version received "7" greater than current
supported version "1".

I am using MultiPartDimeInputStream from org.apache.axis.attachment
package. if I listen to my client on TCP/IP port the application runs
fine and is able to receive soap message. So I am wondering why
servlet container is complaining of DIME version mismath error.

can anyone shed light on this.

Thanks Shantanu

my java code in servlet is which is called in th doPut method of the servlet.


private String extractSoapMessage(HttpServletRequest
request,HttpServletResponse response)
        {
                String eventInfo=null;
                try{
                BufferedInputStream in = new 
BufferedInputStream(request.getInputStream());
                MultiPartDimeInputStream mpin=new MultiPartDimeInputStream(in);
                
                SOAPEnvelope env= new SOAPEnvelope(mpin);
                SOAPBody body =(SOAPBody)env.getBody();
                Iterator iter =body.getChildElements();
                while(iter.hasNext())
                {
                        SOAPElement elem = (SOAPElement)iter.next();
                        eventInfo=elem.toString();
                        
                }
                }catch(Exception e)
                {
                        System.out.println(e);
                }
                return eventInfo;
                
        }


--
Graduate Student
Department of Computer Science,
San Diego State University

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to