|
Re: c# .net client and complex arrays: msg#00001windows.devel.soap.general
Pls post this question to WASP suport at systinet.com which a more appropriate alias /s Snorre Narum wrote: > > I'm developing an application where I use Wasp 4.0 c++ as a soap server. > One of my methods return > an array of an array of a complex type (the essential parts of the wsdl > is listed below). When using wasp 4.0 java as a > client this works very well, but I'm not able to get this to work using > .net and c#. All I get is an exception. > Does .net support complex arrays like this? according to the > documentation on the soap .net toolkit 2.0 > this should be supported, but I've found others having similar problems. > I'm happy for any hint or tips as > to how to solve this or make a workaround. > > <definitions name ='customerService' > targetNamespace ='http://www.ejournal.no' > xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' > xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' > xmlns:xsd='http://www.w3.org/2001/XMLSchema' > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:ej='http://www.ejournal.no' > xmlns='http://schemas.xmlsoap.org/wsdl/'> > > <types> > <schema targetNamespace='http://www.ejournal.no' > xmlns='http://www.w3.org/2001/XMLSchema'> > > <complexType name='ResultStruct'> > <sequence> > <element name='field' type='xsd:string'/> > <element name='value' type='xsd:string'/> > <!--element name='type' type='ej:FieldType'/--> > <element name='type' type='xsd:string'/> > </sequence> > </complexType> > > <complexType name='ArrayOfResultStruct'> > <complexContent> > <restriction base="SOAP-ENC:Array"> > <sequence> > <element name='item' type='ej:ResultStruct'/> > </sequence> > <attribute ref="SOAP-ENC:arrayType" > wsdl:arrayType="ej:ResultStruct[]"/> > </restriction> > </complexContent> > </complexType> > > <complexType name='ArrayOfArrayOfResultStruct'> > <complexContent> > <restriction base="SOAP-ENC:Array"> > <sequence> > <element name='atam' type='ej:ArrayOfResultStruct'/> > </sequence> > <attribute ref="SOAP-ENC:arrayType" > wsdl:arrayType="ej:ArrayOfResultStruct[]"/> > </restriction> > </complexContent> > </complexType> > > </schema> > </types> > > You can read messages from the SOAP archive, unsubscribe from SOAP, or > subscribe to other > DevelopMentor lists at http://discuss.develop.com. You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other DevelopMentor lists at http://discuss.develop.com. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ANN: SOAP 1.1 Envelope Schema Updated: 00001, Martin Gudgin |
|---|---|
| Next by Date: | SOAP::Lite standalone daemon under TCP wrapper: 00001, Masahiro Knittel |
| Previous by Thread: | ANN: SOAP 1.1 Envelope Schema Updatedi: 00001, Martin Gudgin |
| Next by Thread: | SOAP::Lite standalone daemon under TCP wrapper: 00001, Masahiro Knittel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |