axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Rodríguez <>
Subject headers and namespace prefix web service response
Date Tue, 13 Jan 2004 12:08:52 GMT
I have to deploy a web service for that have to work with a created  web
service client.


This web service have to read information from soap-header, ando f
course from soap-body, and both have all the tags namespace prefixed.


Read the client callo n the server wan not dificult using
javax.xml.mesagging MessageContext, SOAPEnvelope, etc.



My question is how can i response to create a response to the client
that have soap-header, and use namespace prefix for all the elements.


Is message style my option???


This is an example of my response:


<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

    - <soapenv:Envelope
xmlns:soapenv="" xmlns:xsd=""

      - <soapenv:Header>

        - <myheader:MyHeader xmlns:myheader ="">













Enrique Rodriguez Lasterra


Tel: +34 902 22 88 77


Este mensaje va dirigido sólo al destinatario del mismo y puede contener
información privilegiada, de propiedad intelectual o cualquier otro tipo
de datos de carácter privado. Si lo ha recibido por error, notifíqueselo
inmediatamente al emisario y borre el original. Está prohibido cualquier
otro empleo de este e-mail por su parte.

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.


View raw message