Error in web service creation : java.io.IOException: Non nillable element
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sachin_kataria
Posted On:   Tuesday, July 10, 2007 06:28 AM

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 msg, "could not retrieve the WSDL file file:/D/Test/sample.wsdl Do u want to contiue to wait for this file? " 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 : - Exception: java.io.IOException: Non nillable   More>>

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 msg,



"could not retrieve the WSDL file
file:/D/Test/sample.wsdl Do u want to contiue to wait for this file? "



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 :



- Exception:
java.io.IOException: Non nillable element 'serialID' is null.



at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:215)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978)
at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:1053)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.SOAPPart.getContentLength(SOAPPart.java:229)
at org.apache.axis.Message.getContentLength(Message.java:510)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:371)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.innotrac.INOC_ATS_LOreal_inbound_servicesBindingStub.captureOrder(INOC_ATS_LOreal_inbound_servicesBindingStub.java:362)
at com.innotrac.INOC_ATS_LOreal_inbound_servicesPortTypeProxy.captureOrder(INOC_ATS_LOreal_inbound_servicesPortTypeProxy.java:45)
at org.apache.jsp.sampleINOC_005fATS_005fLOreal_005finbound_005fservicesPortTypeProxy.Result_jsp._jspService(Result_jsp.java:166)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)



so, what is the error ?



error is in wsdl file..?
pls, help me...


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


its urgent...

   <<Less
About | Sitemap | Contact