SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : XML Technologies :

Previous DiscussionNext Discussion
 Exception in soap services

hi everyone,
i am working on tomcat server 4.1 and using soap2.3.1. when i run my program then i faced exception...and exception is .......
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html; charset=ISO-8859-1", must be: "text/xm
l". Response was:
<html><head><title>Apache Tomcat/4.1.31 - Error report</title><STYLE><!--H1{font
-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{
font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : whi
te;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYL
E> </head><body><h1>HTTP Status 404 - /soap/onjava</h1><HR size="1" noshade="nos
hade">
type Status report

message /soap/onjava

<
p>description The requested resource (/soap/onjava) is not available.<
/u>

<HR size="1" noshade="noshade"><h3>Apache Tomcat/4.1.31</h3></body></html
>
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:173)
at org.apache.soap.rpc.Call.invoke(Call.java:210)
at CalcClient.main(CalcClient.java:31)

i have set the classpath of activation.jar,mail.jar,xerces.jar and xercesImpl.jar files. please try to solve my problem.
thanks and regards
mahesh

Started By maheshjangir on Jan 9, 2006 at 12:52:31 AM

3 Response(s) | Reply

Earlier Replies | Replies 1 to 3 of 3 | Later Replies
MHenke on Jan 9, 2006 at 2:34:00 AM (# 1)

Well, the webservice enpoint you're calling doesn't respond, the server sends an HTTP status 404 ("Not found") error page.
The 404 error page sent by the srvr is a simple HTML page and not a valid SOAP -reponse envelope, therefore the resulting SOAP error.

Reason: Either you're are using a wrong URI ("/soap/onjava") or the webservice that should response to that URI isn't correctly set up.
Solution: Check it and fix it...  8)


maheshjangir on Jan 11, 2006 at 1:33:57 AM (# 2)

thanks MHenke for ur reply


Sixto on Jan 22, 2009 at 9:09:38 AM (# 3)

Hi

I've the same eror in a 2% rate over my request sent to same server

somebody has a solution?

 


Earlier Replies | Replies 1 to 3 of 3 | Later Replies

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.