Loading ...
Sorry, an error occurred while loading the content.

a proxy code generated by stubmaker.pl doesn't work

Expand Messages
  • oteikim
    Hi all, I am making the proxy code for my own web service by using stubmaker.pl, and some function in the proxy code generates the following xml envelope[1].
    Message 1 of 1 , Oct 20, 2005
    View Source
    • 0 Attachment
      Hi all,

      I am making the proxy code for my own web service
      by using stubmaker.pl, and some function in the proxy
      code generates the following xml envelope[1].

      However, this xml envelope doesn't work and
      the web service server returns "org.xml.sax.SAXException:
      No deserializer defined for array type
      {http://www.w3.org/1999/XMLSchema}string".

      What's wrong? What should I do to resolve this problem?

      I copied and pasted all of the error message in the
      bottom of this mail[2].

      -----------------------------
      [1] My proxy code generates this xml envelope.

      <?xml version="1.0" encoding="UTF-8"?>
      <SOAP-ENV:Envelope
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <SOAP-ENV:Body>
      <namesp1:entryMediumMenu
      xmlns:namesp1="http://vws.vl.digitalforest.co.jp">
      <repId xsi:type="xsd:string">2</repId>
      <repKey xsi:type="xsd:string">9a08e74b275264c370247345177a4058</repKey>
      <records xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
      <item xsi:type="xsd:string">1 test_account_perl0 09 media11
      </item>
      </records>
      </namesp1:entryMediumMenu>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>

      -------------------------------------------------------
      [2] The error message is this.

      <?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>
      <soapenv:Fault>
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>org.xml.sax.SAXException: No deserializer defined for
      array type {http://www.w3.org/1999/XMLSchema}string</faultstring>
      <detail/>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>


      Thanks in advance,
    Your message has been successfully submitted and would be delivered to recipients shortly.