Re: What is ServiceData.xml for ?

Jose María Zaragoza <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CABOBwRj4M4_6QjRDz-HMra2w77TeAFdcwW0VEs=LjCSKpJHTLA@mail.gmail.com>
Thanks.

But if you look the trace , there is a message:

"Check loading failure for file, META-INF/ServiceData.xml"

axis2 is searching for this file, not services.xml ( indeed ,
services.xml exists in mi .aar file )




2013/11/15 LEGAY Philippe - Contractor
<[email protected]>:
> Hello,
>
>
>
> I am using the AXIS2 1.6.2 too. Here is the content of my webservice.aar.  I
> imagine that your servicesData.xml is in fact my services.xml. So the
> question is why you don’t use the standard name?
>
> Another hypothesis is that your services.xml “includes” serviceData.xml.
>
>
>
> I my case, I only use axis. It seems that you use tomcat, so perhaps the
> problem is coming from axis. You can try to put your .aat into axis2 server
> and see what happens.
>
>
>
> Good luck,
>
> PHL.
>
> jar tvf WB.aar
>
>      0 Thu Nov 14 17:06:20 CET 2013 META-INF/
>
>     68 Thu Nov 14 17:06:20 CET 2013 META-INF/MANIFEST.MF
>
> 12501 Thu Nov 14 17:06:20 CET 2013 META-INF/WB.wsdl
>
>   2089 Thu Nov 14 17:06:20 CET 2013 META-INF/services.xml
>
>      0 Thu Nov 14 17:06:14 CET 2013 com/
>
>
>
> [@@ THALES GROUP INTERNAL @@]
>
>
>
>
>
> -----Message d'origine-----
> De : Jose María Zaragoza [mailto:[email protected]]
> Envoyé : vendredi 15 novembre 2013 11:08
> À : [email protected]
> Objet : What is ServiceData.xml for ?
>
>
>
> Hello:
>
>
>
> I'm using Axis2 1.6.2 and sometimes I see this log message:
>
>
>
> DEBUG http-8080-2 org.apache.axiom.om.impl.MTOMXMLStreamWriter - Calling
> MTOMXMLStreamWriter.flush  DEBUG http-8080-2
> org.apache.axis2.dataretrieval.DataRetrievalUtil - File does not exist in
> the Service Repository!
>
> File=META-INF/ServiceData.xml
>
> DEBUG http-8080-2 org.apache.axis2.dataretrieval.AxisDataLocatorImpl
>
> - Check loading failure for file, META-INF/ServiceData.xml.Message = Failed
> to load from file, META-INF/ServiceData.xml  DEBUG http-8080-2
> org.apache.axis2.dataretrieval.AxisDataLocatorImpl
>
> - Check loading failure for file, META-INF/ServiceData.xml
>
> org.apache.axis2.dataretrieval.DataRetrievalException: Failed to load from
> file, META-INF/ServiceData.xml
>
>         at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(DataRetrievalUtil.java:60)
>
>        at
> org.apache.axis2.dataretrieval.AxisDataLocatorImpl.loadServiceData(AxisDataLocatorImpl.java:104)
>
>         at
> org.apache.axis2.description.AxisService.getDefaultDataLocator(AxisService.java:3052)
>
>         at
> org.apache.axis2.description.AxisService.getDataLocator(AxisService.java:3036)
>
>         at
> org.apache.axis2.description.AxisService.getData(AxisService.java:2953)
>
>         at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1645)
>
>         at
> org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1413)
>
>         at
> org.apache.axis2.transport.http.ListingAgent.handleWSDLRequest(ListingAgent.java:327)
>
>         at
> org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:183)
>
>         at
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:260)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
>         at
> com.googlecode.psiprobe.Tomcat60AgentValve.invoke(Tomcat60AgentValve.java:30)
>
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>
>         at java.lang.Thread.run(Thread.java:722)
>
> Caused by: javax.xml.stream.XMLStreamException: File does not exist in the
> Service Repository! File=META-INF/ServiceData.xml
>
>         at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.getInputStream(DataRetrievalUtil.java:95)
>
>         at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(DataRetrievalUtil.java:56)
>
>         ... 24 more
>
>
>
>
>
> I don't know what is this file for and I've found any info about it I deploy
> my services as .aar files and this files doesn't contain any ServiceData.xml
>
>
>
> is it required ? for what ?
>
> how i must define it ?
>
>
>
> Thanks and regards
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: [email protected]
>
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.