473,473 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

soap proxy container

chr
Hi,

I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the returned xml that there are entries in the containers the proxy-classes say it is empty.

Has anybody an idea why this is so an how to solve this problem

-- the returned xml-data looks like this

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelop
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:ns1="urn:SoapSvr"><SOAP-ENV:Body id="_0"><ListClass xmlns="urn:SoapSvr"><Cont>10</Cont><Cont>20</Cont></ListClass></SOAP-ENV:Body></SOAP-ENV:Envelope
-- The wsdl-file looks like this

<?xml version="1.0" encoding="UTF-8"?><definitions name="SoapSvr
targetNamespace="urn:SoapSvr
xmlns:tns="urn:SoapSvr
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:ns1="urn:SoapSvr
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/
xmlns="http://schemas.xmlsoap.org/wsdl/"><types><schema targetNamespace="urn:SoapSvr
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:ns1="urn:SoapSvr
xmlns="http://www.w3.org/2001/XMLSchema
elementFormDefault="unqualified
attributeFormDefault="unqualified"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ListClass"><sequence><element name="Cont" type="xsd:int" minOccurs="1" maxOccurs="unbounded"/></sequence></complexType><element name="GetList"><complexType><sequence></sequence></complexType></element><element name="ListClass"><complexType><sequence><element name="Cont" type="xsd:int" minOccurs="1" maxOccurs="unbounded"/></sequence></complexType></element></schema></types><message name="GetListRequest"><part name="body" element="ns1:GetList"/></message><message name="ListClass"><part name="body" element="ns1:ListClass"/></message><portType name="SoapSvrPortType"><operation name="GetList"><documentation>Service definition of function ns1__GetList</documentation><input message="tns:GetListRequest"/><output message="tns:ListClass"/></operation></portType><binding name="SoapSvr" type="tns:SoapSvrPortType"><SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="GetList"><SOAP:operation style="document" soapAction=""/><input><SOAP:body use="literal"/></input><output><SOAP:body use="literal"/></output></operation></binding><service name="SoapSvr"><documentation>gSOAP 2.6.0 generated service definition</documentation><port name="SoapSvr" binding="tns:SoapSvr"><SOAP:address location="http://localhost:80"/></port></service></definitions>
Nov 16 '05 #1
0 1602

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mark | last post by:
i have a very simple web servive Imports System.Web.Services <System.Web.Services.WebService(Namespace:="urn:Example1")> _ Public Class Example1 Inherits System.Web.Services.WebService
0
by: chr | last post by:
Hi, I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the...
0
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
0
by: Sham Ramakrishnan | last post by:
guys... I have a SOAP service at my clients that I have to use to call the exposed methods... well... there are supposedly 3 ways in which I can look at doing it... 1. Create a proxy for the...
4
by: Jit Prasad | last post by:
I have been consuming a IBM Websphere (Java) web service using .Net 1.0 front end writen in VB.NET. The proxy class submits a soap request and gets a soap response. When I migrated the front-end...
16
by: MR | last post by:
my soap messages to a remote site are failing. as far as i can tell the only differences between what my SOAP message looks liek and what they want are in the SOAP envelope SInce they don't have a...
1
by: A.M-SG | last post by:
Hi, Can I view/modify SOAP message at the client proxy side without using soap extensions? Thank you,
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: reco | last post by:
Hi, I am only new to development and have been given a task to convert a Perl script to a Windows Service. The issue I am facing is that the current Perl Script uses a SOAP call to an Apache Web...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.