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 3 2001 3:59AM messages near this date
Re: [soapbuilders] pocketSOAP -> .NET array problems | Re: [soapbuilders] Re: pocketSOAP -> .NET array problems
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.CreateUnknownTypeExcep
tion(XmlQualifiedName
>  type)
>     at
>  System.Xml.Serialization.XmlSerializationReader.GetPrimitiveType
(XmlQualifiedName
>  typeName)
>     at System.Xml.Serialization.XmlSerializationReader.ReadArray()
>     at
> 
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement
(String
>  name, String ns, Object& fixupReference)
>     at
> 
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
> 
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
> 
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,
Int32
>  iWRType)
Thread:
Simon Fell
Fredrik Lundh

Simon Fell
Tony Hong


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