SlideShare a Scribd company logo
1 of 6
Download to read offline
http://josesaid.com	
  

	
  

22-­‐Aug-­‐13	
  

How to create a simple Java Web Service based on SOAP (JAX-WS) and
publish it on Netbeans 7.3
1. Create the Service Endpoint Interface

2. Create the implementer class for the SEI

	
  

Page 1 of 6

Created	
  by	
  José	
  Said	
  Olano	
  García	
  
http://josesaid.com	
  

	
  

22-­‐Aug-­‐13	
  

3. Create the publisher of our Web Service.

4. Run our publisher class:

	
  

Page 2 of 6

Created	
  by	
  José	
  Said	
  Olano	
  García	
  
http://josesaid.com	
  

	
  

22-­‐Aug-­‐13	
  

5. Now, we can go to this url: http://127.0.0.1:9876/ts and we could see the
link for the WSDL file:

6. Even, we also could browse into the WSDL in order to study it:

So far, we have built our web service and implement it. Let’s create a client in
order to test the result.

	
  

Page 3 of 6

Created	
  by	
  José	
  Said	
  Olano	
  García	
  
http://josesaid.com	
  

	
  

22-­‐Aug-­‐13	
  

How to create a Java Client in order to consume a Web Service.

Now, we will be using the wsimport command.
1. We have to execute the command giving as parameters the location of our
destiny package and the WSDL file (url):
wsimport –p com.mx.josesaid.client –keep http://127.0.0.1:9876/ts?wsdl

2. Go to your prompt and execute it:

3. After executing the previous command, you will notice a result like this:

	
  

Page 4 of 6

Created	
  by	
  José	
  Said	
  Olano	
  García	
  
http://josesaid.com	
  

	
  

22-­‐Aug-­‐13	
  

4. Now, you will see the new created files in the corresponding folder:

	
  

Page 5 of 6

Created	
  by	
  José	
  Said	
  Olano	
  García	
  
http://josesaid.com	
  

	
  

22-­‐Aug-­‐13	
  

5. Finally, we just have to create the consumer of the Web Service:

6. We execute it, and ready, we have the result properly running.

	
  

Page 6 of 6

Created	
  by	
  José	
  Said	
  Olano	
  García	
  

More Related Content

Viewers also liked

Firmas y certificaciones digitales para los negocios internacionales
Firmas y certificaciones digitales para los negocios internacionalesFirmas y certificaciones digitales para los negocios internacionales
Firmas y certificaciones digitales para los negocios internacionalesURP
 
Proceso de certificación
Proceso de certificaciónProceso de certificación
Proceso de certificaciónEdna B.
 
ENTOMOLOGIA GENERAL
ENTOMOLOGIA GENERALENTOMOLOGIA GENERAL
ENTOMOLOGIA GENERALjosevas
 
Importancia de la certificacion
Importancia de la certificacionImportancia de la certificacion
Importancia de la certificacionsiscat2
 
Normas oficiales mexicanas pw p
Normas oficiales mexicanas pw pNormas oficiales mexicanas pw p
Normas oficiales mexicanas pw pvimifosrh
 
04 Стандартная Библиотека
04 Стандартная Библиотека04 Стандартная Библиотека
04 Стандартная Библиотекаphearnot
 
Inay Mila at Tatay Mando - Limampung Taon Na!
Inay Mila at Tatay Mando - Limampung Taon Na!Inay Mila at Tatay Mando - Limampung Taon Na!
Inay Mila at Tatay Mando - Limampung Taon Na!Leopold Laset
 
2.12 13.08 Counting Principles
2.12 13.08   Counting Principles2.12 13.08   Counting Principles
2.12 13.08 Counting Principleschrismac47
 
El Dinero
El DineroEl Dinero
El Dinerohagi
 
GTUG GTAP Google Health Project
GTUG GTAP Google Health ProjectGTUG GTAP Google Health Project
GTUG GTAP Google Health ProjectBess Ho
 
3rd Quarter Research Project
3rd Quarter Research Project3rd Quarter Research Project
3rd Quarter Research Projectlheath
 
