axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From babraa <>
Subject Qname prefixs
Date Tue, 23 May 2006 11:59:21 GMT


My first post as a newbie. I have searched the forums and was suprised I
couldn't find an answer. Makes me think I am doing something dim.

I am trying to a add a header to a soap call using

the following

    QName qNameHeader = new QName ("",
"BasicAuth", "auth"); //uri,local part, prefix
     SOAPHeaderElement header = new SOAPHeaderElement(qNameHeader);

however when I check out the msg being sent the header is as such:
<ns1:BasicAuth soapenv:actor=""

I'm not sure why the ns1 is not being substituted with a "auth".

Are there more steps involved in setting a prefix?


View this message in context:
Sent from the Axis - User forum at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message