• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Namespace to method parameters in Axis 1.4

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Axis 1.4 to access webservice. My stubs and the skeleton has been generated using WSDL2Java. But when i submit my request to the webservice my namespace to the method parameters is getting overridden with empty namespace. Has anyone faced the same issue. How to over come it. I really appreciate any guidance.
Here is my request:

<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>
<getProfiles xmlns="http://namespace.test.com/testns">
<subject_type xmlns="">USER_ID</subject_type>
<subject xmlns="">1234567</subject>
<content_selector xmlns="">CONTENT_ID</content_selector>
<content_value xmlns="">34567</content_value>
</getProfiles>
</soapenv:Body>

and my webservice accepts the following request:

<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>
<getProfiles xmlns="http://namespace.test.com/testns">
<subject_type>USER_ID</subject_type>
<subject>1234567</subject>
<content_selector>CONTENT_ID</content_selector>
<content_value>34567</content_value>
</getProfiles>
</soapenv:Body>

Thanks in advance
 
Anand Natarajan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Any help or guidance. Please help.

Thanks,
Anand
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic