Re: SOAP Webservice C# / Axis2

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Florian Grousset" <florian@xxxxxxxxxxxx> wrote in message
news:el42ld$668h$1@xxxxxxxxxxxxxxxxx
Hi,

I'm trying to code a simple C# SOAP client wich query an Axis2 Java SOAP
Server.
Server side code has been generated from a WSDL file.
SOAP requests and responses must both contain a simple String array (not
very diffucult I think !).

What I've done :
1. WSDL file writing (see at the bottom of this post)
2. Generate Java server code with Axis2 tools and deploy it in tomcat
j2ee application server.
3. In visual Studio 2005, add the web ressource using the WSDL url. It
rightly build all my objects.
4. write a simple C# client to to a request/response but when I launch it
it crashes on the client side.

I've tried to use a simple query in the SOAP query (keeping the String
array in the response) and it works !

Are complex objects like String[] allowed in the requests ?

Here is the client error and my WSDL file...
Any help would be appreciated.


-------------
ERROR :
-------------
Exception:
à
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message,
WebResponse response, Stream responseStream, Boolean asyncCall)
à System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName,
Object[] parameters)
à ExaleadOEMClient_CSharp.madpc016.ExaleadService.admin(adminElement
adminElement)
dans C:\test\xxxxxx\Web References\madpc016\Reference.cs:ligne 116
à ExaleadOEMClient_CSharp.Program.exaleadAdmin() dans
C:\xxxxxx\Program.cs:ligne 51

I can't read your exception. I see the stack trace, but no
exception.Message.

John


.



Relevant Pages

  • Re: Sending compressed XML over the internet?
    ... In the client side im using mssoap.soapclient30 and on the server an IIS ... Yes compression on the soap client and web server sounds good. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Soap Server in perl
    ... responce from the server. ... Sorry Ian I donot mean to say like that but actually I am new to perl ... and Perl in which you can install SOAP::Lite then you'll have to implement the SOAP support some other way. ... Move your module unchanged to your web server and write a generic SOAP dispatcher (designated by the proxy in the client) that hands off ...
    (comp.lang.perl.misc)
  • Re: Starting with SOAP
    ... But would your part be the SOAP ... client or the SOAP server? ... I built a form for a client, ... script on another server, ...
    (comp.lang.perl.misc)
  • Re: Starting with SOAP
    ... It has been suggested that SOAP would work for this. ... update some database that the script accesses? ... or the SOAP server? ... I built a form for a client, who now wants to take that data and pass it to another server so it can be used to update a page there. ...
    (comp.lang.perl.misc)
  • Re: Non Default Constructor
    ... related to your class on the server. ... That is sent in the WSDL file to the client. ... Try passing an enum as a parameter and watch what happens, ...
    (microsoft.public.dotnet.xml)