Forget to mention that the modification is done to the
SOAP source file: SOAPServlet.java. You need to
recompile it and to build the new jibx-soap.jar file.

- Jian

Note: forwarded message attached.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--- Begin Message ---
Hi,

For the .net client error:

Client found response content type of ", but expected
"text/xml". 

we have found one solution to it. We add the following
lines of code:

        /* <jtv_modification> */
        if(rsp.getContentType() == null)
        {
          rsp.reset(); 
          rsp.setContentType("text/xml");
       }
        /* </jtv_modification> */

to the following two functions:
    
protected void doGet(HttpServletRequest req,
HttpServletResponse rsp)
        throws ServletException, IOException;

and 

public void doPost(HttpServletRequest req,
HttpServletResponse rsp)
                throws ServletException, IOException;


Now, it works fine. 

- Jian




                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

--- End Message ---

Reply via email to