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/ 


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to