2 Replies Latest reply on Aug 29, 2005 5:30 AM by Thomas Diesler

    Web service client error, Jboss doesn't conform WS-I

    Petr Blaha Newbie

      Hi all,
      I encountered with one issue that is related to Axis that is used in JBoss. I developed J2EE web service client and deployed to Sun App server 8.1. There the client is working without any complication. Since the client is based on JSR-109 and therefore is portable bewteen server I was trying to deploy same app to JBoss 4.0.2 FCS. I got error JAXRPCTIE01: caught exception while handling request: deserialization error: XML reader error: unexpected character content: every time.

      I sniffed SOAP messages and there are:
      1) from Sun App server:
      <?xml version="1.0" encoding="UTF-8"?>
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      2) from JBoss
      Element String_1 is missing here.

      According to WSDL file Sun's message is right:

      Web service used document/literal encoding. I don't know why JBoss used a little different message and how setup to use correct according to WS-I. Maybe, Axis that is included in JBoss doesn't conform J2EE spec?

      Thanks to all for any advice.