Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Tutorial

  1. #21

    Default

    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]

  2. #22
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #23
    Join Date
    Dec 2011
    Posts
    1

    Default 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.

  4. #24
    Join Date
    Dec 2011
    Posts
    2

    Default

    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
  •