Hi,

Are you just compiling WSAS Stocktrader or convert it into WSIT
service(according to steps 3 - 8, it seems so??)?

If just compiling, do "mvn clean install"; you need to install maven2
to do that.

If you are converting and then compiling, I am not sure where the
problem is, since the code will be generated by WSIT?

Regards,
Shankar

On Mon, Jun 1, 2009 at 5:28 PM, Vineet ghatge <[email protected]> wrote:
> Hi Shankar,
>
> I tried to running the code present in /trunk/stocktrader/wsas,but the
> wsimport has failed.
> One of errors is that :-Unable to parse "wsdl10.wsdl" .
>
> Could you tell me what are the steps to be followed??
>  Are my steps previously used correct??
>
> With Regards,
> Vineet Ghatge H
>
> On Thu, May 28, 2009 at 9:52 PM, Selvaratnam Uthaiyashankar <
> [email protected]> wrote:
>
>> trunk/stocktrader/wsas is refined version of contrib/java
>>
>> So, code inside wsas is what you are looking for...
>>
>> Regards,
>> Shankar
>>
>> On Thu, May 28, 2009 at 7:04 PM, Vineet ghatge <[email protected]>
>> wrote:
>> > On Thu, May 28, 2009 at 9:25 AM, Selvaratnam Uthaiyashankar <
>> > [email protected]> wrote:
>> >
>> >> "contrib" is not used anymore
>> >>
>> >> Please try <dir>/trunk/stocktrader/wsas
>> >>
>> >> Go inside that folder and do "mvn clean install"
>> >>
>> >> Regards,
>> >> Shankar
>> >
>> > Hi Shankar,
>> >
>> > I am trying to get the Java version running.Should I still use trunk.I
>> mean
>> > Trunk/java has no code
>> >
>> > With Regards,
>> > Vineet Ghatge H
>> >
>> >>
>> >>
>> >> On Thu, May 28, 2009 at 9:19 AM, Vineet ghatge <[email protected]>
>> >> wrote:
>> >> > Hello all,
>> >> >
>> >> > I was trying to compile the processor_service.These were the steps I
>> >> > followed:-
>> >> >
>> >> > 1)svn co http://svn.apache.org/repos/asf/incubator/stonehenge
>> <dir>,where
>> >> > <dir> can be any convenient place on my harddrive.
>> >> > 2)cd <dir>/contrib/stocktrader/java/order_processor/processor-service
>> >> > 3)cp */wsit-enabled-fromwsdl/build.xml .
>> >> > 4)mkdir etc
>> >> > 5)cp */wsit-enabled-fromwsdl/etc/build.properties etc
>> >> > 6)Update etc/build.properties
>> >> >  server.wsdl=resources/nosec/META-INF/OrderProcessor.wsdl
>> >> > 7)Update build.xml
>> >> >  build-server-wsdl target
>> >> >  javac portion
>> >> >  includes="**/org/**"
>> >> > 8)Remove WSO2 generated code:
>> >> >  rm -rf src/com
>> >> >  rm -rf src/traderorderhost
>> >> >  rm -rf src/org/tempuri
>> >> > 9)cd <dir>/contrib/stocktrader/java/order_processor/processor-service
>> ant
>> >> > server.
>> >> >
>> >> > After running "ant server" I got a list of errors due to "javac".Here
>> is
>> >> one
>> >> > of those errors:-
>> >> >  [javac]
>> >> >
>> >>
>> /private/tmp/processor-service/src/org/wso2/stocktrader/CustomAccountBean.java:23:
>> >> > cannot find symbol
>> >> >  [javac] symbol : class AccountDataBean
>> >> >  [javac] location: package com.ibm.websphere.samples.trade
>> >> >  [javac] import com.ibm.websphere.samples.trade.AccountDataBean
>> >> >
>> >> > * Could someone pls tell me:- *
>> >> > -Why are these errors being generated??
>> >> > -how the code in the above **/trade/* directory was generated??
>> >> > -Precise steps or direction to overcome the javac errors??
>> >> > -Is there a previous documentation on this matter??
>> >> >
>> >> >  With Regards,
>> >> > Vineet Ghatge H
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> S.Uthaiyashankar
>> >> Software Architect
>> >> WSO2 Inc.
>> >> http://wso2.com/ - "The Open Source SOA Company"
>> >>
>> >
>>
>>
>>
>> --
>> S.Uthaiyashankar
>> Software Architect
>> WSO2 Inc.
>> http://wso2.com/ - "The Open Source SOA Company"
>>
>



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

Reply via email to