You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Keith Halligan (JIRA)" <ji...@apache.org> on 2008/09/30 16:31:44 UTC

[jira] Commented: (CXF-1834) The corba prefix is not present in the physical part of the wsdl when a yoko corba namespace is used.

    [ https://issues.apache.org/jira/browse/CXF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635759#action_12635759 ] 

Keith Halligan commented on CXF-1834:
-------------------------------------

This patch fixes the problem where a wsdl returned on the wire does not contain the correct corba prefix, and it defaults to the cxf corba namespace, when the old yoko namespace was in the definition part of the wsdl.

The fix is in the JAXBExtensionHelper.  The change seems a little out of place, as JAXBExtensionHelper seems very generic.  Perhaps someone could offer some suggestions about getting this fix into the rt/bindings/corba code?

> The corba prefix is not present in the physical part of the wsdl when a yoko corba namespace is used.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1834
>                 URL: https://issues.apache.org/jira/browse/CXF-1834
>             Project: CXF
>          Issue Type: Bug
>          Components: CORBA Binding, JAXB Databinding
>    Affects Versions: 2.1.2
>            Reporter: Keith Halligan
>             Fix For: 2.1.3
>
>         Attachments: corba_prefix_fix.diff
>
>
> The corba prefix is not present in the physical part of the wsdl returned on the wire, when the original wsdl used the old yoko corba namespace: "http://schemas.apache.org/yoko/bindings/corba"
> eg. 
> <wsdl:binding name="HelloWorldCORBABinding" type="tns:HelloWorld">
>     <ns2:binding xmlns:ns2="http://cxf.apache.org/bindings/corba" bases="" repositoryID="IDL:HelloWorld:1.0" />
>     <wsdl:operation name="greetMe">
>       <ns2:operation xmlns:ns2="http://cxf.apache.org/bindings/corba" name="greetMe">
>         <ns2:param mode="in" idltype="ns2:string" name="inparameter" />
>         <ns2:return idltype="ns2:string" name="outparameter" />
>       </ns2:operation>
>       <wsdl:input name="greetMeRequest">
>       </wsdl:input>
>       <wsdl:output name="greetMeResponse">
>       </wsdl:output>
>     </wsdl:operation>
>   </wsdl:binding>
>   <wsdl:service name="HelloWorldCORBAService">
>     <wsdl:port name="HelloWorldCORBAPort" binding="tns:HelloWorldCORBABinding">
>       <ns2:address xmlns:ns2="http://cxf.apache.org/bindings/corba" location="corbaloc::localhost:40001/hw" />
>     </wsdl:port>
>   </wsdl:service>
>   <ns2:typeMapping xmlns:ns2="http://cxf.apache.org/bindings/corba" targetNamespace="http://schemas.apache.org/yoko/idl/HelloWorld/corba/typemap/" />
> </wsdl:definitions>

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