Hi Farasath,

I'm aware of the update. When this was pointed out I have been engaged with
a US client and soon after that I'm now in a client engagement in AUS. I
will update the article as soon as I get a the time.
Thank you for the reminder.

Regards,
Amal

On Fri, Feb 20, 2015 at 8:12 PM, Farasath Ahamed <[email protected]> wrote:

> I think the article[1] needs some updates especially the poms.
>
> This was pointed out earlier in the thread "Update Tutorial on How to
> write WSO2 carbon component".
>
> I think it would be convenient for those who follow [1] if it could be
> updated with the necessary changes.
>
>
> [1]
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
> On Fri, Feb 20, 2015 at 2:29 PM, Shenavi de Mel <[email protected]> wrote:
>
>> Hi,
>>
>> I externally added the axis2-client folder into my maven repository and
>> now it builds with no errors. Thanks alot for the assistance,
>>
>> Thanks & Best Regards.
>>
>> *Shenavi de Mel*
>> Software Engineer
>> WSO2 Inc: http://wso2.com
>> email: [email protected]
>> mobile:+94771244470
>>
>>
>> On Fri, Feb 20, 2015 at 2:18 PM, Shenavi de Mel <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I had added the dependencies and the paths to my pom.xml when i was
>>> getting the error as well. But seems like the axis2-client is not available
>>> in my maven repository. The other two dependencies are available.I will
>>> include the axis-client jar and build it again. That might have been the
>>> problem then. Thank You.
>>>
>>> Thanks & Best Regards.
>>>
>>> *Shenavi de Mel*
>>> Software Engineer
>>> WSO2 Inc: http://wso2.com
>>> email: [email protected]
>>> mobile:+94771244470
>>>
>>>
>>> On Fri, Feb 20, 2015 at 1:51 PM, Chathura Priyankara <[email protected]
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> You should have axis2 clint jar. Make sure that you have axis2 client
>>>> jar dependency and the following class path in your pom.xml.
>>>>
>>>> <pathelement
>>>> location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/1.6.1.wso2v10/axis2-client-1.6.1.wso2v10.jar"
>>>> />
>>>>
>>>> Thanks!
>>>> Best Regards,
>>>>
>>>> On Fri, Feb 20, 2015 at 1:25 PM, Jagath Sisirakumara Ariyarathne <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Also check whether the correct jar file is available in below
>>>>> configured path.
>>>>>
>>>>> <pathelement
>>>>> location="${settings.localRepository}/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar"
>>>>> />
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Fri, Feb 20, 2015 at 12:47 PM, Udara Liyanage <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Could you try adding wsdl4j as a dependency and check.
>>>>>>
>>>>>> [1] http://grepcode.com/search/?query=javax/wsdl
>>>>>>
>>>>>> On Fri, Feb 20, 2015 at 12:33 PM, Shenavi de Mel <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Team,
>>>>>>>
>>>>>>> I am currently following the tutorial [1] on building a carbon
>>>>>>> component, After creating the stub components and building, the build is
>>>>>>> successful but it generates the error below. Is there anything to be 
>>>>>>> done
>>>>>>> to resolve this error?
>>>>>>> I have also attached the pom file of the stub module and the WSDL
>>>>>>> file for your reference.
>>>>>>>
>>>>>>>
>>>>>>> [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
>>>>>>> org.wso2.carbon.student.mgt.stub ---
>>>>>>> [INFO] Executing tasks
>>>>>>>      [java] Exception in thread "main"
>>>>>>> java.lang.NoClassDefFoundError: javax/wsdl/WSDLException
>>>>>>>      [java] at
>>>>>>> org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>>>>>>>      [java] at
>>>>>>> org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>>>>>>>      [java] Caused by: java.lang.ClassNotFoundException:
>>>>>>> javax.wsdl.WSDLException
>>>>>>>      [java] at
>>>>>>> java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>>>>>>      [java] at
>>>>>>> java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>>>>>      [java] at java.security.AccessController.doPrivileged(Native
>>>>>>> Method)
>>>>>>>      [java] at
>>>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>>>>>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>>>>>>      [java] at
>>>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>>>>>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>>>>>>      [java] ... 2 more
>>>>>>>      [java] Java Result: 1
>>>>>>> [INFO] Executed tasks
>>>>>>>
>>>>>>> [1]
>>>>>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>>>>>>
>>>>>>> Thanks & Best Regards
>>>>>>> *Shenavi de Mel*
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc: http://wso2.com
>>>>>>> email: [email protected]
>>>>>>> mobile:+94771244470
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Udara Liyanage
>>>>>> Software Engineer
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> lean. enterprise. middleware
>>>>>>
>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>> phone: +94 71 443 6897
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jagath Ariyarathne
>>>>> Technical Lead
>>>>> WSO2 Inc.  http://wso2.com/
>>>>> Email: [email protected]
>>>>> Mob  : +94 77 386 7048
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Chathura Priyankara
>>>> Software Engineer | WSO2 Inc.
>>>> Mobile : +94718795340
>>>> Blog : www.codeoncloud.blogspot.com
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Farasath Ahamed*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
>
> Mobile: +94 777 603 866
> E-Mail:  farasath <http://goog_1999535192>[email protected]
> Blog: http://thepseudocode.blogspot.com/
>



-- 
Kind regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to