Re: RE: Ksoap digest, Vol 1 #235 - 2 msgs
Michael Yuan <[email protected]> Wed, 4 Dec 2002 15:22:14 -0600 (CST)
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
On a second thought, maybe we should use Apache Axis's approach for "untyped" return values. It uses something like: call.setReturnType( org.apache.axis.Constants.XSD_STRING ); to set the default return type. cheers Michael On Wed, 4 Dec 2002, Michael Yuan wrote: > Yes, the previous message dump you posted omits xsi:type="xsd:string". > This is a known issue with Microsoft. You can twick your .NET server to > make it sending correct SOAP messages. (I do not know exactly how. But > search this mailing list, someone has done it before). > > Or you can wait for kSOAP v2.0. It will have a "dotNet" swtich which > allows the parser to use non-standard .NET conventions. > > cheers > Michael > > On Wed, 4 Dec 2002, Steve Daly wrote: > > > I see the lack of type information such as that I took from another service > > below. Is this a known MSSOAP issue? Is there a work-around? > > > > ENC="http://schemas.xmlsoap.org/soap/encoding/"> > > <SOAP-ENV:Body > > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > > <cc2:getSummaryResponse > > xmlns:cc2="capeconnect:AirportWeather:Station" SOAP-ENC:root="1"> > > <return xsi:type="cc1:WeatherSummary"> > > <location xsi:type="xsd:string">San > > Franc</location> > > <wind xsi:type="xsd:string">from the E (090 > > degrees) at 3 MPH (3 KT)</wind> > > <sky xsi:type="xsd:string">clear</sky> > > <temp xsi:type="xsd:string">55.9 F (13.3 > > C)</temp> > > <humidity > > xsi:type="xsd:string">77%</humidity> > > <pressure xsi:type="xsd:string">30.29 in. Hg > > (1025 hPa)</pressure> > > <visibility xsi:type="xsd:string">4 > > mile(s)</visibility> > > </return> > > </cc2:getSummaryResponse> > > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > > _______________________________________________ > > Ksoap mailing list > > [email protected] > > http://www.enhydra.org/mailman/listinfo.cgi/ksoap > > > >