You used r = c.invoke ( new URL( "localhost/soap/servlet/rpcrouter"), ""
because "localhost/soap/servlet/rpcrouter" was the URL for your Apache SOAP service. The URL is simply the service endpoint; it can be any URL. To call a .NET service, you might have r = c.invoke ( new URL(http://localhost/services/MyService.asmx), "" ) Overall, the interop story is that it is *simple* to work with .NET when the services are rpc/encoded. The default with .NET services, however, is to use document/literal. There are some hacks and workarounds in Apache SOAP (some only in the nightly builds), but interop there is still less than ideal. For the best interop with .NET, you should use Apache Axis. It supports more specs, notably WSDL 1.1. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Jonathan Roberts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 13, 2004 10:08 AM Subject: calling dot net web services from java soap > Hi guys > > Has any one found a simple easy way to do this. > > java soap calls : > > > r = c.invoke ( new URL( "localhost/soap/servlet/rpcrouter"), "" > > where as > > dot net seems to be associated with : main.asmx > > Any interesting work arounds or is this a whole side area of interopability:? > > > > Jonathan > > > > --------------------------------- > Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download > Messenger Now