[
https://issues.apache.org/activemq/browse/SMXCOMP-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved SMXCOMP-564.
------------------------------------------
Resolution: Fixed
Fix Version/s: servicemix-http-2009.02
I have added a check on the endpoint name in the validate() method.
> Incorrectly generated WSDL
> --------------------------
>
> Key: SMXCOMP-564
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-564
> Project: ServiceMix Components
> Issue Type: Bug
> Affects Versions: servicemix-http-2008.01
> Environment: ServiceMix 3.3
> JVM Sun 1.5.0_14
> Linux Debian (2.6.27)
> Reporter: Jean-Baptiste Onofré
> Fix For: servicemix-http-2009.02
>
>
> An incorrect WSDL is generated using a HTTP endpoint combined with a CXF-SE
> one.
> The namespace prefix in the xbean.xml service name is used as-is in the
> generated WSDL.
> For example, I have the following xbean.xml:
> <http:endpoint service="fsb:exchange-rate-http"
> endpoint="fsb:exchange-rate-soap" [...]/>
> is translated in:
> <wsdl:port binding="tns:fsb:exchange-rate-soapBinding"
> name="fsb:exchange-rate-soap" [...]/>
> So I have:
> 1/ tns:fsb:xxx is not a valid namespace format.
> 2/ the fsb namespace is not even declared in the generated WSDL
> The problem is certainly in HttpEndpoint#overrideDefinition() or
> PortTypeDecorator#decorate().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.