axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Junaid.Bha...@mro.com
Subject Re: Mentioning namespace for the SOAP Message
Date Thu, 25 May 2006 18:09:52 GMT
Suyog,
The WSDL generation has apparently been fixed as per:
http://issues.apache.org/jira/browse/AXIS2-721

Check if this also fixes your original problem of namespace mismatch for
the Response returned from the Web Service invocation.

- Junaid



                                                                           
             "Anne Thomas                                                  
             Manes"                                                        
             <atmanes@gmail.co                                          To 
             m>                        axis-user@ws.apache.org             
                                                                        cc 
             05/25/2006 08:54                                              
             AM                                                    Subject 
                                       Re: Mentioning namespace for the    
                                       SOAP Message                        
             Please respond to                                             
             axis-user@ws.apac                                             
                  he.org                                                   
                                                                           
                                                                           
                                                                           




It's a bug. I believe it's been fixed in the latest build.

Anne

On 5/24/06, Suyog Gandhi <sgandhi@vistaar.com > wrote:
  This WSDL is created by Axis2 upon the deploy of .aar
  file. How do I avoid that namespace attribute? Is there
  some kind of setting in some file?


  On Wed, 24 May 2006 20:39:14 -0400
    "Anne Thomas Manes" <atmanes@gmail.com> wrote:
  > You must remove the namespace attributes from your
  ><binding>
  > definitions, e.g., body definitions should be:
  >
  > <soap:body use="literal" />
  >
  >
  > Make sure you're using the latest build of Axis2.
  >
  > Anne
  >
  >
  > On 5/24/06, Suyog Gandhi < sgandhi@vistaar.com
  > <mailto:sgandhi@vistaar.com> > wrote:
  >
  > Can somebody tell me how to set the namespace for the
  >soap message on
  > server side?
  > I wrote my java file, created service.xml and deployed
  >the .aar. Please
  > find atached wsdl file.
  > I am getting 2 different namesspaces for request and
  >response, due to
  > which I am getting Data Binding Error on the client
  >side.
  >
  > SOAP Request: Note the name space for getDimensionNames
  > <?xml version='1.0' encoding='utf-8'?>
  > <soapenv:Envelope
  > xmlns:soapenv="
  > <http://schemas.xmlsoap.org/soap/envelope/ >
  > http://schemas.xmlsoap.org/soap/envelope/">
  >  <soapenv:Header />
  >  <soapenv:Body>
  >    <getDimensionNames
  > xmlns=" http://webs.shared.clemenza.vistaar.com/xsd
  > <http://webs.shared.clemenza.vistaar.com/xsd >  " />
  >  </soapenv:Body>
  > </soapenv:Envelope>
  >
  >
  > SOAP Reply (Upon successful server side execution) :
  >Note the name space
  > for getDimensioNamesResponse
  > <?xml version='1.0' encoding='utf-8'?>
  > <soapenv:Envelope
  > xmlns:soapenv="
  >http://schemas.xmlsoap.org/soap/envelope/
  > < http://schemas.xmlsoap.org/soap/envelope/> ">
  >  <soapenv:Header />
  >  <soapenv:Body>
  >    <ns:getDimensionNamesResponse
  > xmlns:ns=" http://org.apache.axis2/xsd
  ><http://org.apache.axis2/xsd> ">
  >      <return>Part</return>
  >      <return>Kit</return>
  >      <return>Customer</return>
  >      <return>Time</return>
  >      <return>Sales Type</return>
  >      <return>Campaign</return>
  >      <return>Discount Table</return>
  >      <return>Discount Code</return>
  >      <return>Currency</return>
  >      <return>Version</return>
  >      <return>Engine</return>
  >      <return>WhatIf</return>
  >      <return>Measures</return>
  >    </ns:getDimensionNamesResponse>
  >  </soapenv:Body>
  > </soapenv:Envelope>
  >
  >
  >
  >
  >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail:
  >axis-user-unsubscribe@ws.apache.org
  > <mailto:axis-user-unsubscribe@ws.apache.org>
  >For additional commands, e-mail:
  >axis-user-help@ws.apache.org
  > <mailto:axis-user-help@ws.apache.org>
  >
  >
  >
  >
  >
  >


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
  For additional commands, e-mail: axis-user-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message