-
Apr 14th, 2008, 05:55 AM
#21
Arjen, what are the steps required for the client to add security please? i have configured wss4j as in the docs 7.3.3.2 am using jaxb successfully but when i try to secure the services i am getting this exception
[CODE]Exception in thread "main" org.springframework.ws.soap.client.SoapFaultClient Exception: One or more mandatory SOAP header blocks not understood
at org.springframework.ws.soap.client.core.SoapFaultM essageResolver.resolveFault(SoapFaultMessageResolv er.java:37)
at org.springframework.ws.client.core.WebServiceTempl ate.handleFault(WebServiceTemplate.java:668)
at org.springframework.ws.client.core.WebServiceTempl ate.doSendAndReceive(WebServiceTemplate.java:502)
at org.springframework.ws.client.core.WebServiceTempl ate.sendAndReceive(WebServiceTemplate.java:440)
at org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 289)
at org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 283)
at org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 275)
at Client.getPolicies(Client.java:31)
at Client.main(Client.java:22)[CODE]
-
Apr 15th, 2008, 03:28 PM
#22
Well, the client is sending a SOAP header (probably a WS-Security header) which is not understood by the server. The server sends back a SOAP Fault, which results in a SoapFaultClientException.
-
Dec 8th, 2011, 05:14 PM
#23
Need Eclipse Project Configuration
I'm a huge fan of these tutorials. I'm new to java and admittedly not familiar with how to use many of the tools like Maven. But even with my handicaps, this was the first tutorial and project that I was able to make work completely with our technolgy stack without any issues.
With that said, I need to quickly create additional web services projects based on your tutorial. I have tried creating a new project from scratch and recreating everything you have going on. I've learned a lot. But, I have yet to be able to get the Eclipse project configured properly enough to be able to successfully deploy a web service on my own. I have been able to copy your tutorial, rename a few things and deploy. Can you share the configurations, or tell me where I can find them from your tutorial?
Thanks.
-
Dec 14th, 2011, 02:30 AM
#24
excellent resource for spring-WS
I was looking for it, and the tutorial help is very nice
thanks a lot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules