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"; 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
-- 
View this message in context: 
http://www.nabble.com/SOAP-Header-Generation-tp15950734p15950734.html
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to