Ws - Change Soap Header RRS feed

  • Question

  • Hi, 
    I'm trying to consume a WS (i think in Java), through https. i have the WSDL file and a soap sample of what i must send.

    The problem is that in the soap header has tags from methods that does not exist in the wsdl, so i guess i need to change the soap header before i call the method.

          <credentials xmlns:teu-sec-crd="http://eu.site.com/security/credentials/1.0">
    This is how i need to send the sopa header.

    thanks for any help.

    Monday, August 24, 2009 10:05 AM


  • The WSDL must define the headers if it expects any client to send them. Please check the Reference.cs file under your web reference folder and search for "username".

    John Saunders
    WCF is Web Services. They are not two separate things.
    Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
    Use File->New Project to create Web Service Projects
    Thursday, August 27, 2009 3:39 AM