facebook

Soap Header Problem

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #282676 Reply

    afconsult
    Member

    hi,

    We are having real problems with XFire and SOAP Header. We are writing a simple client and have generated code using MyEclipse. However when we try to invoke the service we have problems with the authentication information in the SOAP header which is not generated correctly.

    We receive is the following:

    
    <soap:Header>
                    <AuthenticationHeader
                            xmlns="http://www.ifint.biz/bilpartner/serwiz/">
                            <any xmlns="http://serwiz.bilpartner.ifint.biz" />
                            <authenticationId
                                    xmlns="http://serwiz.bilpartner.ifint.biz">
                                    XXXXX-XXXXXX-XXXXX-XXXX-XXX
                            </authenticationId>
                            <otherAttributes xmlns="http://serwiz.bilpartner.ifint.biz" />
                            <requestId
                                    xmlns:ns1="http://www.w3.org/2001/XMLSchema-instance" ns1:nil="true"
                                    xmlns="http://serwiz.bilpartner.ifint.biz"/>
                            <version
                                    xmlns:ns1="http://www.w3.org/2001/XMLSchema-instance" ns1:nil="true"
                                    xmlns="http://serwiz.bilpartner.ifint.biz" />
                    </AuthenticationHeader>
            </soap:Header>

    The authentication on the service fails when we try to call the service because of two issues:

    1) The name of elements are wrong. During generation the first letter of the elements has been changed to lower case. For example “authenticationId” should be “AuthenticationId”. I have looked through the generated code and can see where to change this.

    2) The “xmlns=”http://serwiz.bilpartner.ifint.biz&#8221; namespace causes problems. We need to remove this for all the elements in the header so that the xmlns attributed does not appear.

    Can anyone help!!!

    Thanks
    Stephen

    #282724 Reply

    Riyad Kalla
    Member

    Stephen,
    Did you have any luck contacting the XFire folks as well? I am thinking this is likely an XFire bug that we’d need to kick back to that team anyway at this point.

    #282749 Reply

    afconsult
    Member

    hi,

    I haven’t contacted them yet, have you got an email I can contact them on?? It definitely looks like a bug and I really need a work around as our project depends on this working.

    Thanks
    Stephen

    #282753 Reply

    Riyad Kalla
    Member

    Stephen,
    I just have the main Support page here: http://xfire.codehaus.org/Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Soap Header Problem

You must be logged in to post in the forum log in