You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2007/03/23 06:43:32 UTC
[jira] Resolved: (CXF-358) Generated wsdl contains unused namespace
declaration
[ https://issues.apache.org/jira/browse/CXF-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma resolved CXF-358.
-----------------------
Resolution: Fixed
> Generated wsdl contains unused namespace declaration
> -----------------------------------------------------
>
> Key: CXF-358
> URL: https://issues.apache.org/jira/browse/CXF-358
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0-RC
> Reporter: jimma
> Assigned To: jimma
> Fix For: 2.0-RC
>
>
> lass SayHello { public String incoming; }
> class SayHelloResponse { public String response; }
> @javax.jws.WebService
> public class Howdy
> {
> @javax.jws.WebMethod
> @java.xml.ws.RequestWrapper(className="com.tedneward.celtixdemos.SayHello")
> @java.xml.ws.ResponseWrapper(className="com.tedneward.celtixdemos.SayHelloRe
> sponse")
> public SayHelloResponse sayHello(SayHello in)
> {
> SayHelloResponse shr = new SayHelloResponse();
> shr.response = "We got your message";
> return shr;
> }
> }
> ... and when I run java2wsdl, I get a valid WSDL file *except* for a strange
> namespace declaration ( xmlns:ns1="" ), which causes wsdl2java to blow up.
> Bug?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.