|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
[Issue 749] New - .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
Issue #|749 Summary|.Net WCF service on WsHttpBinding with Message Securit |y and Mtom throws exception Component|wsit Version|current Platform|All OS/Version|All URL| Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|mtom Assigned to|vivekp Reported by|pmajhwar ------- Additional comments from pmajhwar@... Tue Dec 4 06:54:46 +0000 2007 ------- Hi, I am running a WCF webService developed in .Net and using the WsHttpBinding with Message Security and messageEncoding as Mtom. It throws the exception given below. Can you help with this issue. If i change the messageEncoding to Text it work fine. Dec 4, 2007 12:17:49 PM [com.sun.xml.ws.rm.jaxws.runtime.client.RMClientTube] processRequest SEVERE: WSRM2006: Unexpected Exception in RMClientPipe.process. java.lang.NoClassDefFoundError: javax/xml/soap/SOAPFault at javax.xml.ws.soap.SOAPFaultException.<init> (SOAPFaultException.java:43) at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest (WSSCPlugin.java:321) at com.sun.xml.ws.security.secconv.WSSCPlugin.process (WSSCPlugin.java:198) at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.startSecureConversation (SecurityClientPipe.java:337) at com.sun.xml.ws.rm.jaxws.runtime.client.RMClientTube.initialize (RMClientTube.java:193) at com.sun.xml.ws.rm.jaxws.runtime.client.RMClientTube.processRequest (RMClientTube.java:343) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436) at com.sun.xml.ws.client.Stub.process(Stub.java:248) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke (SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke (SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) at $Proxy44.authenticateUser(Unknown Source) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Tue Dec 4 06:57:19 +0000 2007 ------- Created an attachment (id=494) AddNUmbers.rar contains .Net WCF webservice solution and has a .Net webClient too which works over https. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Tue Dec 4 07:00:03 +0000 2007 ------- Created an attachment (id=495) java client for the .net Service --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Tue Dec 4 07:01:47 +0000 2007 ------- WCF service was hosted in IIS which was SSL enabled using the dummy certificate, generated using the makecert command makecert.exe -r -pe -n "CN=EntermachineName" -b 01/01/2000 -e 01/01/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 [EntermachineName = your machine name] Exported the generated certificate from the certificate store as cert.cert and import in java keystore. Used: keytool -import -v -trustcacerts -file cert.cer -keystore keystore --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
User vivekp changed the following: What |Old value |New value ================================================================================ Assigned to|vivekp |kumarjayanti -------------------------------------------------------------------------------- ------- Additional comments from vivekp@... Tue Dec 4 18:12:52 +0000 2007 ------- Looks like a different version of SAAJ implementation is in your classpath. SEVERE: WSRM2006: Unexpected Exception in RMClientPipe.process. java.lang.NoClassDefFoundError: javax/xml/soap/SOAPFault at javax.xml.ws.soap.SOAPFaultException.<init> (SOAPFaultException.java:43) at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest (WSSCPlugin.java:321) I think there is some error condition either because of the endpoint sending back some request or due to some error in Metro SecureConversation Pipe that has to do with MTOM, but due to this NoClassDefFound error it is masked. When you change the encoding to text this error is probably not happening. So first we have to get past NoClassDefFoundError. The NoClassDefFound error for SOAPFault which is part of SAAJ API is weired because the SAAJ API is packaged part of webservices-api.jar. Please let us know, what version or WSIT or Metro you are using? What is the JDK version? I am assigning this bug to SAAJ to see what might be causing the NoClassDefFound error for one of the API class. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Wed Dec 5 06:56:17 +0000 2007 ------- WSIT - nighly build (December 3, 2007) JDK - 1.5 update12. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from kumarjayanti@... Thu Dec 6 06:26:31 +0000 2007 ------- If you are using NetBeans client project please attach the client project after doing a "clean". Also attach the Service WSDL. I need to see what's in your classpath. Is your clien a WebApp or is it a Standalone J2SE client. If it is a standalone J2SE client make sure that the Project Libraries just as webservices-rt.jar, webservices-api.jar and webservices-tools.jar If it has any other jars (JAXWS, SAAJ etc) in the library delete all of them and try. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Thu Dec 6 07:54:51 +0000 2007 ------- Our client is a Standalone client, we are using netbeans for development. I verified that project libraries had three jars that you mentioned webservices-rt.jar, webservices-api.jar and webservices-tools.jar and two more jars which are webservices-extra-api.jar webservices-extra.jar. and these(JAXWS, SAAJ etc) were not present. I also verified that classpath had these five jars only. I removed these two aslo and tried but still getting the same error --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from kumarjayanti@... Thu Dec 6 08:03:02 +0000 2007 ------- Please attach client project and service WSDL as i will first need to reproduce the problem at my end before i can do anything. The stack-trace that you pasted is that complete (is that all you see or there is more ?). --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from kumarjayanti@... Thu Dec 6 08:03:19 +0000 2007 ------- Please attach client project and service WSDL as i will first need to reproduce the problem at my end before i can do anything. The stack-trace that you pasted is that complete (is that all you see or there is more ?). --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Thu Dec 6 15:05:18 +0000 2007 ------- Created an attachment (id=503) This rar file contains .Net webservice and Netbeans project. I have removed the wsit jar libs. I hope you will be able to configure the webservice. Please let me know otherwise. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Thu Dec 6 15:18:01 +0000 2007 ------- Explanation how to configure your machine. Hope this helps. Generate a certificate using the following command. CN=machineName "C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\makecert.exe" -r -pe - n "CN=prodsk0408" -b 01/01/2000 -e 01/01/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" - sy 12 Change the Webservice web.config findvalue as per your machine. <serviceCertificate findValue="CN=prodsk0408" storeLocation="LocalMachine" /> also change the service endpoint to <endpoint address="http://prodsk0408/AddNumbers/service.svc" to point it to your machine Now we are going to export the certificate from the Local computer's personal store and import to trusted store also import to the current user's personal and trusted run mmc using the command prompt - Select File ->add/remove Snap-in -> select add -> select certificates from the list -> select computeraccount -> finish - again Select File ->add/remove Snap-in -> select add -> select certificates fromthe list -> select my user -> finish Now from the Local Computer's personal certificate choose the certificate just created and export. make sure while exporting the private key is also exported as the key is used by webservice Import the certificate to local computer's trusted store and be sure that key is exportable is selected. Import to Current user's personal and trusted store. Next go to the following directory and give the C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys give everyone full permission to the keys generated on todays date. host you webservice and restart you iis. see if this link is working http://localhost/AddNumbers/service.svc Export the certificate from current users personal Store to cert.crt file. Note this export is without the private key. open command prompt and change to dir where the certificate was exported Use keytool to import into your keystore. (storepass, alias, keystore is hardcoded in the code for now.) keytool -import -alias prodsk408 -storetype jks -keystore wsftp.ks -storepass abcd1234 -trustcacerts -file cert.crt --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
User kumarjayanti changed the following: What |Old value |New value ================================================================================ Target milestone|not determined |1.2 -------------------------------------------------------------------------------- ------- Additional comments from kumarjayanti@... Thu Dec 6 17:09:46 +0000 2007 ------- setting milestone to 1.2 --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Fri Dec 7 06:22:12 +0000 2007 ------- Hi kumarjayanti, Were you able to reprduce this issue at your end using the Netbeans Project that has been attached? Please let us know details. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from kumarjayanti@... Fri Dec 7 07:46:23 +0000 2007 ------- I will try to reproduce today and get back. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from pmajhwar@... Wed Dec 12 11:52:04 +0000 2007 ------- Do you by anychance have updates for us? The fix on this issue is little critical for our Application. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
------- Additional comments from kumarjayanti@... Wed Dec 12 17:22:32 +0000 2007 ------- sorry not yet started on this. Can we know more about which company/product this is being used for. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exceptionhttps://wsit.dev.java.net/issues/show_bug.cgi?id=749
User pmajhwar changed the following: What |Old value |New value ================================================================================ CC|'' |'anjain,balkrishna005,benh | |enderson' -------------------------------------------------------------------------------- ------- Additional comments from pmajhwar@... Thu Dec 13 05:03:59 +0000 2007 ------- added cc --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 749] .Net WCF service on WsHttpBinding with Message Security and Mtom throws exception |