2 Replies Latest reply on Feb 19, 2007 12:23 PM by Juergen Zimmermann

    1.2.0CR3 returns

    Juergen Zimmermann Master

      I tested the new JBossWS 1.2.0CR3 with
      a) Eclipse/WTP and the generic "Web Services Explorer"
      b) The reference implementation for JAX-WS on the client side.

      There is no problem if the web service doesn't need any input parameter and just returns a result, e.g. a string.

      However, if the web service's operation needs an input parameter (e.g. a long value) then I get this error message: "Cannot find child element: arg0".

      Eclipse's Web Services Explorer shows the following as the submitted SOAP message:

      <?xml version="1.0" encoding="UTF-8" ?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
       <ns0:findNachname xmlns:ns0="http://ws.hska.de">
       <long_1>1</long_1>
       </ns0:findNachname>
       </soapenv:Body>
      </soapenv:Envelope>


      And the following code as the returned SOAP message:
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header />
       <env:Body>
       <env:Fault>
       <faultcode>env:Server</faultcode>
       <faultstring>Cannot find child element: arg0</faultstring>
       </env:Fault>
       </env:Body>
      </env:Envelope>