Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2004

Tip: Looking for answers? Try searching our database.

Debuging Web Services Consumer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brian.mills - 08 Dec 2004 22:37 GMT
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.
Dan Rogers - 10 Dec 2004 18:00 GMT
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==
[quoted text clipped - 17 lines]
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:27097
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 20 lines]
>
>Any help would be much appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.