Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > null object returnd to .net client while calling axis web service

Reply
Thread Tools

null object returnd to .net client while calling axis web service

 
 
John Smith
Guest
Posts: n/a
 
      04-14-2006

I'm expiriencing the same problem as someone posted one year ago:

http://groups.google.com/group/micro...80c84619bf4244

Unfortunatelly, there wasn't an answer posted, too. I've searched the web,
but couldn't find even one similar topic to this one.


 
Reply With Quote
 
 
 
 
Rémy
Guest
Posts: n/a
 
      04-14-2006

"John Smith" <> a écrit dans le message de news:
I8I%f.1755$...
>
> I'm expiriencing the same problem as someone posted one year ago:
>
> http://groups.google.com/group/micro...80c84619bf4244
>
> Unfortunatelly, there wasn't an answer posted, too. I've searched the web,
> but couldn't find even one similar topic to this one.
>
>


I had a similar problem not so long ago.

The .Net generated code was not able to deserialize the response because the
namespace was absent or not equal to the namespace declared in the WSDL.

I sometimes had a null document and sometimes an exception "invalid XML"
depending how the .Net code was generated from WSDL.

Hope this help.

Rémy


 
Reply With Quote
 
 
 
 
RYoung
Guest
Posts: n/a
 
      11-12-2006
Try to verify the namespace of the payload being returned from the service
is the same as the namespace in the client proxy. I had similiar issues
before and it was mismatched namespaces.

For example, when testing the web service, the response message had a
namespace http://tempuriA.org but on the client side, the class generated
for the WSDL was http://tempuriB.org . It was an error on my part and not
with the toolset.

Ron

"littletom" <> wrote in message
news:...
>
> Hi John,
>
> Have you got it resolved? I am also getting the same problem.
>
> Thanks
> Tom
>
>
>
> --
> littletom
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>



 
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
How to fetch the class object returnd from C# dll to VC++???? jklioe C++ 0 10-31-2006 06:32 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Calling a Web Service using Axis, from within an Axis Web Service running under Tomcat hocho888 Java 1 04-29-2005 08:26 PM
null object returnd to .net client while calling axis web service chandra kantha via .NET 247 ASP .Net Web Services 0 03-29-2005 02:32 PM
.net recieving null object while accessing axis message style web service chandra kantha via .NET 247 ASP .Net Web Services 0 03-29-2005 06:55 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57