Are
you sure your rpcrouter is mapped correctly in the web.xml file?
you should get "Sorry, I don't speak via HTTP GET-
you have to use HTTP POST to talk to me."
If you
are not getting this, then your setup is still incomplete. These are basic
things that have to be set up before writing SOAP clients. You will spend
unnecessary debugging time otherwise.
G'luck.
--KH
(PS:
1. Xerces should be the first entry in your CLASSPATH both for Tomcat and for
your clients
2. Please avoid xerces1.3.1 which will create namespace processing errors
somewhere down the line for sure.)
hi
Kartheek,
I
get it while doing Call.invoke()
I
have also tried setting content type to "text/xml".
but
still it gives me that.
my
service is deployed fine.
but
there is one more thing to it,
when
I try to deploy service form command prompt using xml file it gives me
error,
but
works fime from the template for deploying on index.html
page.
none
of the commands (deploy, query, undeploy, list) works from the command
promt.
I
have set the classpath for xerces, soap.jar
If u
can help
thanx,
----------anjali
Please see Rosh Nair's reply to this thread. It is
clear there what needs to be done.
It
would help if you can elaborate on when you get this error. Do you get
while doing a Call.invoke() or do you get it while deploying the
service?
The Call object is coded in such a way that it
expects a text/xml response always.
Regards,
--Kartheek
my server is working fine.
I have deployed my service
also.
but it gives me the error
"unsupported response type
text/html,
should be
text/xml"
how do I rectify if...?
---------------------------------------------------------
Anjali Jain
Ecom-CoC ATHENA A-44, MCIE, Mathura Road, Delhi-44. Ph: 91-11-6950491-97 Ext:5153 [EMAIL PROTECTED]
----------------------------------------------------------
you don't need to specify the content type
anywhere.
are you sure your server installation is
alright ?
You'll have an rpcrouter url for your
server, which looks something like this ( though in your case it might
be different).
when you point your browser to this url,
you should get an error message like this:
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk
to me.
If that much is working, then you need to
see if the service you're trying to call is deployed or
not.
hope it helps.
----- Original Message -----
Sent: Wednesday, July 04, 2001
1:00 PM
Subject: RE: SOAP 2.2 &
Tomcat Error: <404 Not found>
Hi Radhika, I'm getting the
same error. but how & where do we specify
content type...?? I have only java files with
me.
---------------------------------------------------------
Anjali Jain Ecom-CoC
ATHENA A-44, MCIE, Mathura
Road, Delhi-44. Ph: 91-11-6950491-97
Ext:5153 [EMAIL PROTECTED] ----------------------------------------------------------
-----Original Message----- From: Radhika [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 8:52 PM
To: [EMAIL PROTECTED] Subject: RE: SOAP 2.2 & Tomcat Error: <404 Not
found>
Hi,
As per my knowledge is concerned , your error it self
is clearly describing the the content type
should be "text/xml". The reason is the default content
type is "text/html" even if you don't specify any
thing. But when you are returning Soap
response ,it is better you set the content type as "text/xml"
then try . I am sure you will get now.
Radhika
_____________________________________________________
For franchising opportunities with NIIT(in
India) visit www.niit.com/fra
___________________NOTICE____________________________
This electronic mail transmission contains
confidential information intended only for the person(s) named. Any use,
distribution, copying or disclosure by any other person is strictly
prohibited. If you received this transmission in error, please notify the
sender by reply e-mail and then destroy the message. Opinions,
conclusions, and other information in this message that do not relate to
the official business of NIIT shall be understood to be neither given nor
endorsed by NIIT When addressed to NIIT clients, any information contained
in this e-mail is subject to the terms and conditions in the governing
client contract.
_____________________________________________________
For franchising opportunities with NIIT(in India)
visit www.niit.com/fra
___________________NOTICE____________________________
This electronic mail transmission contains
confidential information intended only for the person(s) named. Any use,
distribution, copying or disclosure by any other person is strictly
prohibited. If you received this transmission in error, please notify the
sender by reply e-mail and then destroy the message. Opinions, conclusions,
and other information in this message that do not relate to the official
business of NIIT shall be understood to be neither given nor endorsed by NIIT
When addressed to NIIT clients, any information contained in this e-mail is
subject to the terms and conditions in the governing client
contract.
|