You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2010/06/16 11:02:23 UTC

[jira] Resolved: (CXF-2846) JAXWS Provider endpoints do not work if either super classes implementing or interfaces extending Provider are used

     [ https://issues.apache.org/jira/browse/CXF-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-2846.
-----------------------------------

    Resolution: Fixed

> JAXWS Provider endpoints do not work if either super classes implementing or interfaces extending Provider are used
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2846
>                 URL: https://issues.apache.org/jira/browse/CXF-2846
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.2.9
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.3, 2.2.10
>
>
> Publishing an endpoint with the following WSDL :
> <?xml version="1.0"?>
> <wsdl:definitions name="PicketLinkSTS" targetNamespace="urn:picketlink:identity-federation:sts"
>     xmlns:tns="urn:picketlink:identity-federation:sts" 
>     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>     xmlns:wsap10="http://www.w3.org/2006/05/addressing/wsdl"
>     xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
>   <wsdl:types>
>     <xs:schema targetNamespace="urn:picketlink:identity-federation:sts" 
>       xmlns:tns="urn:picketlink:identity-federation:sts" 
>       xmlns:xs="http://www.w3.org/2001/XMLSchema"
>       version="1.0">
>       <xs:element  name="MessageBody">
>       <xs:complexType>
>         <xs:sequence>
>             <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/>
>         </xs:sequence>
>       </xs:complexType>
>       <xs:element>
>     </xs:schema>
>   </wsdl:types>
>   <wsdl:message name="RequestSecurityToken">
>     <wsdl:part name="rstMessage" element="tns:MessageBody"/>
>   </wsdl:message>
>   <wsdl:message name="RequestSecurityTokenResponse">
>     <wsdl:part name="rstrMessage" element="tns:MessageBody"/>
>   </wsdl:message>
>   <wsdl:portType name="SecureTokenService">
>     <wsdl:operation name="IssueToken">
>       <wsdl:input wsap10:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" message="tns:RequestSecurityToken"/>
>       <wsdl:output wsap10:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue" message="tns:RequestSecurityTokenResponse"/>
>     </wsdl:operation>
>   </wsdl:portType>
>   <wsdl:binding name="STSBinding" type="tns:SecureTokenService">
>     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
>     <wsdl:operation name="IssueToken">
>       <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
>       <wsdl:input>
>         <soap12:body use="literal"/>
>       </wsdl:input>
>       <wsdl:output>
>         <soap12:body use="literal"/>
>       </wsdl:output>
>     </wsdl:operation>
>   </wsdl:binding>
>   <wsdl:service name="PicketLinkSTS">
>     <wsdl:port name="PicketLinkSTSPort" binding="tns:STSBinding">
>       <soap12:address location="http://localhost:8080/picketlink-sts"/>
>     </wsdl:port>
>   </wsdl:service>
> </wsdl:definitions>
> Results in :
> Caused by: javax.xml.ws.WebServiceException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
>     at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:323) [:2.2.9]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.