tag:blogger.com,1999:blog-3024203229497951332.post3036830419712949215..comments2024-03-28T03:40:49.244+05:30Comments on Manan Panchal: JAX-WS Webservice secured With XWS-Security (plain text password)Manan V. Panchalhttp://www.blogger.com/profile/01216810983965551768noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3024203229497951332.post-64687308513486575582010-06-28T11:25:19.539+05:302010-06-28T11:25:19.539+05:30yes, no security node will be in wsdl.yes, no security node will be in wsdl.Manan V. Panchalhttps://www.blogger.com/profile/01216810983965551768noreply@blogger.comtag:blogger.com,1999:blog-3024203229497951332.post-53127439770225707392010-06-28T00:59:34.204+05:302010-06-28T00:59:34.204+05:30but i have one trouble.
is normal not appear into ...but i have one trouble.<br />is normal not appear into the wdl any security node?<br />if i make my ws using this manual doesm't appears security nodes<br />thankskoxkorritahttps://www.blogger.com/profile/14221118012261109898noreply@blogger.comtag:blogger.com,1999:blog-3024203229497951332.post-84187508668200237962010-06-23T13:38:38.624+05:302010-06-23T13:38:38.624+05:30Hello MIREN,
I am creating a post about jaxws clie...Hello MIREN,<br />I am creating a post about jaxws client, you will see it soon.<br />ThanksManan V. Panchalhttps://www.blogger.com/profile/01216810983965551768noreply@blogger.comtag:blogger.com,1999:blog-3024203229497951332.post-7481056262971907732010-06-21T22:21:29.495+05:302010-06-21T22:21:29.495+05:30hello
into my client i have put this.
Binding...hello<br />into my client i have put this.<br /><br /><br /> BindingProvider bp = (BindingProvider)port;<br /> Map map = bp.getRequestContext();<br /> map.put(BindingProvider.USERNAME_PROPERTY, "manan");<br /> map.put(BindingProvider.PASSWORD_PROPERTY,"panchal");<br /> <br /> ((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "manan");<br /> ((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "panchal");<br /><br /><br />but always appears the same error.<br /><br /><br />com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized<br /> at com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:212)<br /> at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:149)<br /> at com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:118)<br /> at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)<br /> at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)<br /> at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)<br /> at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)<br /> at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)<br /> at com.sun.xml.ws.client.Stub.process(Stub.java:248)<br /> at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)<br /> at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)<br /> at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)<br /> at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)<br /><br /><br />can you help me?<br />thankskoxkorritahttps://www.blogger.com/profile/14221118012261109898noreply@blogger.comtag:blogger.com,1999:blog-3024203229497951332.post-4881694641048384472010-06-21T21:06:50.271+05:302010-06-21T21:06:50.271+05:30Hello
very good.
1.- If i make this into the wsdl ...Hello<br />very good.<br />1.- If i make this into the wsdl do not appears the security configuration. Is normal?<br /><br />2.- into th eclient how must i to put the suername and passwd whithout use files? (FetchRequest.xml)<br />How can i from one variables to set to the soap message the passwd and username?<br /><br />thankskoxkorritahttps://www.blogger.com/profile/14221118012261109898noreply@blogger.com