Question : C# WebService (tcp.soap) from Java

I have C# based webservice that is hosted in a NT service.  Programmatic access to the web service is of the form:  soap.tcp://localhost:11141/ProcessorWebService

(The more traditional way to implement C# webservices is to put them in asp.net (.asmx) files and hosted by IIS.    Access to these services is of the form:  http://localhost/webservicetest/service.asmx.  For various reasons, I dont want to do that.)
 
I can successfully connect to my web service by from C# by:
1.      Creating a C# proxy for the webservice by running WseWsdl.exe against the URL.
2.      Make calls using the proxys.

My initial problem:  How do I connect to the service from Java?
Problems Ive encountered  
1.       How to create a proxy in Java?  
a.      I want to use wsimport against a WSDL file.  But, since I dont have a .asmx based service, I cant just call ?WSDL to get it.  
2.      Even if I create a Java proxy (which Ive done via some judicious hacking), I cant seem to successfully connect to the service, when the URL is of the form soap.tcp://localhost:11141/ProcessorWebService.  
a.      The big difference her  is using soap.tcp as the protocol, instead of HTTP.  Also note that Im going to a non traditional port.  StillI can get all of this to work from C#.

Heres an example of my trivial program:  
ProcessorWebService pws = new ProcessorWebService();
 ProcessorWebServiceSoap pwss = pws.getProcessorWebServiceSoap();        ((javax.xml.ws.BindingProvider)pwss).getRequestContext().    
put(javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "soap.tcp://localhost:11141/ProcessorWebService");

 String resultFromHelloWorld = pwss.helloWorld();

It fails on the call to pwss.helloWord(); with the following:
"Unsupported endpoint address: soap.tcp://localhost:11141/ProcessorWebService"

My real questions:
Is it even possible to connect Java to a webservice hosted in a NT service?  
Does anyone have any good pointers, or examples.  (Ive searched around a lot, but Im a novice at Java, so easily could have missed something.)

Answer : C# WebService (tcp.soap) from Java

At least thbe second solution relied on getting WSDL from an ASMX page (which is not my approach I inherited).  
I think the fundamental problem is that I can't figure out how to get WSDL from webservice hosted in a generic NT service.  I can use WseWsdl.exe  to get the C# proxy directly (with no intermediate WSDL).

What I really need is some way to get java proxy (or intermediate WSDL, from which I can generate the java proxy).

Bottom line--I need to move on.  I've gone to the following cumbersome approach.
1.  Java will call a C# based console app.
2.  The C# based console app will call the WebService hosted inside an NT service.
Random Solutions  
 
programming4us programming4us