File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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