Which version of Xerces do you use?
SAINT-MARTIN Cecile
[EMAIL PROTECTED]
-----Message d'origine-----
De : Rachel Gilmer [mailto:[EMAIL PROTECTED]]
Envoy� : vendredi 21 septembre 2001 16:03
� : [EMAIL PROTECTED]
Objet : Problems with Mime Sample/Weblogic Server 6.0
Hi,
I'm using apache soap with weblogic server 6.0. I have set up the classpath
as advised and have passed the installation tests. The mime test service is
deployed properly but i receive the following error messages when running
MimeTestClient.
1. java samples.mime.MimeTestCient %URL% sendFile foo.txt results in:
Received attachment:
Content type: text/plain
Name:
Content class: java.io.ByteArrayInputStream
Content: java.io.ByteArrayInputStream@1ed166
2. Loopfile results in:
Exception caught here
Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type
"tex
t/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 500--Internal Server Error</TITLE>
<META NAME="GENERATOR" CONTENT="WebLogic htmlKona 6.0 Service Pack 1
03/04/2001
22:05:05 #101616">
</HEAD>
<BODY bgcolor="white" alink="#397F70" link="#640078" vlink="#DE7E00">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal Server
Err
or</H2>
</FONT></TD></TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100%
BGCOLOR=
white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC
2068
<i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.5.1 500 Internal Server
Error</H4>
</FONT><P><FONT FACE="Courier New">The server encountered an unexpected
conditio
n which prevented it from fulfilling the request.</FONT></P>
</FONT></TD></TR>
</TABLE>
</BODY>
</HTML>
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response
content ty
pe "text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 500--Internal Server Error</TITLE>
<META NAME="GENERATOR" CONTENT="WebLogic htmlKona 6.0 Service Pack 1
03/04/2001
22:05:05 #101616">
</HEAD>
<BODY bgcolor="white" alink="#397F70" link="#640078" vlink="#DE7E00">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal Server
Err
or</H2>
</FONT></TD></TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100%
BGCOLOR=
white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC
2068
<i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.5.1 500 Internal Server
Error</H4>
</FONT><P><FONT FACE="Courier New">The server encountered an unexpected
conditio
n which prevented it from fulfilling the request.</FONT></P>
</FONT></TD></TR>
</TABLE>
</BODY>
</HTML>
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
at org.apache.soap.rpc.Call.invoke(Call.java:212)
at samples.mime.MimeTestClient.main(MimeTestClient.java:167)
Any suggestions??????????
Cheers
Rachel.