Consume RPC/Encoded webservice from ASP.NET double,integers,boolean problem

P

Pokkie

After many hours of searching I cannot find the answer why I cannot
consume a webservice method from a Apache/Java RPC/Encoded webservice
from ASP.NET page. All methods with only strings are not a problem,
but methods with Boolean, double,float integers give me an
serialization error from the Apache server. Trying to change the
namespace (suggested by the exception) from
http://www.w3.org/2001/XMLSchema to
http://schemas.xmlsoap.org/soap/encoding/ was not the solution. The
proxy was generated through Visual Studio by wsdl.exe. No custom
changes where made. Any idea?

PK
 
K

Keenan Newton

I am betting the problem lies in the differences between .Net and Java.
Java supports null values for long, datetime, etc... however, .Net
does not. My guess is this is what is producing your problem,
soilution. See if you can prohibit the java web service form returning
bnulls. I beleive there is a attribute that tells whehter it is null
or not. If this is not your problem can you post the wsdl on here so
we can see it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top