You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "YI (William) ZHU" <zh...@yahoo.com> on 2007/10/25 19:19:32 UTC

sample "wsdl_first_pure_xml" don't work in CXF 2.0.2

Hi there,

I'm using CXF 2.0.2, and trying to test the example "wsdl_first_pure_xml".
But when I'm building the example, I got the following error message:

===============================================
     [java] WSDLToJava Error :
Binding(Greeter_XMLBinding):BindingOperation({htt
p://apache.org/hello_world_xml_http/bare}testMultiParamPart)-input: wrong
value
of rootNode attribute, the value should be
{http://apache.org/hello_world_xml_ht
tp/bare}testMultiParamPart
     [java]
     [java] org.apache.cxf.tools.common.ToolException:
Binding(Greeter_XMLBindin
g):BindingOperation({http://apache.org/hello_world_xml_http/bare}testMultiParamP
art)-input: wrong value of rootNode attribute, the value should be
{http://apach
e.org/hello_world_xml_http/bare}testMultiParamPart
     [java]
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.validate(WSDL
ToJavaContainer.java:545)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:219)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLT
oJavaContainer.java:259)
     [java]     at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)

BUILD FAILED
=================================================

I think that there are errors in "hello_world.wsdl", but I don't know what
exactly wrong there.

Can someone try the example "wsdl_first_pure_xml"? An know the what the
problem?

Thanks,
YI ZHU
-- 
View this message in context: http://www.nabble.com/sample-%22wsdl_first_pure_xml%22-don%27t-work-in-CXF-2.0.2-tf4692143.html#a13411173
Sent from the cxf-user mailing list archive at Nabble.com.


Re: sample "wsdl_first_pure_xml" don't work in CXF 2.0.2

Posted by "YI (William) ZHU" <zh...@yahoo.com>.
Hi Bo,

THanks for your reply!

I downloaded "apache-cxf-2.0.3-incubator-20071023.180556-5.zip" this
morning,
and tried it. It has the same bug of 2.0.2 release.

Can I know how to fix it?

Thanks,



Bozhong Lin wrote:
> 
> I can confirm that this is a bug of 2.0.2 release, but it appears to have
> been fixed in the latest trunk and 2.0.x branch. We will keep an eye on
> this
> for 2.0.3 release.
> 
> Thanks for reporting issue.
> 
> Cheers,
> Bo
> 
> On 10/26/07, YI (William) ZHU <zh...@yahoo.com> wrote:
>>
>>
>> I'm using the following command(under folder :
>> samples\wsdl_first_pure_xml)
>>
>>                 ant client
>> or             ant server
>>
>> (up to now, I'v tried several other examples, and all others are working,
>> except this one).
>>
>> Thanks,
>>
>>
>>
>> YI (William) ZHU wrote:
>> >
>> > Hi there,
>> >
>> > I'm using CXF 2.0.2, and trying to test the example
>> "wsdl_first_pure_xml".
>> > But when I'm building the example, I got the following error message:
>> >
>> > ===============================================
>> >      [java] WSDLToJava Error :
>> > Binding(Greeter_XMLBinding):BindingOperation({htt
>> > p://apache.org/hello_world_xml_http/bare}testMultiParamPart)-input:
>> wrong
>> > value
>> > of rootNode attribute, the value should be
>> > {http://apache.org/hello_world_xml_ht
>> > tp/bare}testMultiParamPart
>> >      [java]
>> >      [java] org.apache.cxf.tools.common.ToolException:
>> > Binding(Greeter_XMLBindin
>> > g):BindingOperation({
>> http://apache.org/hello_world_xml_http/bare}testMultiParamP
>> > art)-input: wrong value of rootNode attribute, the value should be
>> > {http://apach
>> > e.org/hello_world_xml_http/bare}testMultiParamPart
>> >      [java]
>> >      [java]     at
>> > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.validate(WSDL
>> > ToJavaContainer.java:545)
>> >      [java]     at
>> > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(
>> WSDLToJavaContainer.java:219)
>> >      [java]     at
>> > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLT
>> > oJavaContainer.java:259)
>> >      [java]     at
>> > org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java
>> :83)
>> >      [java]     at
>> > org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
>> >      [java]     at
>> > org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)
>> >
>> > BUILD FAILED
>> > =================================================
>> >
>> > I think that there are errors in "hello_world.wsdl", but I don't know
>> what
>> > exactly wrong there.
>> >
>> > Can someone try the example "wsdl_first_pure_xml"? An know the what the
>> > problem?
>> >
>> > Thanks,
>> > YI ZHU
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/sample-%22wsdl_first_pure_xml%22-don%27t-work-in-CXF-2.0.2-tf4692143.html#a13413288
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/sample-%22wsdl_first_pure_xml%22-don%27t-work-in-CXF-2.0.2-tf4692143.html#a13428711
Sent from the cxf-user mailing list archive at Nabble.com.


