Nuka,

I've just deployed a new SNAPSHOT at:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/apache-cxf/2.1-incubator-SNAPSHOT/

This has Glens patch applied that should fix the Geronimo mail 
dependency.   Any chance you could give it a try?   I'd like to make 
sure this is fixed for 2.0.2.

Thanks!
Dan


On Monday 27 August 2007, nuka wrote:
> INFO: Find registry server-registry.xml at classpath resource
> 27 ao¹t 2007 17:52:06 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 36081 ms
> 27 ao¹t 2007 17:55:11 org.apache.cxf.interceptor.LoggingInInterceptor
> handleMess
> age
> INFO: Inbound Message
> --------------------------------------
>
> ------=_Part_0_31166350.1188230111364
> Content-Type: application/xop+xml; charset=UTF-8; type="text/xml;
> charset=UTF-8"
>
> Content-Transfer-Encoding: binary
> Content-ID: <[EMAIL PROTECTED]>
>
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body
>
> ><drawing xmlns="http://klee.labBook";><xop:Include
>
> xmlns:xop="http://www.w3.org/
> 2004/08/xop/include"
> href="cid:[email protected]
> "/></drawing></soap:Body></soap:Envelope>
> ------=_Part_0_31166350.1188230111364
> Content-Type: application/octet-stream
> Content-Transfer-Encoding: binary
> Content-ID: <[EMAIL PROTECTED]>
>
>
>   -ISIS-  01160714512D
>
>   6  6  0  0  0  0  0  0  0  0999 V2000
>     2.0569   -2.9125    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
>     2.0557   -3.7398    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
>     2.7706   -4.1527    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
>     3.4870   -3.7394    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
>     3.4841   -2.9088    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
>     2.7688   -2.4997    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
>   1  2  2  0  0  0  0
>   3  4  2  0  0  0  0
>   4  5  1  0  0  0  0
>   2  3  1  0  0  0  0
>   5  6  2  0  0  0  0
>   6  1  1  0  0  0  0
> M  END
>
> ------=_Part_0_31166350.1188230111364--
> --------------------------------------
>
> nuka wrote:
> > This is the inbound message. There is no outbound message in the
> > server traces.
> >
> > nuka wrote:
> >> The server is on my computer. The problem is that if I am using
> >> geronimo-javamail_1.4_spec-1.0.jar (the original) it's work.
> >>
> >> dkulp wrote:
> >>> This error is probably hiding a bigger issue.   Any chance of a
> >>> tcpdump/wireshark log of the response?    Most likely, this is a
> >>> server side error and the response coming back is not a soap
> >>> message at all. It's probably html (with no namespace thus the
> >>> "null" is not a valid soap version error).
> >>>
> >>> Dan
> >>>
> >>> On Monday 27 August 2007, nuka wrote:
> >>>> This is the trace
> >>>>
> >>>>
> >>>> Invoking getName...
> >>>> 27 août 2007 17:55:11 org.apache.cxf.phase.PhaseInterceptorChain
> >>>> doIntercept INFO: Interceptor has thrown exception, unwinding now
> >>>> org.apache.cxf.binding.soap.SoapFault: "null" is not a valid SOAP
> >>>> version. at
> >>>> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.ha
> >>>>ndleM essage(ReadHeadersInterceptor.java:92) at
> >>>> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.ha
> >>>>ndleM essage(ReadHeadersInterceptor.java:57) at
> >>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInter
> >>>>cepto rChain.java:206) at
> >>>> org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:399)
> >>>> at
> >>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.han
> >>>>dleRe sponse(HTTPConduit.java:1830) at
> >>>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.clo
> >>>>se(HT TPConduit.java:1698) at
> >>>> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.ja
> >>>>va:66 ) at
> >>>> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSender
> >>>>Endin gInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> >>>> at
> >>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInter
> >>>>cepto rChain.java:206) at
> >>>> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253) at
> >>>> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:204) at
> >>>> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:7
> >>>>3) at
> >>>> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.jav
> >>>>a:134 ) at $Proxy27.getName(Unknown Source)
> >>>>  at
> >>>> klee.labBook.wsexample.KGenericWSMoleculeNamerPortTypeClient.main
> >>>>(KGen ericWSMoleculeNamerPortTypeClient.java:57)
> >>>>
> >>>> nuka wrote:
> >>>> > When split geronimo-javamail jar into two jars and replace the
> >>>> > first one with the one of sun web services don't work anymore.
> >>>> >
> >>>> > Web services traces show the inbound message but there is an
> >>>> > error when parsing this message saying something like "missing
> >>>> > soap version...."
> >>>> >
> >>>> > dkulp wrote:
> >>>> >> Nuka,
> >>>> >>
> >>>> >> This is logged at:
> >>>> >> https://issues.apache.org/jira/browse/CXF-936
> >>>> >>
> >>>> >> I THINK if you create a jar with JUST
> >>>> >> org.apache.geronimo.mail.util.StringBufferOutputStream in it
> >>>> >> and use that jar along with the Sun jar, it may work.
> >>>> >>
> >>>> >> Dan
> >>>> >>
> >>>> >> On Monday 27 August 2007, nuka wrote:
> >>>> >>> Hello,
> >>>> >>>
> >>>> >>> I hava a big problem with geronimo-javamail_1.4_spec-1.0-M1
> >>>> >>> for my cxf web services project.
> >>>> >>>
> >>>> >>> I need to migrate geronimo-javamail to javamail of sun. As
> >>>> >>> this migration is not possible due to a bug I've splitted
> >>>> >>> geronimo-javamail into two new jars - one containing only
> >>>> >>> javax/mail/... classes and the other one containing
> >>>> >>> geronimo/mail/...etc classes. I've replaced the first jar
> >>>> >>> with javamail of sun.
> >>>> >>>
> >>>> >>> Web services don't work.
> >>>> >>>
> >>>> >>> We cannot use geronimo-javamail_1.4_spec-1.0-M1  to send
> >>>> >>> emails due to emails errors (subject is missing, french
> >>>> >>> characters are not good, etc).
> >>>> >>>
> >>>> >>> Any help is appreciated.
> >>>> >>>
> >>>> >>> thanks in advance
> >>>> >>>
> >>>> >>> Nuka
> >>>> >>
> >>>> >> --
> >>>> >> J. Daniel Kulp
> >>>> >> Principal Engineer
> >>>> >> IONA
> >>>> >> P: 781-902-8727    C: 508-380-7194
> >>>> >> [EMAIL PROTECTED]
> >>>> >> http://www.dankulp.com/blog
> >>>
> >>> --
> >>> J. Daniel Kulp
> >>> Principal Engineer
> >>> IONA
> >>> P: 781-902-8727    C: 508-380-7194
> >>> [EMAIL PROTECTED]
> >>> http://www.dankulp.com/blog



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to