Please start shooting your questions and we are ready.
Technorati: wsittangowebservices glassfish
Hi,I have 2 WCF services. let us call them Service1 and Service2. In each service there is the Same data contract (DataContract1).
now in service1 there is an operation contractMyOperation(DataContract1 data).
then I get the proxy classes in netbeans5.5.1 for both services, I need the returned datacontract1 from service2 to be passes to MyOperation. but it gives me incompatable types. how can I resolve this problem. is there any way to share these data between the 2 services. in other words is there any way to generay 1 datacontract for both service when we generate the proxy classes.
any one can help please?
Khalid, If you can share your exact WCF code then I'll work on a solution for you.
can I send you the whole java project.if yes I will send it via email ok?
I can create the Java client, I need to know the WCF code.
you can find the code herehttp://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2010823&SiteID=1
Just curious, why do you duplicate the DataContract in both the services ? Can you not create a separate class for DataContract and then use it in both the ServiceContracts ?
Hello Arun. the problem is that each servicewill work seperatly. but the two services can work together. in other world, if you add one service it will work fine alone. and if you add the other service it will work fine two.
these service i will redistrubute it. and my customers will consume these two services.thats why I cant create separate class. because the customer will be responsible to generate theses classes not me, nad i need to solve this issue for them.
My java client was working well with .Net WCF Services using basicHttpBinding but now when switched to wsHttpBinding it fails on the server side i get the following exception :Exception Type: System.ServiceModel.ActionMismatchAddressingException, System.ServiceModel, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089Message: The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://tempuri.org/IFileOperation/AuthenticateUser'.
Can anyone please help?
Prashant, can you share the WSDL generated by .NET ?
I found the solution. Netbeans 6 was by default loading the jax-ws 2.1 libraries when webservice client was generated so we forced the wsit related libraries to be loaded and it worked !!
these service i will redistrubute it. and my customers will consume these two services.
Prashant, we are facing the same issue, can provide more details on "forced the wsit related libraries to be loaded and it worked !!"
... and thanks for all the fish!
This Friday (October 18, 2013) is my last day at Oracle.
AfterPublishing almost 1400 blog entries with...
18th JavaOne concluded a few days ago!
Started with a wet and cold #GeekBikeRide ...