Problem in converting Lejos Class file into WSDL

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, 99jonathan, imaqine

Problem in converting Lejos Class file into WSDL

Postby rahat khan » Mon Jul 30, 2012 8:17 am

Hi all,
I am Working on Bpel Workflows and for that i need Web services (WSDL) files and before that i've been generating those WSDL files from java class files and when i switched to lejos Api I wanted to alse generate wsdl files for lejos generated java class files but while i am writing command on console for the WSDL files generation of lejos Based JAVA Class files its giving me "NoClassDefFound Error" that is its not being converted into WSDLs kindly help me out if anyone can :(
rahat khan
New User
 
Posts: 13
Joined: Mon Jul 30, 2012 8:07 am

Re: Problem in converting Lejos Class file into WSDL

Postby gloomyandy » Mon Jul 30, 2012 3:02 pm

There really is no difference between a leJOS class file and any other Java class file, so I suspect that the problem here may be something like the class path being used. Which leJOS classes are you trying to convert?
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3003
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: Problem in converting Lejos Class file into WSDL

Postby rahat khan » Tue Jul 31, 2012 10:01 am

Thank Alot for your reply :) Actually i was making a mistake that i didn't write the package correctly when i went through the whole process again , i found it :oops:

And can you please help me out in finding that LEGO NXT robo will either work with web services called in Bpel Workflow SOA (Service oriented architecture)

Note: These web services which are created are of Java Code (Lejos)
rahat khan
New User
 
Posts: 13
Joined: Mon Jul 30, 2012 8:07 am

Re: Problem in converting Lejos Class file into WSDL

Postby gloomyandy » Tue Jul 31, 2012 10:44 am

Sorry no idea, have never used Bpel...
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3003
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: Problem in converting Lejos Class file into WSDL

Postby skoehler » Tue Jul 31, 2012 11:36 am

It is highly likely, that you cannot run webservices on the NXT itself, if that is what you're asking.
It should work if you run webservices on the PC, and remote control the NXT. LeJOS provides an API to connect and remote control the NXT.
skoehler
leJOS Team Member
 
Posts: 1110
Joined: Thu Oct 30, 2008 4:54 pm

Re: Problem in converting Lejos Class file into WSDL

Postby rahat khan » Wed Aug 01, 2012 7:43 am

Thanks a lot for your replies cheers for you guys :D

Yeah we cant run web services on NXT ... But you are talking about that it will work as if i do run web services in PC and then connect to the NXT ..
Now there is another question :?: that to invoke web services me must have a client .. and currently that client is my BPEL Workflow which invokes those web services .. Will it work with BPEL ???
Or i should create a JAVA based Client ??
another question its too foolish but can you guide me regarding that API which you've talked abt connecting NXT Remotely ?? Thanking you in Anticipation
rahat khan
New User
 
Posts: 13
Joined: Mon Jul 30, 2012 8:07 am

Re: Problem in converting Lejos Class file into WSDL

Postby skoehler » Wed Aug 01, 2012 12:00 pm

I have no clue about WSDL. However, when using leJOS to communicate with an NXT, leJOS is just another library, like any other library. You may have to write your own classes that implement the webservices. But those classes can rely on the leJOS library when it comes to communication with the NXT.
skoehler
leJOS Team Member
 
Posts: 1110
Joined: Thu Oct 30, 2008 4:54 pm

Re: Problem in converting Lejos Class file into WSDL

Postby rahat khan » Thu Aug 02, 2012 3:40 am

Thank You very much for the replies , my queries are almost solved thanks again Cheers for you guyz :D :wink:
rahat khan
New User
 
Posts: 13
Joined: Mon Jul 30, 2012 8:07 am

Re: Problem in converting Lejos Class file into WSDL

Postby caribou » Wed Nov 07, 2012 10:07 pm

Hi,

we did that; let's say, we implemented our own workflow engine (as BPEL engines are not powerful enough - it is another story) that invokes Web Services operations. Such WS operations wrapp LeJOS API (we are not wrapping all LeJOS API operations but those that interest us). Web services are deployed on Axis2 (or Tomcat+Axis2 container). It works on a 32 bit Windows machine (i.e. Win XP). We have also implemented those infrastructure on virtual machines (virtual windows guest hosts on linux servers). I am now working on porting such infrastructure to OSX Lion platform. It currently fails with USB communication (but painfully more or less works with Bluetooth).

Cheers.
caribou
New User
 
Posts: 3
Joined: Wed Nov 07, 2012 9:02 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff