You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Aleksandar Milanovic <am...@galdosinc.com> on 2001/02/13 21:36:24 UTC
problems with Soap 2.1
Hi,
I've been getting the following error since I moved to Soap 2.1:
<head><title>Error: 400</title></head>
<h1>Error: 400</h1>
<h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
'text/xml'.</b><br></body>
It seems that my SOAP client is sending non-XML data. I don't know how to
check what it is sending because I couldn't get TcpTunnel to work. Any
ideas?
thx
Alex
------------------------------------------------
Aleksandar Milanovic
Software Engineer
Galdos Systems Inc.
email: amilanovic@galdosinc.com
RE: problems with Soap 2.1
Posted by Tony Hong <th...@xmethods.net>.
Actually when I referred to "Apache 2.0" and "2.1" I was referring
to Apache SOAP 2.0... Tomcat is not the issue here, if the problem
is what I think it is.
In general, if you are using Apache SOAP 2.1 and you hit any server
implementation that requires Content-type to be STRICTLY "text/xml"
(and a service built using Apache SOAP 2.0 falls into this category)
then you will have problems.
Cheers,
Tony
> -----Original Message-----
> From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> Sent: Tuesday, February 13, 2001 7:47 PM
> To: soap-user@xml.apache.org
> Subject: RE: problems with Soap 2.1
>
>
> Thx for the info but I am using Tomcat 3.2.1 which seems to be the latest
> version.
> Alex
>
> -----Original Message-----
> From: Tony Hong [mailto:thong@xmethods.net]
> Sent: Tuesday, February 13, 2001 4:36 PM
> To: soap-user@xml.apache.org
> Subject: RE: problems with Soap 2.1
>
>
> If you are hitting an Apache 2.0 server, you are getting this
> because 2.1 uses the header:
>
> Content-Type: text/xml; charset="utf-8"
>
> and Apache 2.0 cannot handle this - it just looks for the
> literal "text/xml".
>
> So best bet, if possible, is to upgrade your server to 2.1
>
> An alternative to tcpTunnel is tcpTrace at http://www.pocketsoap.com,
> if for some reason you are having problems with tcpTunnel.
>
> Cheers,
>
> Tony
>
> ---------------------
>
> XMethods Web Services Listings
> http://www.xmethods.net
>
>
> > -----Original Message-----
> > From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> > Sent: Tuesday, February 13, 2001 12:36 PM
> > To: Soap-User
> > Subject: problems with Soap 2.1
> >
> >
> > Hi,
> >
> > I've been getting the following error since I moved to Soap 2.1:
> >
> > <head><title>Error: 400</title></head>
> > <h1>Error: 400</h1>
> > <h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
> > 'text/xml'.</b><br></body>
> >
> > It seems that my SOAP client is sending non-XML data. I don't
> know how to
> > check what it is sending because I couldn't get TcpTunnel to work. Any
> > ideas?
> > thx
> > Alex
> > ------------------------------------------------
> > Aleksandar Milanovic
> > Software Engineer
> > Galdos Systems Inc.
> > email: amilanovic@galdosinc.com
> >
> >
RE: problems with Soap 2.1
Posted by Tony Hong <th...@xmethods.net>.
Actually when I referred to "Apache 2.0" and "2.1" I was referring
to Apache SOAP 2.0... Tomcat is not the issue here, if the problem
is what I think it is.
In general, if you are using Apache SOAP 2.1 and you hit any server
implementation that requires Content-type to be STRICTLY "text/xml"
(and a service built using Apache SOAP 2.0 falls into this category)
then you will have problems.
Cheers,
Tony
> -----Original Message-----
> From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> Sent: Tuesday, February 13, 2001 7:47 PM
> To: soap-user@xml.apache.org
> Subject: RE: problems with Soap 2.1
>
>
> Thx for the info but I am using Tomcat 3.2.1 which seems to be the latest
> version.
> Alex
>
> -----Original Message-----
> From: Tony Hong [mailto:thong@xmethods.net]
> Sent: Tuesday, February 13, 2001 4:36 PM
> To: soap-user@xml.apache.org
> Subject: RE: problems with Soap 2.1
>
>
> If you are hitting an Apache 2.0 server, you are getting this
> because 2.1 uses the header:
>
> Content-Type: text/xml; charset="utf-8"
>
> and Apache 2.0 cannot handle this - it just looks for the
> literal "text/xml".
>
> So best bet, if possible, is to upgrade your server to 2.1
>
> An alternative to tcpTunnel is tcpTrace at http://www.pocketsoap.com,
> if for some reason you are having problems with tcpTunnel.
>
> Cheers,
>
> Tony
>
> ---------------------
>
> XMethods Web Services Listings
> http://www.xmethods.net
>
>
> > -----Original Message-----
> > From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> > Sent: Tuesday, February 13, 2001 12:36 PM
> > To: Soap-User
> > Subject: problems with Soap 2.1
> >
> >
> > Hi,
> >
> > I've been getting the following error since I moved to Soap 2.1:
> >
> > <head><title>Error: 400</title></head>
> > <h1>Error: 400</h1>
> > <h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
> > 'text/xml'.</b><br></body>
> >
> > It seems that my SOAP client is sending non-XML data. I don't
> know how to
> > check what it is sending because I couldn't get TcpTunnel to work. Any
> > ideas?
> > thx
> > Alex
> > ------------------------------------------------
> > Aleksandar Milanovic
> > Software Engineer
> > Galdos Systems Inc.
> > email: amilanovic@galdosinc.com
> >
> >
RE: problems with Soap 2.1
Posted by Aleksandar Milanovic <am...@galdosinc.com>.
Thx for the info but I am using Tomcat 3.2.1 which seems to be the latest
version.
Alex
-----Original Message-----
From: Tony Hong [mailto:thong@xmethods.net]
Sent: Tuesday, February 13, 2001 4:36 PM
To: soap-user@xml.apache.org
Subject: RE: problems with Soap 2.1
If you are hitting an Apache 2.0 server, you are getting this
because 2.1 uses the header:
Content-Type: text/xml; charset="utf-8"
and Apache 2.0 cannot handle this - it just looks for the
literal "text/xml".
So best bet, if possible, is to upgrade your server to 2.1
An alternative to tcpTunnel is tcpTrace at http://www.pocketsoap.com,
if for some reason you are having problems with tcpTunnel.
Cheers,
Tony
---------------------
XMethods Web Services Listings
http://www.xmethods.net
> -----Original Message-----
> From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> Sent: Tuesday, February 13, 2001 12:36 PM
> To: Soap-User
> Subject: problems with Soap 2.1
>
>
> Hi,
>
> I've been getting the following error since I moved to Soap 2.1:
>
> <head><title>Error: 400</title></head>
> <h1>Error: 400</h1>
> <h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
> 'text/xml'.</b><br></body>
>
> It seems that my SOAP client is sending non-XML data. I don't know how to
> check what it is sending because I couldn't get TcpTunnel to work. Any
> ideas?
> thx
> Alex
> ------------------------------------------------
> Aleksandar Milanovic
> Software Engineer
> Galdos Systems Inc.
> email: amilanovic@galdosinc.com
>
>
RE: problems with Soap 2.1
Posted by Aleksandar Milanovic <am...@galdosinc.com>.
Thx for the info but I am using Tomcat 3.2.1 which seems to be the latest
version.
Alex
-----Original Message-----
From: Tony Hong [mailto:thong@xmethods.net]
Sent: Tuesday, February 13, 2001 4:36 PM
To: soap-user@xml.apache.org
Subject: RE: problems with Soap 2.1
If you are hitting an Apache 2.0 server, you are getting this
because 2.1 uses the header:
Content-Type: text/xml; charset="utf-8"
and Apache 2.0 cannot handle this - it just looks for the
literal "text/xml".
So best bet, if possible, is to upgrade your server to 2.1
An alternative to tcpTunnel is tcpTrace at http://www.pocketsoap.com,
if for some reason you are having problems with tcpTunnel.
Cheers,
Tony
---------------------
XMethods Web Services Listings
http://www.xmethods.net
> -----Original Message-----
> From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> Sent: Tuesday, February 13, 2001 12:36 PM
> To: Soap-User
> Subject: problems with Soap 2.1
>
>
> Hi,
>
> I've been getting the following error since I moved to Soap 2.1:
>
> <head><title>Error: 400</title></head>
> <h1>Error: 400</h1>
> <h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
> 'text/xml'.</b><br></body>
>
> It seems that my SOAP client is sending non-XML data. I don't know how to
> check what it is sending because I couldn't get TcpTunnel to work. Any
> ideas?
> thx
> Alex
> ------------------------------------------------
> Aleksandar Milanovic
> Software Engineer
> Galdos Systems Inc.
> email: amilanovic@galdosinc.com
>
>
RE: problems with Soap 2.1
Posted by Tony Hong <th...@xmethods.net>.
If you are hitting an Apache 2.0 server, you are getting this
because 2.1 uses the header:
Content-Type: text/xml; charset="utf-8"
and Apache 2.0 cannot handle this - it just looks for the
literal "text/xml".
So best bet, if possible, is to upgrade your server to 2.1
An alternative to tcpTunnel is tcpTrace at http://www.pocketsoap.com,
if for some reason you are having problems with tcpTunnel.
Cheers,
Tony
---------------------
XMethods Web Services Listings
http://www.xmethods.net
> -----Original Message-----
> From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> Sent: Tuesday, February 13, 2001 12:36 PM
> To: Soap-User
> Subject: problems with Soap 2.1
>
>
> Hi,
>
> I've been getting the following error since I moved to Soap 2.1:
>
> <head><title>Error: 400</title></head>
> <h1>Error: 400</h1>
> <h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
> 'text/xml'.</b><br></body>
>
> It seems that my SOAP client is sending non-XML data. I don't know how to
> check what it is sending because I couldn't get TcpTunnel to work. Any
> ideas?
> thx
> Alex
> ------------------------------------------------
> Aleksandar Milanovic
> Software Engineer
> Galdos Systems Inc.
> email: amilanovic@galdosinc.com
>
>
RE: problems with Soap 2.1
Posted by Tony Hong <th...@xmethods.net>.
If you are hitting an Apache 2.0 server, you are getting this
because 2.1 uses the header:
Content-Type: text/xml; charset="utf-8"
and Apache 2.0 cannot handle this - it just looks for the
literal "text/xml".
So best bet, if possible, is to upgrade your server to 2.1
An alternative to tcpTunnel is tcpTrace at http://www.pocketsoap.com,
if for some reason you are having problems with tcpTunnel.
Cheers,
Tony
---------------------
XMethods Web Services Listings
http://www.xmethods.net
> -----Original Message-----
> From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
> Sent: Tuesday, February 13, 2001 12:36 PM
> To: Soap-User
> Subject: problems with Soap 2.1
>
>
> Hi,
>
> I've been getting the following error since I moved to Soap 2.1:
>
> <head><title>Error: 400</title></head>
> <h1>Error: 400</h1>
> <h2>Location: /soap/servlet/myservlet</h2><b>Content type must be:
> 'text/xml'.</b><br></body>
>
> It seems that my SOAP client is sending non-XML data. I don't know how to
> check what it is sending because I couldn't get TcpTunnel to work. Any
> ideas?
> thx
> Alex
> ------------------------------------------------
> Aleksandar Milanovic
> Software Engineer
> Galdos Systems Inc.
> email: amilanovic@galdosinc.com
>
>