Re: sample "wsdl_first_pure_xml" don't work in CXF 2.0.2

Posted by Bozhong Lin <bo...@gmail.com>.
I can confirm that this is a bug of 2.0.2 release, but it appears to have
been fixed in the latest trunk and 2.0.x branch. We will keep an eye on this
for 2.0.3 release.

Thanks for reporting issue.

Cheers,
Bo

On 10/26/07, YI (William) ZHU <zh...@yahoo.com> wrote:
>
>
> I'm using the following command(under folder :
> samples\wsdl_first_pure_xml)
>
>                 ant client
> or             ant server
>
> (up to now, I'v tried several other examples, and all others are working,
> except this one).
>
> Thanks,
>
>
>
> YI (William) ZHU wrote:
> >
> > Hi there,
> >
> > I'm using CXF 2.0.2, and trying to test the example
> "wsdl_first_pure_xml".
> > But when I'm building the example, I got the following error message:
> >
> > ===============================================
> >      [java] WSDLToJava Error :
> > Binding(Greeter_XMLBinding):BindingOperation({htt
> > p://apache.org/hello_world_xml_http/bare}testMultiParamPart)-input:
> wrong
> > value
> > of rootNode attribute, the value should be
> > {http://apache.org/hello_world_xml_ht
> > tp/bare}testMultiParamPart
> >      [java]
> >      [java] org.apache.cxf.tools.common.ToolException:
> > Binding(Greeter_XMLBindin
> > g):BindingOperation({
> http://apache.org/hello_world_xml_http/bare}testMultiParamP
> > art)-input: wrong value of rootNode attribute, the value should be
> > {http://apach
> > e.org/hello_world_xml_http/bare}testMultiParamPart
> >      [java]
> >      [java]     at
> > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.validate(WSDL
> > ToJavaContainer.java:545)
> >      [java]     at
> > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(
> WSDLToJavaContainer.java:219)
> >      [java]     at
> > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLT
> > oJavaContainer.java:259)
> >      [java]     at
> > org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java
> :83)
> >      [java]     at
> > org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
> >      [java]     at
> > org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)
> >
> > BUILD FAILED
> > =================================================
> >
> > I think that there are errors in "hello_world.wsdl", but I don't know
> what
> > exactly wrong there.
> >
> > Can someone try the example "wsdl_first_pure_xml"? An know the what the
> > problem?
> >
> > Thanks,
> > YI ZHU
> >
>
> --
> View this message in context:
> http://www.nabble.com/sample-%22wsdl_first_pure_xml%22-don%27t-work-in-CXF-2.0.2-tf4692143.html#a13413288
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Re: sample "wsdl_first_pure_xml" don't work in CXF 2.0.2

Posted by "YI (William) ZHU" <zh...@yahoo.com>.
I'm using the following command(under folder : samples\wsdl_first_pure_xml)
 
                ant client 
or             ant server

(up to now, I'v tried several other examples, and all others are working,
except this one).

Thanks,



YI (William) ZHU wrote:
> 
> Hi there,
> 
> I'm using CXF 2.0.2, and trying to test the example "wsdl_first_pure_xml".
> But when I'm building the example, I got the following error message:
> 
> ===============================================
>      [java] WSDLToJava Error :
> Binding(Greeter_XMLBinding):BindingOperation({htt
> p://apache.org/hello_world_xml_http/bare}testMultiParamPart)-input: wrong
> value
> of rootNode attribute, the value should be
> {http://apache.org/hello_world_xml_ht
> tp/bare}testMultiParamPart
>      [java]
>      [java] org.apache.cxf.tools.common.ToolException:
> Binding(Greeter_XMLBindin
> g):BindingOperation({http://apache.org/hello_world_xml_http/bare}testMultiParamP
> art)-input: wrong value of rootNode attribute, the value should be
> {http://apach
> e.org/hello_world_xml_http/bare}testMultiParamPart
>      [java]
>      [java]     at
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.validate(WSDL
> ToJavaContainer.java:545)
>      [java]     at
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:219)
>      [java]     at
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLT
> oJavaContainer.java:259)
>      [java]     at
> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
>      [java]     at
> org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
>      [java]     at
> org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)
> 
> BUILD FAILED
> =================================================
> 
> I think that there are errors in "hello_world.wsdl", but I don't know what
> exactly wrong there.
> 
> Can someone try the example "wsdl_first_pure_xml"? An know the what the
> problem?
> 
> Thanks,
> YI ZHU
> 

-- 
View this message in context: http://www.nabble.com/sample-%22wsdl_first_pure_xml%22-don%27t-work-in-CXF-2.0.2-tf4692143.html#a13413288
Sent from the cxf-user mailing list archive at Nabble.com.