You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sentares <mi...@partsearch.com> on 2008/12/22 17:28:29 UTC

CXFBC-Consumer bug

Hi,

I think I've run into a bug in the CXFBC-Consumer.  When using a WSDL with a
structure like the following:

<wsdl:operation name="someOperation">
<soap:operation soapAction="http://some.name/space/someOperation"
style="document"/>
	<wsdl:input>
			<soap:header message="tns:someHeaderMessage" part="SomePart"
use="literal"/>
			<soap:body use="literal"/>
	</wsdl:input>
	<wsdl:output>
		<soap:body use="literal"/>
	</wsdl:output>
</wsdl:operation>

If I associate a wsdl with a structure like the above with the CXFBC
consumer, the output JBI message contains the custom header in both the JBI
message body as a JBI part and the JBI message header. When this message
reaches the corresponding CXFBC Provider, the outgoing soap message contains
the custom header twice. If I remove the soap:header from the wsdl:input on
the CXFBC consumer, the message structure is correct through the entire
chain.

Has anyone else encountered this problem? Is it indeed a bug?

Thanks.
-- 
View this message in context: http://www.nabble.com/CXFBC-Consumer-bug-tp21130607p21130607.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXFBC-Consumer bug

Posted by sentares <mi...@partsearch.com>.
Thanks for the response, I attached the WSDL I'm trying to integrate (mangled
some naming to protect the innocent). It is a WCF generated WSDL.

Thanks.



Freeman Fang wrote:
> 
> Hi,
> Is it possible you append your whole wsdl?
> 
> Thanks
> Freeman
> 
> sentares wrote:
>> Hi,
>>
>> I think I've run into a bug in the CXFBC-Consumer.  When using a WSDL
>> with a
>> structure like the following:
>>
>> <wsdl:operation name="someOperation">
>> <soap:operation soapAction="http://some.name/space/someOperation"
>> style="document"/>
>> 	<wsdl:input>
>> 			<soap:header message="tns:someHeaderMessage" part="SomePart"
>> use="literal"/>
>> 			<soap:body use="literal"/>
>> 	</wsdl:input>
>> 	<wsdl:output>
>> 		<soap:body use="literal"/>
>> 	</wsdl:output>
>> </wsdl:operation>
>>
>> If I associate a wsdl with a structure like the above with the CXFBC
>> consumer, the output JBI message contains the custom header in both the
>> JBI
>> message body as a JBI part and the JBI message header. When this message
>> reaches the corresponding CXFBC Provider, the outgoing soap message
>> contains
>> the custom header twice. If I remove the soap:header from the wsdl:input
>> on
>> the CXFBC consumer, the message structure is correct through the entire
>> chain.
>>
>> Has anyone else encountered this problem? Is it indeed a bug?
>>
>> Thanks.
>>   
> 
> 
> 
http://www.nabble.com/file/p21147151/xyz.wsdl xyz.wsdl 
-- 
View this message in context: http://www.nabble.com/CXFBC-Consumer-bug-tp21130607p21147151.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXFBC-Consumer bug

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Is it possible you append your whole wsdl?

Thanks
Freeman

sentares wrote:
> Hi,
>
> I think I've run into a bug in the CXFBC-Consumer.  When using a WSDL with a
> structure like the following:
>
> <wsdl:operation name="someOperation">
> <soap:operation soapAction="http://some.name/space/someOperation"
> style="document"/>
> 	<wsdl:input>
> 			<soap:header message="tns:someHeaderMessage" part="SomePart"
> use="literal"/>
> 			<soap:body use="literal"/>
> 	</wsdl:input>
> 	<wsdl:output>
> 		<soap:body use="literal"/>
> 	</wsdl:output>
> </wsdl:operation>
>
> If I associate a wsdl with a structure like the above with the CXFBC
> consumer, the output JBI message contains the custom header in both the JBI
> message body as a JBI part and the JBI message header. When this message
> reaches the corresponding CXFBC Provider, the outgoing soap message contains
> the custom header twice. If I remove the soap:header from the wsdl:input on
> the CXFBC consumer, the message structure is correct through the entire
> chain.
>
> Has anyone else encountered this problem? Is it indeed a bug?
>
> Thanks.
>   


Re: CXFBC-Consumer bug

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

never see this behavior before. I check in the source code if I find something explaining this.

Regards
JB

On Monday 22 December 2008 - 08:28, sentares wrote:
> 
> Hi,
> 
> I think I've run into a bug in the CXFBC-Consumer.  When using a WSDL with a
> structure like the following:
> 
> <wsdl:operation name="someOperation">
> <soap:operation soapAction="http://some.name/space/someOperation"
> style="document"/>
> 	<wsdl:input>
> 			<soap:header message="tns:someHeaderMessage" part="SomePart"
> use="literal"/>
> 			<soap:body use="literal"/>
> 	</wsdl:input>
> 	<wsdl:output>
> 		<soap:body use="literal"/>
> 	</wsdl:output>
> </wsdl:operation>
> 
> If I associate a wsdl with a structure like the above with the CXFBC
> consumer, the output JBI message contains the custom header in both the JBI
> message body as a JBI part and the JBI message header. When this message
> reaches the corresponding CXFBC Provider, the outgoing soap message contains
> the custom header twice. If I remove the soap:header from the wsdl:input on
> the CXFBC consumer, the message structure is correct through the entire
> chain.
> 
> Has anyone else encountered this problem? Is it indeed a bug?
> 
> Thanks.
> -- 
> View this message in context: http://www.nabble.com/CXFBC-Consumer-bug-tp21130607p21130607.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
jb@nanthrax.net
PGP : 17D4F086