none
How do you consume "net.tcp" by a java client? RRS feed

Answers

All replies

  • Hi, NetTcpBinding do not conform to any public protocol, so it is limited to communication between .Net components. Other simple http bindings conforms to the WS-I Basic Profile 1.1, so they can be used to interact with components with other languages. Not find any document as your demands.
    Monday, February 4, 2013 9:06 AM
  • Yes I knew but as I said we HAVE TO consume this existing legacy service.

    By the now, I'm trying to use "mono" to write a callable middle-ware in linux which actually is a wrapper or tranmitor of the original service!

    Monday, February 4, 2013 9:03 PM
  • Hi Yasser,

    net.tcp is specific to Microsoft .NET framework and uses .NET binary as message encoding. You could have created a custom TCP binding in WCF service to use TCP/SOAP Transport which can talk to Java over HTTP. However, I understood that you already have WCF service configured with Standard NetTcpBinding. In this case, the only option is encoding the messages to talk to TCP binary messages of WCF service.

    Please refer the below links

    http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/2dd96345-e822-4922-83f6-3a875613ee49
    http://forums.java.net/node/675289
    http://www.java.net/node/683532

    I haven't tested this option on my environment but you may go ahead and try. If you need any help towards this, please consider opening a support case with us as this is really beyond what we can do here in the forums. Visit this link to see the various support options that are available to better meet your needs: 

    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

    Thanks

    Tuesday, February 12, 2013 9:17 PM
  • Thank you very much all,

    Finally we asked that company who provides the service to also provide the service in wsHttp binding. As we technically are correct, they accepted to add the required configurations.

    Thanks again!

    Thursday, February 14, 2013 11:10 AM