• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Axis2 Soap envelope not generating required namespaces.

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

I used Axis2 ADB to create a service stub class from a WSDL provided by a company but am having trouble writing the client to consume the service. I am using Eclipse IDE to generate and develop my service clients.

Everything works fine when I create the stub class and let Eclipse automatically test it I see the SOAP generated meets the service's requirements with the expected soap envelope namespace, xsi namespace, etc.. However, the hand written client does not return the proper soap envelope definitions nor the XSI namespace declaration.

Obviously I'm missing something when I implement the stub but don't know what it is. Looking at the Eclipse generated JSPs the service call is simply one line of code producing the proper output.

Here's my output:



Here's my expected output, produced by the Eclipse JSPs:



Here's the client code (sans import declarations):



Any help, pointers or tips will be greatly appreciated.
 
Everybody's invited. Except this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic