Re: outlook mobile service on axis2

Kishanthan Thangarajah <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAHt68vEFB1RhX4Bs5OUoeiuOT4V+c-s1TndsANPzs52wnm_G8g@mail.gmail.com>
On Mon, Dec 31, 2012 at 11:23 AM, Fahad cv <[email protected]> wrote:

> Dears
>
> Anybody implemented outlook mobile service on axis2.
>
> When I implement and deploy I am getting below error on server, I
> generated ServiceSkeleton class from wsdl using wsdl2java
>
>
> [ERROR] org.apache.axis2.databinding.ADBException: Unexpected subelement
> xmsData
> org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
> Unexpected subelement xmsData
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>         at
> com.microsoft.schemas.office.outlook._2006.oms.OMSServiceMessageReceiverInOut.fromOM(OMSServiceMessageReceiverInOut.java:386)
>         at
> com.microsoft.schemas.office.outlook._2006.oms.OMSServiceMessageReceiverInOut.invokeBusinessLogic(OMSServiceMessageReceiverInOut.java:79)
>         at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         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
> 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:300)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>         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: java.lang.Exception: org.apache.axis2.databinding.ADBException:
> Unexpected subelement xmsData
>         at
> com.microsoft.schemas.office.outlook._2006.oms.DeliverXms$Factory.parse(DeliverXms.java:472)
>         at
> com.microsoft.schemas.office.outlook._2006.oms.OMSServiceMessageReceiverInOut.fromOM(OMSServiceMessageReceiverInOut.java:359)
>         ... 20 more
> Caused by: org.apache.axis2.databinding.ADBException: Unexpected
> subelement xmsData
>         at
> com.microsoft.schemas.office.outlook._2006.oms.DeliverXms$Factory.parse(DeliverXms.java:458)
>         ... 21 more
>

Usually this issue arises when the validation fails for either request or
response message in axis2 engine. Use tcpmon to capture the request and
response. Compare the request/response with the schema definition to see
for any issues.

Thanks,
Kishanthan.



>
>
> Any help or advice highly appreciated.
>
> Thanks
> Fahad
>
>
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.