getTypeClass is actually giving me a null on any MessageParts that don't have a 
type= 


-Kevin



________________________________
From: Daniel Kulp <[email protected]>
To: [email protected]
Cc: Kevin McClusky <[email protected]>
Sent: Monday, April 18, 2011 1:00 PM
Subject: Re: Dynamic Client finding parameter classes for soap port


This all should work fine.    The getTypeClass should also be used in this 
case and should return the required generated type for that element.

Dan


On Friday 15 April 2011 11:33:59 PM Kevin McClusky wrote:
> Hi,
>    I have a WSDL that I'm trying to use with the Dynamic Client
> functionality of CXF.
> 
>    I've been through this page (and ComplexClient.java), and it works great
> if my wsdl is using type for message parts.
> 
> http://cxf.apache.org/docs/dynamic-clients.html 
> 
> 
>    Unfortunately, the WSDL is using messages like this:
> 
>   <wsdl:message name="FillTankSoapIn">  
>     <wsdl:part name="parameters" element="tns:FillTank" /> 
>   </wsdl:message> 
> 
>    I've been able to get the element QName with
> MessagePartInfo.getElementQName(), and I can see that the classes for the
> element are being generated, but I'm not sure how to go from the QName to
> the generated Class. 
> 
> 
> (It appears there's no .getElementClass(), but I could just be missing
> something.)
> 
> 
>    Any help would be greatly appreciated.  I've been banging my head on the
> keyboard for a while now :)
> 
> Thanks,
> Kevin

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to