Reeef Zack Williams
Reeef   Zack WilliamsReeef   Zack Williams
Reeef Zack Williamslheath
 

Viewers also liked (20)

Firmas y certificaciones digitales para los negocios internacionales
Firmas y certificaciones digitales para los negocios internacionalesFirmas y certificaciones digitales para los negocios internacionales
Firmas y certificaciones digitales para los negocios internacionales
 
Proceso de certificación
Proceso de certificaciónProceso de certificación
Proceso de certificación
 
Certificaciones profesionalesitesca
Certificaciones profesionalesitescaCertificaciones profesionalesitesca
Certificaciones profesionalesitesca
 
ENTOMOLOGIA GENERAL
ENTOMOLOGIA GENERALENTOMOLOGIA GENERAL
ENTOMOLOGIA GENERAL
 
Proceso certificación
Proceso certificaciónProceso certificación
Proceso certificación
 
Importancia de la certificacion
Importancia de la certificacionImportancia de la certificacion
Importancia de la certificacion
 
INTRODUCCION A LA ENTOMOLOGIA
INTRODUCCION A LA ENTOMOLOGIAINTRODUCCION A LA ENTOMOLOGIA
INTRODUCCION A LA ENTOMOLOGIA
 
Normas oficiales mexicanas pw p
Normas oficiales mexicanas pw pNormas oficiales mexicanas pw p
Normas oficiales mexicanas pw p
 
04 Стандартная Библиотека
04 Стандартная Библиотека04 Стандартная Библиотека
04 Стандартная Библиотека
 
Cicle Mitjà 5
Cicle Mitjà 5Cicle Mitjà 5
Cicle Mitjà 5
 
Energy 2
Energy 2Energy 2
Energy 2
 
Inay Mila at Tatay Mando - Limampung Taon Na!
Inay Mila at Tatay Mando - Limampung Taon Na!Inay Mila at Tatay Mando - Limampung Taon Na!
Inay Mila at Tatay Mando - Limampung Taon Na!
 
2.12 13.08 Counting Principles
2.12 13.08   Counting Principles2.12 13.08   Counting Principles
2.12 13.08 Counting Principles
 
Cs7minguella
Cs7minguellaCs7minguella
Cs7minguella
 
Llegendacm7
Llegendacm7Llegendacm7
Llegendacm7
 
El Dinero
El DineroEl Dinero
El Dinero
 
GTUG GTAP Google Health Project
GTUG GTAP Google Health ProjectGTUG GTAP Google Health Project
GTUG GTAP Google Health Project
 
Alpharma Marte
Alpharma MarteAlpharma Marte
Alpharma Marte
 
3rd Quarter Research Project
3rd Quarter Research Project3rd Quarter Research Project
3rd Quarter Research Project
 
Reeef Zack Williams
Reeef   Zack WilliamsReeef   Zack Williams
Reeef Zack Williams
 

Similar to How to create_a_simple_java_web_service_and_publish_it_on_netbeans_7

How to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadminHow to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadminSandy Ra
 
Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorSantosh Kumar Kar
 
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?Katy Slemon
 
Getting started-with-oracle-so a-v
Getting started-with-oracle-so a-vGetting started-with-oracle-so a-v
Getting started-with-oracle-so a-vAmit Sharma
 
Proper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersProper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersMark Myers
 
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
 Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptxCiceer Ghimirey
 
Day in a life of a node.js developer
Day in a life of a node.js developerDay in a life of a node.js developer
Day in a life of a node.js developerEdureka!
 
Day In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperDay In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperEdureka!
 
WSO2 Micro Services Server - Basic Workshop Part 1
WSO2 Micro Services Server - Basic Workshop Part 1WSO2 Micro Services Server - Basic Workshop Part 1
WSO2 Micro Services Server - Basic Workshop Part 1Edgar Silva
 
Web Server configuration.pptx
Web Server configuration.pptxWeb Server configuration.pptx
Web Server configuration.pptxsadidsharif
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationparallelminder
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationparallelminder
 
58615764 net-and-j2 ee-web-services
58615764 net-and-j2 ee-web-services58615764 net-and-j2 ee-web-services
58615764 net-and-j2 ee-web-serviceshomeworkping3
 
Expanding WebAssembly.pdf
Expanding WebAssembly.pdfExpanding WebAssembly.pdf
Expanding WebAssembly.pdfStemFunfacts
 

Similar to How to create_a_simple_java_web_service_and_publish_it_on_netbeans_7 (20)

Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
 
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadminHow to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
How to install and configure microsoft iis 7.5, php, my sql, and phpmyadmin
 
Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editor
 
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
How to Build Real-time Chat App with Express, ReactJS, and Socket.IO?
 
Getting started-with-oracle-so a-v
Getting started-with-oracle-so a-vGetting started-with-oracle-so a-v
Getting started-with-oracle-so a-v
 
Proper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersProper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino Developers
 
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
 Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
 
Day in a life of a node.js developer
Day in a life of a node.js developerDay in a life of a node.js developer
Day in a life of a node.js developer
 
Day In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperDay In A Life Of A Node.js Developer
Day In A Life Of A Node.js Developer
 
WSO2 Micro Services Server - Basic Workshop Part 1
WSO2 Micro Services Server - Basic Workshop Part 1WSO2 Micro Services Server - Basic Workshop Part 1
WSO2 Micro Services Server - Basic Workshop Part 1
 
Basic API Creation with Node.JS
Basic API Creation with Node.JSBasic API Creation with Node.JS
Basic API Creation with Node.JS
 
Web Server configuration.pptx
Web Server configuration.pptxWeb Server configuration.pptx
Web Server configuration.pptx
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
 
58615764 net-and-j2 ee-web-services
58615764 net-and-j2 ee-web-services58615764 net-and-j2 ee-web-services
58615764 net-and-j2 ee-web-services
 
XSS
XSSXSS
XSS
 
XSS
XSSXSS
XSS
 
Expanding WebAssembly.pdf
Expanding WebAssembly.pdfExpanding WebAssembly.pdf
Expanding WebAssembly.pdf
 
Monteiro_WS
Monteiro_WSMonteiro_WS
Monteiro_WS
 
Monteiro_WS
Monteiro_WSMonteiro_WS
Monteiro_WS
 

Recently uploaded

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Recently uploaded (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

How to create_a_simple_java_web_service_and_publish_it_on_netbeans_7

  • 1. http://josesaid.com     22-­‐Aug-­‐13   How to create a simple Java Web Service based on SOAP (JAX-WS) and publish it on Netbeans 7.3 1. Create the Service Endpoint Interface 2. Create the implementer class for the SEI   Page 1 of 6 Created  by  José  Said  Olano  García  
  • 2. http://josesaid.com     22-­‐Aug-­‐13   3. Create the publisher of our Web Service. 4. Run our publisher class:   Page 2 of 6 Created  by  José  Said  Olano  García  
  • 3. http://josesaid.com     22-­‐Aug-­‐13   5. Now, we can go to this url: http://127.0.0.1:9876/ts and we could see the link for the WSDL file: 6. Even, we also could browse into the WSDL in order to study it: So far, we have built our web service and implement it. Let’s create a client in order to test the result.   Page 3 of 6 Created  by  José  Said  Olano  García  
  • 4. http://josesaid.com     22-­‐Aug-­‐13   How to create a Java Client in order to consume a Web Service. Now, we will be using the wsimport command. 1. We have to execute the command giving as parameters the location of our destiny package and the WSDL file (url): wsimport –p com.mx.josesaid.client –keep http://127.0.0.1:9876/ts?wsdl 2. Go to your prompt and execute it: 3. After executing the previous command, you will notice a result like this:   Page 4 of 6 Created  by  José  Said  Olano  García  
  • 5. http://josesaid.com     22-­‐Aug-­‐13   4. Now, you will see the new created files in the corresponding folder:   Page 5 of 6 Created  by  José  Said  Olano  García  
  • 6. http://josesaid.com     22-­‐Aug-­‐13   5. Finally, we just have to create the consumer of the Web Service: 6. We execute it, and ready, we have the result properly running.   Page 6 of 6 Created  by  José  Said  Olano  García