Re: org.xml.sax.SAXException error when calling a java webservice

From: Dino Chiesa [Microsoft] (dinoch_at_online.microsoft.com)
Date: 04/06/04


Date: Tue, 6 Apr 2004 10:45:13 -0400

removing unrelated newsgroups...

This should work. For complex data types, you'll get good interop between
.NET 1.0 or 1.1 and AXIS v1.0 or 1.1.

It may help you to use the AXIS tcpmon tool, or simon fell's proxytrace, to
monitor the SOAP going back and forth. Compare the soap generated by the VB
client to the SOAP generated by an AXIS client (which presumably works).
Then you can adjust the xML serialization attributes on the VB data transfer
objects (mytype) to fit your needs.

Can you show us the WSDL and related XSD? Can you show us the SOAP requests
and responses, correlated to success/failure ? The "no de-serializer"
error occurs after SOAP has been transmitted, so you'll be able to see what
is gone awry.

-Dino

"Jéjé" <willgart@_A_hAotmail_A_.com> wrote in message
news:OL7C3rOEEHA.3716@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I've a program in VB.Net which used a webservices developped in Axis Java
on
> a Tomcat server.
> I receive this error when I call the web service:
> System.Web.Services.Protocols.SoapException: org.xml.sax.SAXException: No
> deserializer defined for array type {urn:mytype}
>
> But, In the pass the same webservice as works fine.
> There is only an update of the mytype type (new strings added to this
> object)
> And, after I've updated my reference in Visual Studio, my program doesn't
> works with the new version of the webservice.
>
> The function called by my program has an array of mytype as parameter.
> In another hand, on the same web service, there is another function which
> return an array of mytype, and this function works fine. So I can read
some
> values, but I can't write any value through the web service.
>
> Any idea?
>
> THanks.
> Jerome.
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.595 / Virus Database: 378 - Release Date: 2004-02-25
>
>



Relevant Pages

  • SOAP
    ... With this PDA I have to capture some signals over bluetooth. ... Then I need to send this to a server over GPRS using SOAP. ... Here I think to use a server Tomcat with Axis and a JDBC connector to ... So I have write a webservice to receive and store the data and send a ...
    (comp.lang.java.programmer)
  • Re: SOAP and servlets living together?
    ... > I'm trying to develop an application that uses SOAP and servlets. ... I was able to get Axis to work inside of a web app. ... > - add the path to my soap classes at the end of the CLASSPATH ...
    (comp.lang.java.programmer)
  • axis and soap from javascript ?
    ... I've already seen some java examples that use SOAP and AXIS to do the ... we'd like to communicate from client-side javascript instead of ... to do the SOAP and AXIS kind of communication? ...
    (microsoft.public.scripting.jscript)
  • Re: SOAP Message receiving
    ... > I am implementing a server that processes data supplied from clients ... > using SOAP and am not sure on the best way to implement the server. ... > Axis web service etc. that just sounds overkill and complicated.. ...
    (comp.lang.java.programmer)
  • axis and soap from javascript ?
    ... I've already seen some java examples that use SOAP and AXIS to do the ... we'd like to communicate from client-side javascript instead of ... to do the SOAP and AXIS kind of communication? ...
    (comp.lang.java.programmer)