Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Few questions

 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not being able to understand few things and maybe someone here can help me. Been looking at the axis for the past couple of days and I am failing to find an adequate example there. I need to have my web service return a message that I will create based on the let's say string input parameter, meaning, I want to return a message that will include few xml documents in soap body and few attachments in the SOAPMessage. Only then I want to return this message to the client. However if one is using message type service, axis only accepts these method signatures:

Am I missing something really simple here or ???
TIA
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you explain a bit more? Is your issue in the return type or in the parameter? The params you're being passed with a message style service should be ample enough to allow you to pull params or generate a good response with the data you're wanting to add. SAAJ provides a full API for low-level SOAP Processing (parsing input params/adding multipe xml "documents"/adding attachments).
 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cory, thank you for the reply. What I wanted is to have a service which will return a SOAPMessage which I will be able to manipulate just before returning. JAXM and jwsdp1.1 finally provided me with and example of what I wanted. I still don't know how can one do the same thing with axis.
 
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic