Actually, I logged the bugs:
https://issues.apache.org/jira/browse/CXF-1719
https://issues.apache.org/jira/browse/CXF-1720
Both are now fixed on trunk. I'll get new snapshots deployed
tonight. It would be great if you could re-try with the those
snapshots.
Dan
On Jul 23, 2008, at 3:09 PM, Daniel Kulp wrote:
On Jul 23, 2008, at 1:56 PM, Jean Jacobs wrote:
I was testing the CXF 2.1 client with SOAP 1.2. I got an RPC-literal
endpoint from the White Mesa server and had problems consuming it
with the
CXF client. (I had no problems using soapUI.) I found 3 distinct
issues:
1. The client defaults to sending a chunked message to the server.
The
White Mesa server apparently does not support chunking. I was able
to get
past this problem by configuring the client to not allow chunking.
2. Once the chunking issue was resolved, I got further but got a
SOAP fault
saying that the operation was not recognized. The White Mesa WSDL
specifies
a namespace attribute in the SOAP body element in the BINDING that
differs
from the abstract messages and operations namespace. CXF does not
seem to
be able to handle this. I worked around this by making the
namespaces the
same in the abstract messages and the binding.
Ick.. That's definitely a bug. The annotation is also wrong:
@WebResult(name = "return", targetNamespace = "http://whitemesa.net/wsdl/rpc-lit-test
", partName = "return")
Please log a bug.
3. Once the namespace issue was resolved, I got further, actually
getting a
response from the server. However, the client threw an exception.
Using
TCPMon, I observed that a response was received but the CXF client
did not
recognize the <result> element directly inside the operation response
wrapper (See SOAP 1.2 Adjuncts). CXF is complaining that it finds
no logical
part that matches this element.
And that is definitely another bug. :-(
I don't think we do the http://www.w3.org/2003/05/soap-rpc:result
stuff at all like we have to for soap 1.2 rpc/lit. A grep
through the code for that namespace yields absolutely nothing.
Are these known issues with the CXF 2.1 client consuming SOAP 1.2
RPC-lit
endpoints?
Now they are. Please log some JIRA issues.
Thanks!
Dan
--
View this message in context:
http://www.nabble.com/CXF-2.1-client-problem-consuming-SOAP-1.2-RPC-lit-endpoint-tp18616789p18616789.html
Sent from the cxf-user mailing list archive at Nabble.com.
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog