This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes invalid element extension for package name customization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "invalid element extension for package name customization" Watch "invalid element extension for package name customization" New topic
Author

invalid element extension for package name customization

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 117
Hi, the following piece of code available in wsdl, when I generate webservice artificats..(using wsimport) I am getting invalid element extension for package name customization


Avinash Ga
Ranch Hand

Joined: Aug 13, 2011
Posts: 78

Package customizations must be done on Definitions node. you cannot do package customizations on PortType node. if you remove Package customizations then it should work.


Avinash G.A
OCP Java SE 6 Programmer, OCP Java EE 5 Web Component Developer, OCE Java EE 6 Web Services Developer, VMware Certified Core Spring 3.x Developer, EMC Proven Professional (ISM-V2)
Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 117
Hi Avinash,

thanks i have defined package customization in wsdl definition level and it works thank you.

Can you please let me know where did you find that package customization needs to be done in definition level?, any link?
Avinash Ga
Ranch Hand

Joined: Aug 13, 2011
Posts: 78

Please refer to the study guide for web services certification by ivan krizzan. You can find the information regarding package customization in the first chapter itself.
Also if you are interested in writing contract first web service then refer to my post. and dont forget to change the extension of the jpeg file into zip.

All the best.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invalid element extension for package name customization
 
Similar Threads
Soap Handlers in JAX-WS 2.0
JAX-WS handlerchain annotaion
want to send pdf file to client from server. pdf is generated at server
Need to change the Tag name of Response Tag.
JAXWS External Bindings File Issue