Spring Web Services
  1. Spring Web Services
  2. SWS-612

Custom Soap Headers do not get passed to/from ws-client

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as Designed
    • Affects Version/s: 1.5.3, 2.0 M1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Spring-ws client using AxiomSoapMessageFactory seems to drop incoming Soap Header from ASP.NET 3.5 C# Web Service running on Win 2003 R2 Server.

      Description

      .Net clients work fine without any extra coding and Java NetBeans clients using JAX-WS 2.0 work fine if you issue a SetOutboundHeaders() call on the WSBindingProvider interface ...very simple.

      Spring-Ws seems to have an enormous amount of capabilities but I can't get this simple task completed.

      Is there a way to inspect the raw result from a call which is supposed to return a custom header so I can inject to other functions which require InBound headers ? Or some similar call like Jax-WS has.

      I've tried 1.5.3 and latest 2.0 Spring-Ws version.

      The ASP.NET C# Web Server is using this pattern :
      http://books.google.com/books?id=-K8SBW_WRpUC&pg=PA1191&lpg=PA1191&dq=asp.net++SoapHeader+ticket&source=bl&ots=htjbda9Ubi&sig=rtcH99zIokrTgQQ6HQjpH3yaFhY&hl=en&ei=QRqpS67ABoeXtgeXysC6AQ&sa=X&oi=book_result&ct=result&resnum=4&ved=0CBIQ6AEwAw#v=onepage&q=asp.net%20%20SoapHeader%20ticket&f=false

      From client you issue a Login() call, get back Ticket Header then automatically pass to other functions while port is still open.
      Thanks very much for any help you can provide !

        Activity

        Rich Staubitz created issue -
        Arjen Poutsma made changes -
        Field Original Value New Value
        Resolution Works as Designed [ 9 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Arjen Poutsma
            Reporter:
            Rich Staubitz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: