ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> soapbuilders
soapbuilders
Re: pocketSOAP -> .NET array problems
by other posts by this author
Apr 4 2001 12:39AM messages near this date
RE: [soapbuilders] Re: pocketSOAP -> .NET array problems | validator script is brokern (validator.soapware.org)
This was a problem. But we should be able to handle this with the
update I made to the machine today.

Simon, et al: could you retry your array tests with .NET Beta 2?

Thanks!
Keith

--- In soapbuilders@[...]., "Tony Hong" <thong@x>  wrote:
>  Keith
> 
>  can the .NET server handle the deserialization of
> 
>  <inputFloatArray xsi:type='SOAP-ENC:Array'
>  SOAP-ENC:arrayType='xsd:float[3]'>
> 
>  if xsd is 1999, instead of 2001?
> 
>  Cheers, Tony
> 
>  > -----Original Message-----
>  > From: Simon Fell [mailto:soap@[...]..]
>  > Sent: Monday, April 02, 2001 9:13 PM
>  > To: soapbuilders@[...]..
>  > Subject: 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=UTF-8
>  > User-Agent: pocketSOAP 0.9.2
>  > Host: mSSOAPTestSite:80
>  > Content-Length: 609
>  > SOAPAction: "http://soapinterop.org/echoFloatArray"
>  >
>  > <S:Envelope xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'
>  > xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
>  > S:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
>  > xmlns:xsd='http://www.w3.org/1999/XMLSchema'
>  > xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'>
>  > <S:Body>
>  > <m:echoFloatArray
xmlns:m='http://soapinterop.org/'> <inputFloatArray
>  > xsi:type='SOAP-ENC:Array' SOAP-ENC:arrayType='xsd:float[3]'><Item
>  > xsi:type='xsd:float'>-12345.5</Item><Item
>  > xsi:type='xsd:float'>42.2424</Item><Item
>  > xsi:type='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.
>  > >>
>  > >> Cheers
>  > >> Simon
>  > >>
>  > >> Here's the request
>  > >> POST http://mSSOAPTestSite/stk/InteropTypedService.asp HTTP/1.0
>  > >> Content-Type: text/xml; charset=UTF-8
>  > >> User-Agent: pocketSOAP 0.9.2
>  > >> Host: mSSOAPTestSite:80
>  > >> Content-Length: 609
>  > >> SOAPAction: "urn:soapinterop"
>  > >>
>  > >> <S:Envelope xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'
>  > >> xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
>  > >> S:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
>  > >> xmlns:xsd='http://www.w3.org/1999/XMLSchema'
>  > >> xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'>
>  > >> <S:Body>
>  > >> <m:echoFloatArray
xmlns:m='http://soapinterop.org/'> <inputFloatArray
>  > >> xsi:type='SOAP-ENC:Array' SOAP-ENC:arrayType='xsd:float
[3]'> <Item
>  > >> xsi:type='xsd:float'>-12345.5</Item><Item
>  > >> xsi:type='xsd:float'>42.2424</Item><Item
>  > >> xsi:type='xsd:float'>-
>  > >0.01</Item></inputFloatArray></m:echoFloatArray>
>  > >> </S:Body></S:Envelope>
>  > >>
>  > >>
>  > >> And this is the SOAP Fault i get back
>  > >>
>  > >> EchoFloatArray failed soap:Client : Server was unable to read
>  > >request.
>  > >> --> Error in XML document (6,54). --> The specified type was
not
>  > >> recognized: name='float',
>  > >> namespace='http://www.w3.org/1999/XMLSchema', at
<inputFloatArray
>  > >> xmlns=''>
>  > >>    at System.Environment.GetStackTrace(Exception e)
>  > >>    at System.Environment.GetStackTrace(Exception e)
>  > >>    at System.Environment.get_StackTrace()
>  > >>    at
>  > >>
>  >
> System.Xml.Serialization.XmlSerializationReader.CreateUnknownTypeExce
p
>  > >tion(XmlQualifiedName
>  > >> type)
>  > >>    at
>  > >>
System.Xml.Serialization.XmlSerializationReader.GetPrimitiveType
>  > >(XmlQualifiedName
>  > >> typeName)
>  > >>    at System.Xml.Serialization.XmlSerializationReader.ReadArray
()
>  > >>    at
>  > >>
>  >
> System.Xml.Serialization.XmlSerializationReader.ReadReferencingElemen
t
>  > >(String
>  > >> name, String ns, Object& fixupReference)
>  > >>    at
>  > >>
>  >
> System.Xml.Serialization.XmlSerializationReader.ReadReferencingElemen
t
>  > >(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
>  > >>
>  >
> System.Web.System.Web.HttpApplication+CallHandlerExecutionStep.Execut
e
>  > >()
>  > >>    at
>  > >> System.Web.HttpApplication.ExecuteStep
>  > >(System.Web.HttpApplication+IExecutionStep
>  > >> step, Boolean& completedSynchronously)
>  > >>    at System.Web.HttpApplication.ResumeSteps(Exception error)
>  > >>    at
>  > >>
>  >
> System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessR
e
>  > >quest(HttpContext
>  > >> context, AsyncCallback cb, Object extraData)
>  > >>    at System.Web.HttpRuntime.ProcessRequestInternal
>  > >(HttpWorkerRequest
>  > >> wr)
>  > >>    at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr
ecb,
>  > >Int32
>  > >> iWRType)
>  > >
>  > >
>  > >
>  > >To unsubscribe from this group, send an email to:
>  > >soapbuilders-unsubscribe@[...]..
>  > >
>  > >
>  > >
>  > >Your use of Yahoo! Groups is subject to
>  http://docs.yahoo.com/info/terms/
>  >
> 
> 
> 
>  To unsubscribe from this group, send an email to:
>  soapbuilders-unsubscribe@[...]..
> 
> 
> 
>  Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Thread:
Simon Fell
Fredrik Lundh

Simon Fell
Tony Hong


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved