• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Error in web service creation : java.io.IOException: Non nillable element

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

i am new to web service, and i have to create web service.
i have wsdl file and i have to develop web service using that file only.

i am using eclipse 3.2 WTP.

After importing file, when i am cretaing web service, i am getting messge,




after that when i am creating web service client, using wsdl file, which is in
Webcontent/wsdl/SampleWS.wsdl, i am getting same msg.

and when i am executing that i am getting error :




so, what is the error ?
error is in wsdl file..?

i have only wsdl file and i have to create web service using that file only.

please, help me...
its urgent...



Error in web service creation : java.io.IOException: Non nillable element
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sachin

Which SOAP engine are you using in your application.I have worked with the Axis 1.4 SOAP engine. In Eclipse you can import the axis jar file and set the source and the destination end points for the WSDL and the Client Side Stubs generated from the WSDL. I think there may some mistake in this as the engine you are using is not able to get hold of the WSDL.Check for proper syntax to be used to do this operation.

For the client side exception that you are getting see if you are passing the correct parameter to your webservice.it looks like the SOAP engine is not able to serialize the object or the parameter you are passing.try to always pass non null values to your service or you have to do proper exception handling.

Regards
Vikram K
 
sachin kataria
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for reply.
I also try that but getting same errors.
 
Bring out your dead! Or a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic