File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes issues with axis1.4 deserialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "issues with axis1.4 deserialization" Watch "issues with axis1.4 deserialization" New topic

issues with axis1.4 deserialization

Ajaya Kumar Swain

Joined: Nov 10, 2009
Posts: 1

I am using axis1.4 for webserivce and doclitral approach

in schema, one element is declared as:
<element name="title" type="tns1:length_200" maxOccurs="1"
Given below is the same node in my request xml, where i am facing issues

scenario 1.

if I am passing like <pol:title>${#TestSuite#uniqueTitleStringRiskComponent}</pol:title>

then value of title becomes null

scenario 2.

if I am passing like <pol:title>${#TestSuite#uniqueTitleStringRiskComponent</pol:title> (i.e no "}" at the end )


fault string i am getting
<faultstring>org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.</faultstring>

scenario 3.

if I am passing like <pol:title>{#TestSuite#uniqueTitleStringRiskComponent}</pol:title> (i.e no "$ at the beginning" )


title contains the passed value i.e "{#TestSuite#uniqueTitleStringRiskComponent}"

scenario 4.

if I am passing like <pol:title>$#TestSuite#uniqueTitleStringRiskComponent}</pol:title> (i.e no "{ at the beginning" )


title contains the passed value i.e "{#TestSuite#uniqueTitleStringRiskComponent}"

My Observation:

may be When axis deserialization happens it interpits "${some string}" as null value or may be empty tag..

can some body suggest how can i get the proper attribute(title) value

Thanks in advance.


I agree. Here's the link:
subject: issues with axis1.4 deserialization
Similar Threads
Passed SCJP - Brutal Experience
Thanks all, passed...
Passed with 69.1%
Passed 141