You just saved me hours of research (and I was looking for a Python tutorial for SOAP). Your explanation is so logical and aligned to newbies. Thanks a ton Koushik!
+Kashif Sami So true. These tutorials are excelent entry points. I was very confused about all those acronyms SOAP RESTful WSDL and so on. And these are not just tutorials about how to do something, they also include conceptual topics well explained, and good examples.
all i know is you are awesome teacher, 2 years ago , i studied spring from you and now web service and you are simple enough to understand even though i am a dummy.
Very helpful, as always. One question - I'm on Windows but, although I have Java installed properly, I cannot seem to use wsimport - I am doing this at the package level in the Java project I have created. What am I doing wrong? My notes below for anyone else who might find them useful: 0:45 GeoIPService chosen as a random example 1:00 What the GeoIPService web service does 1:35 What the example here will do 2:05 WSDL Schema Location and recap on what a WSDL is/does 2:18 Accessing the WSDL URL in a browser (an XML document) 2:45 Focus on wsdl:service - gives the name of the service and the board, and make a note of these 3:10 Going back to Eclipse IDE 3:45 Creating the new Java project 'IPLocationFinder' 4:00 Creating a class to contain the main method, 'IPLocationFinder', same as the project 4:33 Starting coding the main method: accept an input (IP address), then take the IP address and make a call to the GEOIPService, which will then return a country and print to the console. 5:00 Checking for input argument - if-else statement 5:52 Calling the web service to pass IP Address as an argument 6:27 Making a web service call to the SEI and generating the SEI 7:00 Using the stub to call the method on 7:15 A Stub internally translates the local method call to a web service call 7:35 Generating a stub in command prompt 8:10 Using WS Import 8:48 Parameters needed for WS Import 9:15 Running the wsimport with the WSDL 9:40 Parsing the WSDL 10:10 What the wsimport does after the call - a look at the directory and created files 11:15 Running a wsimport with -keep and -s (including new folder for the -s command) 12:15 Looking at the Source directory and generated classes
If Google isn't lying, wsimport was deprecated after JDK(Java Development Kit) 11 and later. There should be a modern solution for this but I haven't been able to find it yet.
Hello koushks. You just don't know how many people jobs you safe and how many people you helped to find a new one. I'm really wait with trepidation for your lessons. My bow to you and huge respect.
10 years later and Im still watching this because we work with clients that have never heard of rest and still use SOAP... and we need to use their service to fetch some data...
just figured it out. if any one out there is getting the : [ERROR] . et\webservicex\GeoIP.java (The system cannot find the path specified) error after they try to wsimport the webservice url check this out: The reason its not working for some is because the folder has to be placed in a location where you can't modify/add a directory through cmd prompt for some people when you try to do mkdir sei the folder is not created My solution Find WSDL url online Next go to your JDK directory(C:\Program Files\Java\jdk1.7.0_21) Copy the jdk1.7.0_21 folder Paste the folder on your desktop (location where you can add folders through command prompt) Go back to command prompt Go path you just created on your desktop which may look something like this Ex. C:\Users\Computer Science\Desktop\jdk1.7.0_21> next cd into the "bin" folder your cmd prompt should look something like this now C:\Users\Computer Science\Desktop\jdk1.7.0_21\bin> Now add the wsimport in cmd: wsimport www.webservicex.net/geoipservice.asmx?WSDL once the code has been generated then look for the "net" folder in the directory it should contain the associated files
This was really helpful as I'm very new to web services. I'm curious though how you can consume a SOAP service without sending a payload envelope. Can someone help me understand that?
hi bro, i am not able to fire wsimport command in my command prompt, it is showing an error: wsimprt is not an enternal or external command .please help me to resolve this or please provide your contact details
+agram soft hey! thanks for the help but i am still not getting wsimport after setting the path to jdk bin folder. Can u plz help? D:\Eclipse\IPLocationFinder\sei>set path = C:\Program Files\Java\jdk1.8.0_60\bin D:\Eclipse\IPLocationFinder\sei>wsimport 'wsiprort' is not recognized as an internal or external command, operable program or batch file.
It would've been nice to do the same topic tutorial, now using jdk >= 11, as JAX-WS tools (like wsimport) have been removed from Java SE, since version 11, and due to this reason, it's quite cumbersome to implement even a simple SOAP client. :)
Stub is nothing but the classes which get generated from the wsdl. These are the classes which helps the client app to communicate to the webservice hosted in other system.. Hope it is clear. Cheers!!
or u could import the ws directly from eclipse RightClick on any Project->Create New Other ->Web Services->Web Service Client->Then paste the wsdl url(or location) in Service Definition->Next->Finish
Hi Koushik sir, i really appreciate the way you explained it all. could please mention the link of the web service you've used in this program as the service is not available on the website, so that we can test it by our own. thanks
why i always got this warning "Description Resource Path Location Type Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. IPLocationFinder Build path JRE System Library Problem" i've already installed the jdk1.8 on my kepler eclipse..
I have given a development environment wsdl URL but How i can use dynamically test and prod environment end points in SOAP? I don't see anywhere using any End point except when creating the stub from wsdl.
my cmd does not recognize the wsimport command but if I execute it in the "C:\Program Files\Java\jdk1.8.0_74\bin" I getting some result but I want to generate the stubs in my own directory. How can I manage it? since I can not create a directory in the lib folder.
@Ling Jiang: Thanks for your respose but I tried it before but it did not work. At the end I have generated the classes inside the "C:\Program Files\Java\jdk1.8.0_74\bin" and it worked.
Hi Kaushik, I have Java 11 on my local machine . I am trying to create the project as per this tutorial but wsimport is not there in the jdk. Can you please suggest how it can be done using jaxws-maven-plugin.
why my eclipse(kepler and indigo) as well myeclipse not able to show glassfish version more than 3.x and I have jre and jdk 7.51 latest available even set in myeclipse and other still says u r using jdk 6 .?
A very good video but unfortunately it did not work with Microsoft wsdl. It generates: [WARNING] src-resolve: Cannot resolve the name 's:schema' to a(n) 'element declaration' component.
I have JDK 17. How can I generate stub if wsimport is deprecated? I modified the JAVA_HOME to jdk 1.8 and works but this is not a straight forward solution.
Hi Koushik wsimport does not support legacy rpc encoding. I can not use axis1.4 due to its vulnerabilities. I am thinking post XML through HttpsURLConnection. Could you please tell me is there any java library that supports legacy rpc encoding style?
hi kaushik, i liked your teaching and i just wanted to try this example practically but now the problem is, the link for generating stub is not available any more, can anyone suggest other links. www.webservicex.net/geoipservice.asmx?WSDL - is not available.
i have taken another WSDL to generate the stub's, but here the problem is in the generated stub i'am getting JAXBElement, JAXBElement i'm getting this problem how to set values for this and call the service , Kindly reply ASAP.
i am using windows 8 and i followed all the steps to set up glassfish4 but i am getting error while starting server in eclipse(Kepler) as- Unable to start server due following issues: Launch process failed with exit code 1
Hi teacher, when I provide wsdl to wsimport command for generating .class files, I'm getting the error, : the system cannot find the path specified. Can you pls help with that. I'm stuck. Can't move forward.
When I copied the stub classes in consumption application, it is not able to detect the files in eclipse, hence i'm not able to do import and create object of it!! Any help here ?
How can we deal with the proxy webservices .. I tried to create using eclipse somehow I got an error saying service definition is not created. This particular service under secured corporate network . Any suggestions?
when ever i am running the Uri iam getting this error will you plz help me. HTTP Status [404] - [Not Found] Type Status Report Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/8.5.15
I registered to your website javabrains for downloading codes and signing up for tutorials.But I cant find a simple search button to find this course. I am not able to find code for this project for which I signed up. Can't believe the UI of your site is so poor.
Sir thanks for sharing your knowledge with us but video is not clear can't see what you are typing. So if possible please provide a video where texts are clear like audio.
hello, I am trying out this tuturial and am stucked. I am not able to access wsimport. Which command prompt did you switch to ? is the same as CMD in windows? and what is the Home path? is it the path where our Java workspace is?
+Avinash Velagandula hey! thanks for the help but i am still not getting wsimport after setting the path to jdk bin folder. Can u plz help? D:\Eclipse\IPLocationFinder\sei>set path = C:\Program Files\Java\jdk1.8.0_60\bin D:\Eclipse\IPLocationFinder\sei>wsimport 'wsiprort' is not recognized as an internal or external command, operable program or batch file.
wsimport is not able to parse the wsdl, due to error: "markup declarations contained or pointed to by the document type declaration must be well formed", wsdl url is: " www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL ". Please help!!!
Hi Koushik, Wsimport tool should have been shipped from jdk1.5 onwards right? I can't run this wsimport on jdk1.5... should have been under bin folder right?
I m getting confused with webservice and module.I m using python.so i can import a module instead of calling this webservice...so is any relation with those?
+aravind aran I am quite late, but no "webservices" in directory structure is not a "module"(file) but a "package"(directory + __init__.py) in python. "webservices" would contain all the "Geo*.java" modules. I think you are getting confused because all ".java" files contains single class of same name whereas in python you can have multiple classes in a single module. java it is : webservices.GeoIpService(module and class). in python : webservices.GeoIpService(module).GeoIpService(class) hope it helps,
+aravind aran I am quite late, but no "webservices" in directory structure is not a "module"(file) but a "package"(directory + _init_.py) in python. "webservices" would contain all the "Geo*.java" modules. I think you are getting confused because all ".java" files contains single class of same name whereas in python you can have multiple classes in a single module. java it is : webservices.GeoIpService(module and class). in python : webservices.GeoIpService(module).GeoIpService(class) hope it helps,
Hello, Can anyone help me please? i am using netbeans 7.4 but when i am trying to run wsimport, its giving me " 'wsimport' is not recognized as an internal or external command, operable program or batch file " even though i have set up the java home path in my environment variables. Comment please....
You just saved me hours of research (and I was looking for a Python tutorial for SOAP). Your explanation is so logical and aligned to newbies. Thanks a ton Koushik!
+Kashif Sami So true. These tutorials are excelent entry points. I was very confused about all those acronyms SOAP RESTful WSDL and so on. And these are not just tutorials about how to do something, they also include conceptual topics well explained, and good examples.
all i know is you are awesome teacher, 2 years ago , i studied spring from you and now web service and you are simple enough to understand even though i am a dummy.
I would like to say that so far I am learning a lot from this tutorial. Thank you for taking the time to put it together.
i guess youtube should make an "ADORE" button for your videos
Very helpful, as always. One question - I'm on Windows but, although I have Java installed properly, I cannot seem to use wsimport
- I am doing this at the package level in the Java project I have created. What am I doing wrong? My notes below for anyone else who might find them useful:
0:45 GeoIPService chosen as a random example
1:00 What the GeoIPService web service does
1:35 What the example here will do
2:05 WSDL Schema Location and recap on what a WSDL is/does
2:18 Accessing the WSDL URL in a browser (an XML document)
2:45 Focus on wsdl:service - gives the name of the service and the board, and make a note of these
3:10 Going back to Eclipse IDE
3:45 Creating the new Java project 'IPLocationFinder'
4:00 Creating a class to contain the main method, 'IPLocationFinder', same as the project
4:33 Starting coding the main method: accept an input (IP address), then take the IP address and make a call to the GEOIPService, which will then return a country and print to the console.
5:00 Checking for input argument - if-else statement
5:52 Calling the web service to pass IP Address as an argument
6:27 Making a web service call to the SEI and generating the SEI
7:00 Using the stub to call the method on
7:15 A Stub internally translates the local method call to a web service call
7:35 Generating a stub in command prompt
8:10 Using WS Import
8:48 Parameters needed for WS Import
9:15 Running the wsimport with the WSDL
9:40 Parsing the WSDL
10:10 What the wsimport does after the call - a look at the directory and created files
11:15 Running a wsimport with -keep and -s (including new folder for the -s command)
12:15 Looking at the Source directory and generated classes
I am facing the same issue, did you manage to find a solution?
If Google isn't lying, wsimport was deprecated after JDK(Java Development Kit) 11 and later. There should be a modern solution for this but I haven't been able to find it yet.
Hello koushks. You just don't know how many people jobs you safe and how many people you helped to find a new one. I'm really wait with trepidation for your lessons. My bow to you and huge respect.
One of the best series on web services. thank you.
You saved a student today, give a treat to yourself
Amazing clarity in teaching ,makes it so very simple
Now I understand. At last! Thanks you for such clear explanations in this whole series on webservices.
Thanks, I have gone through a number of tutorials on webservices.. this seems to me the simplest way of learning it.. step by step
Koushik...thanks you so much for your all turorials and guidence....we can just follow your tutorials and go for interview....
You are a legend bro. Thanks for the clear explanation.
One of the best videos on java tutorial.Really easy to understand and its pulling me more into java with interest.Thanks a lot and god bless U..
10 years later and Im still watching this because we work with clients that have never heard of rest and still use SOAP... and we need to use their service to fetch some data...
Your tutorials are excellent and easy to follow. Have you written a book? If not, you should consider writing one.
the best tutorials in the web
just figured it out. if any one out there is getting the :
[ERROR] .
et\webservicex\GeoIP.java (The system cannot find the path specified) error
after they try to wsimport the webservice url check this out:
The reason its not working for some is
because the folder has to be placed in a location
where you can't modify/add a directory through cmd prompt
for some people when you try to do mkdir sei the folder is not created
My solution
Find WSDL url online
Next go to your JDK directory(C:\Program Files\Java\jdk1.7.0_21)
Copy the jdk1.7.0_21 folder
Paste the folder on your desktop (location where you can add folders through command prompt)
Go back to command prompt
Go path you just created on your desktop
which may look something like this
Ex. C:\Users\Computer Science\Desktop\jdk1.7.0_21>
next cd into the "bin" folder
your cmd prompt should look something like this now
C:\Users\Computer Science\Desktop\jdk1.7.0_21\bin>
Now add the wsimport in cmd:
wsimport www.webservicex.net/geoipservice.asmx?WSDL
once the code has been generated
then look for the "net" folder in the directory
it should contain the associated files
thanks very much
Thank you for amazing series of technical topics. I'm learning a lot.
Yoo this guy Has to be praised by the java learners !!
Really nice and clear. Good job Kaushik.
Amazing series ..this made learning web services very easy !! thanks
Thanks a lot Kaushik!!! Wonderful teacher
An excellent series of videos!! Thank you!!
This was really helpful as I'm very new to web services. I'm curious though how you can consume a SOAP service without sending a payload envelope. Can someone help me understand that?
Best video on stub generation. Tnx for sharing.
hi bro,
i am not able to fire wsimport command in my command prompt, it is showing an error: wsimprt is not an enternal or external command .please help me to resolve this or please provide your contact details
Rahul Rahul
Configure your path to Java bin directory
e.g. c:\Program Files\Java\jdk1.8.0_25\bin\
+agram soft hey! thanks for the help but i am still not getting wsimport after setting the path to jdk bin folder. Can u plz help?
D:\Eclipse\IPLocationFinder\sei>set path = C:\Program Files\Java\jdk1.8.0_60\bin
D:\Eclipse\IPLocationFinder\sei>wsimport
'wsiprort' is not recognized as an internal or external command,
operable program or batch file.
It would've been nice to do the same topic tutorial, now using jdk >= 11, as JAX-WS tools (like wsimport) have been removed from Java SE, since version 11, and due to this reason, it's quite cumbersome to implement even a simple SOAP client. :)
Thanks a million for your tutorials
the geoipservice is no longer working :(
wow koushck nice to c ur videos again...u r awesome
Nice video for beginners to understand!!!
Stub is nothing but the classes which get generated from the wsdl. These are the classes which helps the client app to communicate to the webservice hosted in other system..
Hope it is clear.
Cheers!!
or u could import the ws directly from eclipse
RightClick on any Project->Create New Other ->Web Services->Web Service Client->Then paste the wsdl url(or location) in Service Definition->Next->Finish
thanks
but this url in video is not working
@Yusuf Shoair, Thank you for your help
@@hamzola19 go through one of the comments, someone has replied there a link and that's working
I need the url for webservices, please? There is no webservice available on webservicex site
great video It makes theory to understand it practical way. Can you please give me link, which is follow up of current video ? Thanks
Hi Koushik sir, i really appreciate the way you explained it all. could please mention the link of the web service you've used in this program as the service is not available on the website, so that we can test it by our own. thanks
thx koushks,,,all your tutorials are really helpful..need 1 help..what is a stub
Wonderful work! Thanks Mr. Koushik Ji :)
This is the solution to all the issue:
run it in your cmd
c:>set path=%path%;C:\Program Files\Java\jdk1.8.0_51\bin
fcking legend !
Hi sir, can I consume a SOAP service through jQuery(AJAX call)?
Keep doing the good work of sharing the knowledge.
Excellent series
Thank you a lot
Great Tutorials Boss..
Thanks a lot..!!
wsimport is not working in java 16 what is the alternative solution for this
yea u got it working>?
Excellent stuff! Thanks a lot!
Superb!!! Thank you! Again and Again!
why i always got this warning "Description Resource Path Location Type
Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. IPLocationFinder Build path JRE System Library Problem"
i've already installed the jdk1.8 on my kepler eclipse..
I have given a development environment wsdl URL but How i can use dynamically test and prod environment end points in SOAP? I don't see anywhere using any End point except when creating the stub from wsdl.
my cmd does not recognize the wsimport command but if I execute it in the "C:\Program Files\Java\jdk1.8.0_74\bin" I getting some result but I want to generate the stubs in my own directory. How can I manage it? since I can not create a directory in the lib folder.
@Ling Jiang: Thanks for your respose but I tried it before but it did not work. At the end I have generated the classes inside the "C:\Program Files\Java\jdk1.8.0_74\bin" and it worked.
Can I set a timeout in webservice i.e if I don't get a response within a certain time interval, I can close the connection.
Hi Kaushik, I have Java 11 on my local machine . I am trying to create the project as per this tutorial but wsimport is not there in the jdk. Can you please suggest how it can be done using jaxws-maven-plugin.
sir can u tell us how to use wsimport in jdk-14 as it was deprecated in java 11
Don't go for it simple. Try some other option. There are many
Stub is a local object representing the remote service
why my eclipse(kepler and indigo) as well myeclipse not able to show glassfish version more than 3.x and I have jre and jdk 7.51 latest available even set in myeclipse and other still says u r using jdk 6 .?
I am unable to get webservice wsdl geo can anyone share the link please
A very good video but unfortunately it did not work with Microsoft wsdl. It generates:
[WARNING] src-resolve: Cannot resolve the name 's:schema' to a(n) 'element declaration' component.
I have JDK 17. How can I generate stub if wsimport is deprecated?
I modified the JAVA_HOME to jdk 1.8 and works but this is not a straight forward solution.
use a proxy
Hi Koushik wsimport does not support legacy rpc encoding. I can not use axis1.4 due to its vulnerabilities. I am thinking post XML through HttpsURLConnection. Could you please tell me is there any java library that supports legacy rpc encoding style?
Awesome work!!
The webservice webservicex is no longer available !!! which one can i use ??
Thanks a Lot Koushik...!
hi kaushik,
i liked your teaching and i just wanted to try this example practically but now the problem is, the link for generating stub is not available any more, can anyone suggest other links.
www.webservicex.net/geoipservice.asmx?WSDL - is not available.
Temp Converter: www.w3schools.com/xml/tempconvert.asmx and Calculator: www.dneonline.com/calculator.asmx
i have taken another WSDL to generate the stub's, but here the problem is in the generated stub i'am getting JAXBElement, JAXBElement i'm getting this problem how to set values for this and call the service , Kindly reply ASAP.
Thanks, very great videos. Just one question: I cant run wsimport from my home directory? i can run java but not wsimport? any suggestions thanks
Check your environment variable, whether or not Java path is set up correctly
other url for webservices, please? There is no webservice available on webservicex site
a bit later but you can try with this graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl
my cmd prompt said generating and compiling code, but a net folder was not generated.
on jdk 13 wsimport is removed how to generate those files?
Thank you so much!!!! It is great sir!
very very nice...sir
Does anyone knows where is the new location of the GeoIPService?
i am using windows 8 and i followed all the steps to set up glassfish4 but i am getting error while starting server in eclipse(Kepler) as-
Unable to start server due following issues:
Launch process failed with exit code 1
Hi teacher, when I provide wsdl to wsimport command for generating .class files, I'm getting the error, : the system cannot find the path specified.
Can you pls help with that. I'm stuck. Can't move forward.
this shit saved my life
@Mario Zanichelli yes I found a job...
When I copied the stub classes in consumption application, it is not able to detect the files in eclipse, hence i'm not able to do import and create object of it!!
Any help here ?
How did the command line know that you needed a java SEI?
The one he used is not working now, can anyone help me with a sample webservice url?
How can we deal with the proxy webservices .. I tried to create using eclipse somehow I got an error saying service definition is not created. This particular service under secured corporate network . Any suggestions?
when ever i am running the Uri iam getting this error will you plz help me.
HTTP Status [404] - [Not Found]
Type Status Report
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.15
I registered to your website javabrains for downloading codes and signing up for tutorials.But I cant find a simple search button to find this course. I am not able to find code for this project for which I signed up. Can't believe the UI of your site is so poor.
Sir thanks for sharing your knowledge with us but video is not clear can't see what you are typing. So if possible please provide a video where texts are clear like audio.
Could you make your video to be cached for offline.
Struggling in windows ... anyone know how to generate stub in cmd prompt and use ?
I m getting this error Server was unable to process request. ---> System.IO.IOException: There is not enough space on the disk.
I am getting "cannot instantiate type GeoServiceIp' error whenever I try to run the program. I do not understand why I am getting this error.
at the cmd what exactly is your 'Java Brains' path. Is it the location of your workspace, or your project or is it something else entirely.
it's a windows path
thank you very much for you videos . i have a question . the command "wsimport" is for linux or windows10 or both ?
when a i go to C:\Program Files\Java\jdk1.8.0_91\bin the commond work thank you
hello, I am trying out this tuturial and am stucked. I am not able to access wsimport. Which command prompt did you switch to ? is the same as CMD in windows? and what is the Home path? is it the path where our Java workspace is?
+1
is there something like this but for php?
hey what exactly is similarity/difference between stub and SEI?
I can't get wsimport to work in my cmd, please help
huynh vo
Set path in User Variables and the Value should be the bin directory of JDK
You will get it
Let me know if that doesn't work
+huynh vo wsimport Problem solved
C:\>cd sei/
C:\sei>set path=C:\Program Files\Java\jdk1.8.0_20\bin
C:\sei>wsimport
Missing WSDL_URI
+Avinash Velagandula hey! thanks for the help but i am still not getting wsimport after setting the path to jdk bin folder. Can u plz help?
D:\Eclipse\IPLocationFinder\sei>set path = C:\Program Files\Java\jdk1.8.0_60\bin
D:\Eclipse\IPLocationFinder\sei>wsimport
'wsiprort' is not recognized as an internal or external command,
operable program or batch file.
Problem solved! I added the java bin folder directory in windows variable path.
Append PATH environment variable with location to jdk installation bin directory
wsimport is not able to parse the wsdl, due to error: "markup declarations contained or pointed to by the document type declaration must be well formed", wsdl url is: " www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL ". Please help!!!
Hi Koushik,
Wsimport tool should have been shipped from jdk1.5 onwards right? I can't run this wsimport on jdk1.5... should have been under bin folder right?
another url for the web service????
Is there any other webserice site geoipservice is not working
How do i get the geop services class
best series
oo...wow...ya nice Series
well when i ran wsimport from the folder i had my java in , it ran...
Thanks .....
yeah but what if you dont want a iplocater but your own..
Thank you sir once again
I m getting confused with webservice and module.I m using python.so i can import a module instead of calling this webservice...so is any relation with those?
+aravind aran I am quite late, but no "webservices" in directory structure is not a "module"(file) but a "package"(directory + __init__.py) in python. "webservices" would contain all the "Geo*.java" modules. I think you are getting confused because all ".java" files contains single class of same name whereas in python you can have multiple classes in a single module.
java it is : webservices.GeoIpService(module and class).
in python : webservices.GeoIpService(module).GeoIpService(class)
hope it helps,
+aravind aran
I am quite late, but no "webservices" in directory structure is not a "module"(file) but a "package"(directory + _init_.py) in python. "webservices" would contain all the "Geo*.java" modules. I think you are getting confused because all ".java" files contains single class of same name whereas in python you can have multiple classes in a single module.
java it is : webservices.GeoIpService(module and class).
in python : webservices.GeoIpService(module).GeoIpService(class)
hope it helps,
Hello, Can anyone help me please?
i am using netbeans 7.4 but when i am trying to run wsimport, its giving me " 'wsimport' is not recognized as an internal or external command, operable program or batch file " even though i have set up the java home path in my environment variables. Comment please....