|
From: Patrick Y. <kc...@ce...> - 2002-11-08 01:30:18
|
> javax.xml.soap.SOAPException: Invalid Content-Type:text/html It seems that our msh send a message to the an end point of another msh, and the end point returned a HTML, which our msh does not recognize. You may dig into a little more detail about the msh in the other side, and find out what is the HTML returned. There may be some clues. Regards, -Patrick -- Patrick Yee System Architect Center for E-Commerce Infrastructure Development (CECID) Dept. of Computer Science and Information Systems The University of Hong Kong Tel: (852) 22415674 Fax: (852) 25474611 ----- Original Message ----- From: "simon carni" <sim...@ho...> To: <kc...@ce...>; <ebx...@li...> Sent: Friday, November 08, 2002 4:54 AM Subject: Re: [ebxmlms-general] Malformed MessageServiceHandler URL > thanks, I solved the problem but now I have a new one: > > While trying to send a message from your msh to other msh (jaxm-provider > from Sun) i get following exception: > > ****************************************** > javax.xml.soap.SOAPException: Invalid Content-Type:text/html > at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) > at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryImpl.java:32) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion.java:333) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (HttpSOAPConnection.java:142) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion.java:115) > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown Source) > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Source) > javax.xml.soap.SOAPException: Unable to internalize message > at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryImpl.java:32) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion.java:333) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (HttpSOAPConnection.java:142) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion.java:115) > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown Source) > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Source) > java.security.PrivilegedActionException: javax.xml.soap.SOAPException: > Unable to internalize message > at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryImpl.java:32) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion.java:333) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (HttpSOAPConnection.java:142) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion.java:115) > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown Source) > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Source) > ************************************************************* > > I assume that happens on the "other side". I don't know if you are the right > adress for this problem, but anyway. Any idea? > > Thanks > > > > > > > >From: "Patrick Yee" <kc...@ce...> > >To: "EbXMLms List \(E-mail\)" <ebx...@li...> > >Subject: Re: [ebxmlms-general] Malformed MessageServiceHandler URL > >Date: Tue, 5 Nov 2002 09:28:53 +0800 > > > >This time, it is the MSH Stub inside your client application who is finding > >the msh.properties.xml. So, you should place the property file in the > >CLASSPATH or the working directory when/where you are invoking the client > >application. This may be a separate copy of the property file other than > >the > >one in Tomcat. The one in Tomcat is for MSH server. > > > >Hope this helps. > > > >Regards, -Patrick > >-- > >Patrick Yee > >System Architect > >Center for E-Commerce Infrastructure Development (CECID) > >Dept. of Computer Science and Information Systems > >The University of Hong Kong > >Tel: (852) 22415674 > >Fax: (852) 25474611 > > > > > Hi > > > > > > When I try to register my Application context (in a Servlet) I get the > > > following exception Malformed MessageServiceHandler URL!. I think taht > >the > > > reason for this exc. is that msh.properties.xml file can't be found. So > >I > > > thinj the right question would be: where do I have to put > >msh.properties.xml > > > file if I'm running a MSH client as a Web App. I'm > > > using Tomcat 4.0.4 and I've already tried to put it in : > > > <TOMCAT_HOME>/classes > > > <TOMCAT_HOME>/coomon/classes > > > <TOMCAT_HOME>/bin > > > myWebAppRoot/ > > > myWebAppRoot/WEB-INF > > > myWebAppRoot/EWB-INF/classes > > > > > > None of thosed alternatives worked. > > > > > > Could you please help me. > > > > > > Thanks > > > > > > Simon > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > Unlimited Internet access -- and 2 months free!?Try MSN. > > > http://resourcecenter.msn.com/access/plans/2monthsfree.asp > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > > Las Vegas (supported by COMDEX), the only Apache event to be > > > fully supported by the ASF. http://www.apachecon.com > > > _______________________________________________ > > > ebxmlms-general mailing list > > > ebx...@li... > > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: ApacheCon, November 18-21 in > >Las Vegas (supported by COMDEX), the only Apache event to be > >fully supported by the ASF. http://www.apachecon.com > >_______________________________________________ > >ebxmlms-general mailing list > >ebx...@li... > >https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > |