none
WCF Generated WSDL with Jax-WS using Visual Studio 2008 SP1 RRS feed

  • Question

  • Dear All,

    I am looking for ways WCF generated WSDL to use with Jax-WS to get contract methods so far I couldn't achieve it.

    I hope some one will advise me to get it done with the working sample.

    Best regards

    PS : I saw there is tool in VS 2012 but I didn't have to use it

    Thursday, March 28, 2013 9:20 AM

All replies

  • Dear All,

    I just started to look for .Net Generated(WCF) WSDL to output Contracts using Jax-WS and Visual Studion 2008 SP1.

    So far, I could manage to find and close the case and I hope some one will advise me with correct working solution.

    Thanks and best regards

    • Merged by Mike Feng Friday, March 29, 2013 9:16 AM duplicate
    Wednesday, March 27, 2013 9:36 AM
  • Hi,

    It seems wsdl 2.0 are not supported in Jax-ws 2.0. Refer:

    http://stackoverflow.com/questions/13432306/how-to-generate-wsdl-2-0-with-jax-ws

    http://www.coderanch.com/t/471952/Web-Services/java/generate-WSDL-file-JAX-WS

    Friday, March 29, 2013 8:49 AM
  • Hi,

    Y I saw VS 2012 had tool to do that not in VS 2008 sn any idea pls?

    Best regards

    Monday, April 1, 2013 5:47 AM
  • Hi,

    Any idea pls for getting right WCF WSDL for Jax_WS then I am able to communicate WCF Web Service with Java Client.

    Best regards

    Tuesday, April 2, 2013 9:23 AM
  • Hi, suggest try consult in visual studio forum for this issue.
    Tuesday, April 2, 2013 10:09 AM
  • Hi,

    Now, I am facing big issue using WCF generated WSDL(using Add Service Reference in New Project) to generate stubs using Jax-WS.

    Here is error message

    [ERROR] Two declarations cause a collision in the ObjectFactory class.
    line 1 of http://localhost:1234/wcfservice.svc?xsd=xsd1
    [ERROR] <Related to above error>This is the other declaration.
    line 1 of http://localhost:1234/wcfservice.svc?xsd=xsd2

    Even, I tried in VS 2012 but still the same issue. Could it be possible coz of WSDL flattening or something else?

    I hope some one will advise me to close the case since I am running out of time.

    Thanks and best regards

    Sunday, May 19, 2013 2:08 PM