Re: [soapbuilders] Re: pocketSOAP -> .NET array problems
by Simon Fell other posts by this author
Apr 3 2001 4:13AM messages near this date
Re: pocketSOAP -> .NET array problems
|
RE: [soapbuilders] Re: pocketSOAP -> .NET array problems
Doh !, right failure, wrong request dump
http://131.107.72.13/test/typed.asmx
POST http://mSSOAPTestSite/test/typed.asmx HTTP/1.0
Content-Type: text/xml; charset=3DUTF-8
User-Agent: pocketSOAP 0.9.2
Host: mSSOAPTestSite:80
Content-Length: 609
SOAPAction: "http://soapinterop.org/echoFloatArray"
<S:Envelope xmlns:S=3D'http://schemas.xmlsoap.org/soap/envelope/'
xmlns:SOAP-ENC=3D'http://schemas.xmlsoap.org/soap/encoding/'
S:encodingStyle=3D'http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd=3D'http://www.w3.org/1999/XMLSchema'
xmlns:xsi=3D'http://www.w3.org/1999/XMLSchema-instance'>
<S:Body>
<m:echoFloatArray xmlns:m=3D'http://soapinterop.org/'> <inputFloatArray
xsi:type=3D'SOAP-ENC:Array' SOAP-ENC:arrayType=3D'xsd:float[3]'> <Item
xsi:type=3D'xsd:float'> -12345.5</Item><Item
xsi:type=3D'xsd:float'> 42.2424</Item><Item
xsi:type=3D'xsd:float'> -0.01</Item></inputFloatArray></m:echoFloatArray>
</S:Body> </S:Envelope>
On Tue, 03 Apr 2001 03:59:15 -0000, in soap you wrote:
> What's the URL you posted this one to?
>
> --- In soapbuilders@[...]., Simon Fell <soap@[...]..> wrote:
> > I get the worlds longest exception !, calling the echo*array
> > functions.
> >=20
> > Cheers
> > Simon
> >=20
> > Here's the request
> > POST http://mSSOAPTestSite/stk/InteropTypedService.asp HTTP/1.0
> > Content-Type: text/xml; charset=3DUTF-8
> > User-Agent: pocketSOAP 0.9.2
> > Host: mSSOAPTestSite:80
> > Content-Length: 609
> > SOAPAction: "urn:soapinterop"
> >=20
> > <S:Envelope xmlns:S=3D'http://schemas.xmlsoap.org/soap/envelope/'
> > xmlns:SOAP-ENC=3D'http://schemas.xmlsoap.org/soap/encoding/'
> > S:encodingStyle=3D'http://schemas.xmlsoap.org/soap/encoding/'
> > xmlns:xsd=3D'http://www.w3.org/1999/XMLSchema'
> > xmlns:xsi=3D'http://www.w3.org/1999/XMLSchema-instance'>
> > <S:Body>
> > <m:echoFloatArray xmlns:m=3D'http://soapinterop.org/'><inputFloatArray
> > xsi:type=3D'SOAP-ENC:Array' SOAP-ENC:arrayType=3D'xsd:float[3]'><Item
> > xsi:type=3D'xsd:float'>-12345.5</Item><Item
> > xsi:type=3D'xsd:float'>42.2424</Item><Item
> > xsi:type=3D'xsd:float'>-
> 0.01</Item></inputFloatArray></m:echoFloatArray>
> > </S:Body></S:Envelope>
> >=20
> >=20
> > And this is the SOAP Fault i get back
> >=20
> > EchoFloatArray failed soap:Client : Server was unable to read=20
> request.
> > --> Error in XML document (6,54). --> The specified type was not
> > recognized: name=3D'float',
> > namespace=3D'http://www.w3.org/1999/XMLSchema', at <inputFloatArray
> > xmlns=3D''>
> > at System.Environment.GetStackTrace(Exception e)
> > at System.Environment.GetStackTrace(Exception e)
> > at System.Environment.get_StackTrace()
> > at
> >=20
> System.Xml.Serialization.XmlSerializationReader.CreateUnknownTypeExcep
> tion(XmlQualifiedName
> > type)
> > at
> > System.Xml.Serialization.XmlSerializationReader.GetPrimitiveType
> (XmlQualifiedName
> > typeName)
> > at System.Xml.Serialization.XmlSerializationReader.ReadArray()
> > at
> >=20
> System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement
> (String
> > name, String ns, Object& fixupReference)
> > at
> >=20
> System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement
> (Object&
> > fixupReference)
> > at Temp.XmlSerializationReader1.Read15_echoFloatArray()
> > at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj,
> > BindingFlags invokeAttr, Binder binder, Object[] parameters,
> > CultureInfo culture, Boolean isBinderDefault)
> > at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> > BindingFlags invokeAttr, Binder binder, Object[] parameters,
> > CultureInfo culture)
> > at System.Xml.Serialization.TempAssembly.InvokeReader(Int32
> > methodIndex, XmlReader xmlReader, XmlDeserializationEvents events)
> > at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
> > xmlReader)
> > at
> > System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()
> > at System.Web.Services.Protocols.WebServiceHandler.Invoke()
> > at
> > System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
> > at
> > System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest
> (HttpContext
> > context)
> > at
> >=20
> System.Web.System.Web.HttpApplication+CallHandlerExecutionStep.Execute
> ()
> > at
> > System.Web.HttpApplication.ExecuteStep
> (System.Web.HttpApplication+IExecutionStep
> > step, Boolean& completedSynchronously)
> > at System.Web.HttpApplication.ResumeSteps(Exception error)
> > at
> >=20
> System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRe
> quest(HttpContext
> > context, AsyncCallback cb, Object extraData)
> > at System.Web.HttpRuntime.ProcessRequestInternal
> (HttpWorkerRequest
> > wr)
> > at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb,=20
> Int32
> > iWRType)
>
>
>
> To unsubscribe from this group, send an email to:
> soapbuilders-unsubscribe@[...].com
>
> =20
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/=
=20
>
Thread:
Simon Fell
Fredrik Lundh
Simon Fell
Tony Hong
|