axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soyer, Muhammed A." <MSo...@MICROS.COM>
Subject How to add ws-addressing and ws-security headers to call a .Net Service
Date Wed, 10 Sep 2008 10:54:58 GMT
Hi I am new to axis and I am a little lost ...
I want to add ws-addressing and ws-security headers to my soap calls in able to conform to
my service requirements.
I tried a lot of things and I couldn't progress much.
I need to build a soap request as below.


<soap:Envelope xmlns:soap="" xmlns:xsi=""
xmlns:xsd="" xmlns:wsa=""
      <wsu:Timestamp wsu:Id="Timestamp-3ac1dee5-fd8b-4f98-97ec-92374a714cd2">
    <AuthenticateUserRequest xmlns="">
      <password type="PasswordText">ABCD</password>

But the message that I can create is as below
<?xml version = '1.0' encoding = 'UTF-8'?>
<soapenv:Envelope xmlns:soapenv="">
   <soapenv:Header xmlns:wsa="">
      <ns1:AuthenticateUserRequest xmlns:ns1="">
         <ns1:password type="PasswordText">secret</ns1:password>

I realized that the wsa namespace declarations are different. How can I make them same ? And
I couldn't set the WSA:TO element correctly either. It is always taking my endpoint address
which is not the case with the .Net client.

Any help would be great...


View raw message