Re: org.xml.sax.SAXException error when calling a java webservice
From: Dino Chiesa [Microsoft] (dinoch_at_online.microsoft.com)
Date: 04/06/04
- Next message: Dino Chiesa [Microsoft]: "Re: to access this .net WebService using a Apache Axix.Java Client"
- Previous message: Dino Chiesa [Microsoft]: "Re: Calling a webservice asynchronously"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Dino Chiesa [Microsoft]: "Re: to access this .net WebService using a Apache Axix.Java Client"
- Previous message: Dino Chiesa [Microsoft]: "Re: Calling a webservice asynchronously"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|