You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Pathuru, Kiran" <Ki...@ect-telecoms.de> on 2004/01/27 12:53:37 UTC
using custom namespace instead of ns1
Hello everybody,
I am having a problem with using my own namespace instead of the default ns1
generated by axis in SOAP messages.
However I tried a lot without much luck and even searched the group but
unable to find any answer. I want my response to look like the following:
<gsp_ns1:methodResponse xmlns:gsp_ns1=urn:gsp>
<methodReturn xsi:type="ns2:Element"
xmlns:ns2="http://xml.apache.org/xml-soap">
<return>
<returnCode xsi:type="xsd:string">
<returnMessage xsi:type="xsd:string">
</return>
</methodReturn>
</gsp_ns1:methodResponse>
The same way when I make a request to another SOAP service. Any help will be
appreciated..
Thanks,
kiran pathuru
P.S: I would like to thank Sriknath for his last help
Re: Disabling Axis Logging
Posted by Jim Stafford <jc...@apl.jhu.edu>.
Adding something like the following to your log4j.properties file should
start doing the trick.
log4j.logger.org=ERROR
I believe the above configuration sends all org.* Loggers to the "ERROR"
log, which seems to have a verbosity to log nothing more trivial than an
error.
Rommel Sharma wrote:
>Hi,
>
>I am using Log4j apis for custom logging specific to my code but in the log
>file, a lot of Axis logging is being appended, with loads of details of the
>SOAP response that I do not want to see, as it is also eating on my space
>each time thelog file is made.
>
>How can I have only my log comments printed, and disable the Axis log
>comments?
>
>Thanks in advance,
>Rommel.
>
>*********************************************************
>Disclaimer
>
>This message (including any attachments) contains
>confidential information intended for a specific
>individual and purpose, and is protected by law.
>If you are not the intended recipient, you should
>delete this message and are hereby notified that
>any disclosure, copying, or distribution of this
>message, or the taking of any action based on it,
>is strictly prohibited.
>
>*********************************************************
>Visit us at http://www.mahindrabt.com
>
>
>
>
>
>
Disabling Axis Logging
Posted by Rommel Sharma <ro...@mahindrabt.com>.
Hi,
I am using Log4j apis for custom logging specific to my code but in the log
file, a lot of Axis logging is being appended, with loads of details of the
SOAP response that I do not want to see, as it is also eating on my space
each time thelog file is made.
How can I have only my log comments printed, and disable the Axis log
comments?
Thanks in advance,
Rommel.
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com