users@jax-ws.java.net

Re: [Fwd: How to add elementFormDefault to a WebService]

From: Edson Carlos Ericksson Richter <edson.richter_at_mgrinformatica.com.br>
Date: Fri, 11 Aug 2006 01:10:22 -0300

Well, some advance, finally.
Using "Web Services Monitor" on Glassfish Administration WebUI I was
able to capture requests/responses.

The request from "Test web service" is:

<?xml version="1.0" ?>
  <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns1="http://jaxws.webservices.everest.info/">
    <soapenv:Body>
      <ns1:usuarioValido>
        <username>admin</username>
        <password>123</password>
      </ns1:usuarioValido>
    </soapenv:Body>
  </soapenv:Envelope>

The request from .Net CF Device (Intermec CN2) built on .Net Visual
Studio 2003, C# is:

  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
      <usuarioValido xmlns="http://jaxws.webservices.everest.info/">
        <username>textBox1</username>
        <password>textBox2</password>
      </usuarioValido>
    </soap:Body>
  </soap:Envelope>

Requests appear be the same (except by "soap" and "soapenv" and the
"ns1" - but it appear be syntactically correct). Any advice?


TIA,

Richter