remoting problem

  • Thread starter Thread starter 2G
  • Start date Start date
2

2G

Hi,

It seems I can't get remoting to work when my mbrobject is in a larger
namespace.
I doing ingo's book and when I do the example like it says in the book, all
works fine

<configuration>

<system.runtime.remoting>

<application>

<channels>

<channel ref="http" port="4444" />

</channels>

<service>

<wellknown mode="Singleton"

type="Server.CustomerManager, Server"

objectUri="CustomerManager.soap" />

</service>

</application>

</system.runtime.remoting>

</configuration>

http:localhost:4444/CustomerManager.soap?wsdl works but when I change the
namespace of the classes , it doesn't work any more

<wellknown mode="Singleton"

type="ERHARD.secure.Remoting.CustomerManager, ERHARD.secure.Remoting"

objectUri="CustomerManager.soap" />

is this normal ?



thanks
 
2G,

The reason it doesn't work is that the remoting infrastructure can not
find the ERHARD.secure.Remoting.CustomerManager class in the
ERHARD.secure.Remoting assembly. Are you sure that you have the names
correct? The size of the namespace doesn't affect how the remoted types are
loaded/declared in the configuration file.
 

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

Back
Top