File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to make .NET/AXIS Client add namespace to soap message elements   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to make .NET/AXIS Client add namespace to soap message elements   " Watch "How to make .NET/AXIS Client add namespace to soap message elements   " New topic
Author

How to make .NET/AXIS Client add namespace to soap message elements

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

Say how can I below soap message from the client (can be .NET or AXIS) :




Now, in the above soap message I want to have this namespace
declaration "xmlns="http://ws.as.com/schemas/ds"
like for ORDER element
<ORDER "xmlns="http://ws.as.com/schemas/ds">


Is there any configuration that I can in any of the below to achieve this :
1. .NET Framework 1.1
2. AXIS 1.2 RC2
3. in WSDL

Is there anything that I can configure in my WSDL before giving to
client's so that they can always send namespace for the soap message
elements. Please suggest.


Regards,


RR Kumaran
SCJP 1.4
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Within the wsdl you can define a namespace for each parameter. So why is it you need to define a namespace for the method/service? Or am I missing something here?


Please ignore post, I have no idea what I am talking about.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make .NET/AXIS Client add namespace to soap message elements