|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2004-12-14 13:18:58
|
Hi,
On Tue, 14 Dec 2004, David RR Webber wrote:
> I have also seen this problem when using Cyclone Commerce with
> Hermes. The Hermes to Cyclone works fine - but the reverse -
> Cyclone sending to Hermes - also ends with the Error 302 - address
> temporarily moved.
> > javax.xml.soap.SOAPException: Invalid Content-Type:text/html
> > at
> > com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159)
> >
> > Comparing the Tomcat responses when using Tomcat 4.1.x and Tomcat 5.x (on
> > receiver side), it appears that Tomcat 4.1.x ends communication with HTTP
> > 204 code (no content), and Tomcat 5.x ends communication with HTTP 302 code
> > (Moved temporarily).
See if this help. Add a trailing slash "/" at the end of the
toURL endpoint, e.g. http://localhost:8080/msh/ instead of
http://localhost:8080/msh
I wonder if the web.xml looks something like this:
<servlet-mapping>
<servlet-name>msh</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|