Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization 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 all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

how to xsi:type attribute for elements in soap message  RSS feed

Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a web service developed using .NET and I trying to consume it
using AXIS 1.2.1 Final. When I request the service I am getting
"org.xml.sax.SAXParseException ocument root element is missing"
AxisFault from the service. I was suggest that because of lack of
"xsi:type=xsd:string" in the request soap message generated by Axis
client I am getting this exception from the service and so I want to
have "xsi:type=xsd:string" for each of elements in the generated soap
message from axis client, and I have tried this piece of code
Boolean.FALSE);" in the axis generated stubs (out of wsdl) but this
did not help me. I have also tried "<parameter name=sendXsiTypes
value=true/>" in client-config.wsdd file and this also is of no use.
Can anyone please clarify on how to generatexsi:type="xsd:string" for
each of the elements in the request soap
message from axis 1.2.1 final to .net web service.

Thanks & Regards,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!