Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Debuging Web Services Consumer

Reply
Thread Tools

Debuging Web Services Consumer

 
 
brian.mills
Guest
Posts: n/a
 
      12-08-2004
I'm having some trouble with Web Services. I'm using Web services to talk to
a OO database, Jade. It has inbuilt its own web services framework that is
supost to conform to the standard spec. All was working fine untill I moved
to RPC encoding/encryption. Where the types are referenced via href=-"id"
id="id" attributes. This move was put upon me because I wanted to return a
more complex data type.

now my C#.Net Web form throws an exception whenever it trys to call the web
service. as below.
System.InvalidOperationException: There is an error in XML document (13, 5).
---> System.InvalidOperationException: The specified type was not recognized:
name='typesDataAttribute', namespace='', at <allDataAttributes xmlns=''>.

I'm having a lot of trouble debuging this one. Does anyone have any
sugestions how to debug this kind of situation. As far as I can tell the XML
doc produced seems to be correct coming from the service. But I'm no expert
on that.

Has anyone had similar problems when trying to transmit complex types
includeing arrays of sub objects?

Any help would be much appreciated.
 
Reply With Quote
 
 
 
 
Dan Rogers
Guest
Posts: n/a
 
      12-10-2004
Hi Brian,

I think you may need to refresh the client side proxy.

Incidentally, you can return very complex data using document literal form.
If you can model it in a class, it can be serialized in document literal.
Nested children, repeating items, no problem.

Hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: Debuging Web Services Consumer
>thread-index: AcTddm+FDfYJjL1ZQquLqK3/73pSAA==
>X-WBNR-Posting-Host: 210.50.196.100
>From: "=?Utf-8?B?YnJpYW4ubWlsbHM=?=" <(E-Mail Removed)>
>Subject: Debuging Web Services Consumer
>Date: Wed, 8 Dec 2004 14:37:02 -0800
>Lines: 22
>Message-ID: <(E-Mail Removed)>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.aspnet.webservic es:27097
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>I'm having some trouble with Web Services. I'm using Web services to talk

to
>a OO database, Jade. It has inbuilt its own web services framework that is
>supost to conform to the standard spec. All was working fine untill I

moved
>to RPC encoding/encryption. Where the types are referenced via href=-"id"
>id="id" attributes. This move was put upon me because I wanted to return a
>more complex data type.
>
>now my C#.Net Web form throws an exception whenever it trys to call the

web
>service. as below.
>System.InvalidOperationException: There is an error in XML document (13,

5).
>---> System.InvalidOperationException: The specified type was not

recognized:
>name='typesDataAttribute', namespace='', at <allDataAttributes xmlns=''>.
>
>I'm having a lot of trouble debuging this one. Does anyone have any
>sugestions how to debug this kind of situation. As far as I can tell the

XML
>doc produced seems to be correct coming from the service. But I'm no

expert
>on that.
>
>Has anyone had similar problems when trying to transmit complex types
>includeing arrays of sub objects?
>
>Any help would be much appreciated.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
#] unable to start debuging on web server .the web server could notfind the requested resource Vaibhav Joshi ASP .Net 0 08-02-2011 12:14 PM
Debuging ASP.NET Web Service with WSE 3.0 jeremy@nospamwardlawclaims.com ASP .Net Web Services 1 04-30-2006 04:55 PM
How .NET web services client handles exceptions from Java web services? John ASP .Net Web Services 4 03-31-2006 10:13 PM
Unable to start debuging on the web server FOX User Group ASP .Net 1 04-21-2004 12:43 PM
problems debuging "web parts" Manish Soni ASP .Net Web Services 0 02-19-2004 02:23 PM



Advertisments