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 "Satrusalya, Prassana" <pr...@merck.com> on 2004/05/10 16:19:52 UTC

Soap instead of soapenv

Hi

Is there a  way that I can change the 'soapenv' in the response to 'soap' .
Seems like .NET does not like that.
Perhaps that's not the right way too. My response looks like this:

<?xml version="1.0" encoding="UTF-8" ?> 
- <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
- <soapenv:Body> 
- <getStatusReturn
xmlns="http://fsts-ut.merck.com/learnnet/services/ComInfo"> 
<getStatusResult>approved</getStatusResult> 
</getStatusReturn> 
</soapenv:Body> 
</soapenv:Envelope>

I am using Java:msg style -with the following sugnature :

public Document getStatus(Document xml)

All that I do is create a DOM object and send it back. The  headers are
created by the service. So, how do I change it.

Thans,
Kumar



------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
------------------------------------------------------------------------------

RE: Soap instead of soapenv

Posted by Anne Thomas Manes <an...@manes.net>.
.NET doesn't have a problem dealing with an alternative namespace prefix.
There must be something else wrong.

What error are you getting from .NET?

Can you also supply us your WSDL?

Anne

-----Original Message-----
From: Satrusalya, Prassana [mailto:prassana_satrusalya@merck.com] 
Sent: Monday, May 10, 2004 10:20 AM
To: axis-user@ws.apache.org
Subject: Soap instead of soapenv

Hi

Is there a  way that I can change the 'soapenv' in the response to 'soap' .
Seems like .NET does not like that.
Perhaps that's not the right way too. My response looks like this:

<?xml version="1.0" encoding="UTF-8" ?> 
- <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
- <soapenv:Body> 
- <getStatusReturn
xmlns="http://fsts-ut.merck.com/learnnet/services/ComInfo"> 
<getStatusResult>approved</getStatusResult> 
</getStatusReturn> 
</soapenv:Body> 
</soapenv:Envelope>

I am using Java:msg style -with the following sugnature :

public Document getStatus(Document xml)

All that I do is create a DOM object and send it back. The  headers are
created by the service. So, how do I change it.

Thans,
Kumar



----------------------------------------------------------------------------
--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New
Jersey, USA 08889), and/or its affiliates (which may be known outside the
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as
Banyu) that may be confidential, proprietary copyrighted and/or legally
privileged. It is intended solely for the use of the individual or entity
named on this message.  If you are not the intended recipient, and have
received this message in error, please notify us immediately by reply e-mail
and then delete it from your system.
----------------------------------------------------------------------------
--