Re: SOAP Webservice C# / Axis2
- From: "John Saunders" <john.saunders at trizetto.com>
- Date: Wed, 6 Dec 2006 07:26:03 -0500
"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
.
- Prev by Date: Re: Web services accessibility
- Next by Date: Re: Ticket persistence
- Previous by thread: Ticket persistence
- Next by thread: Re: Accessing web service -- passing parameters..
- Index(es):
Relevant Pages
|