geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-3164) Axis2: support bindingtype overwrite from wsdl to annotation
Date Sat, 19 May 2007 03:18:16 GMT

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

Lin Sun updated GERONIMO-3164:
------------------------------

    Attachment: G3164.patch

Will test a bit more on the patch on Monday before commit it... 

I tried different approaches before coming up with this patch -

1) tried to use what Axis2 uses to get bindingtype from serviceDescription, but that didn't
work as the validation failed during the creation of createServiceDescriptionFromDBCMap. 
And serviceDescriptionImpl's constructor is not public so I cannot create my own serviceDescription
in geronimo.
2) Tried to use getType from AxisBinding which can be obtained from AxisService, but that
shows the transporturi not really the bindingtype I need.
3) Tried to see how Axis2 set the bindingtype from wsdl when there is no binding specified
in annotation and find out it just defaults to the default binding type which is SOAP11HTTP_BINDING.

Lin





> Axis2: support bindingtype overwrite from wsdl to annotation
> ------------------------------------------------------------
>
>                 Key: GERONIMO-3164
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3164
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M6
>         Environment: Win XP + Sun 1.5 SDK
>            Reporter: Lin Sun
>         Assigned To: Lin Sun
>             Fix For: 2.0-M6
>
>         Attachments: G3164.patch
>
>
> If a user has a jax-ws module that has different bindingtype in wsdl and webservice annotation,
the deployment of the module would fail but it doesn't pass the axis2 validation - 
>   The service J2EEApplication=XXXX did not start because Throwable during start of gbean:

> java.lang.RuntimeException: javax.xml.ws.WebServiceException: The ServiceDescription
failed to validate due to the following errors: 
>  :: Endpoint failed validation ::  :: Invalid binding; wsdl = http://schemas.xmlsoap.org/wsdl/soap/,
annotation = http://www.w3.org/2004/08/wsdl/http

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


Mime
View raw message