- This topic has 3 replies, 2 voices, and was last updated 16 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
afconsultMemberhi,
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
Riyad KallaMemberStephen,
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.
afconsultMemberhi,
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
Riyad KallaMemberStephen,
I just have the main Support page here: http://xfire.codehaus.org/Support -
AuthorPosts