Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

invalid element extension for package name customization

 
Shankar sanjay
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Shankar sanjay
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic