Hi,

I found out two more issues

1) The outputDirectory should be
<outputDirectory>target/generated-sources</outputDirectory>  instead of
<outputDirectory>target/generated-sources/jaxws</outputDirectory>. If you
keep the jaxws in there, the generated classes package structure does not
conform and you will get compilation errors.

2) After you generate the sources, in Pricing.java, the getPrice method is
generated with output of type BigDecimal ....as per the WSDL the output type
should be getPriceResponse

Not sure if you faced this issued. Please provide assistance in resolving
this.

Thanks
NP


bsnyder wrote:
> 
> On 10/30/07, npwork <[EMAIL PROTECTED]> wrote:
>>
>> Hi Tom,
>>
>> This post really helped. Thanks! ...I just had another question for
>> you...for some reason, the maven2 generate sources does not put the
>> generated code in target/generated-sources. Any idea why this could be
>> happening?
> 
> This is due to a bug in the servicemix-wsdl-first-service-unit Maven
> archetype. Just edit the pom.xml for the project and change the
> following:
> 
>  <outputDirectory>target/jaxws</outputDirectory>
> 
> to this:
> 
>  <outputDirectory>target/generated-sources/jaxws</outputDirectory>
> 
> BTW, thanks for reminder ;-). I just committed a fix for this
> (https://issues.apache.org/activemq/browse/SM-1122). I'll have to get
> this included in the ServiceMix 3.2 release.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
> Castor - http://castor.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Fuse-Tutorial-Issues-and-Solutions-tf3548010s12049.html#a13517920
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to