| Author |
Error in web service creation : java.io.IOException: Non nillable element
|
sachin kataria
Ranch Hand
Joined: Mar 27, 2006
Posts: 43
|
|
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
|
 |
vikram karne
Ranch Hand
Joined: Jun 05, 2007
Posts: 34
|
|
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
Joined: Mar 27, 2006
Posts: 43
|
|
Thank you for reply. I also try that but getting same errors.
|
 |
 |
|
|
subject: Error in web service creation : java.io.IOException: Non nillable element
|
|
|