473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 1599

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.