aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "issues with axis1.4 deserialization" Watch "issues with axis1.4 deserialization" New topic
Author

issues with axis1.4 deserialization

Ajaya Kumar Swain
Greenhorn

Joined: Nov 10, 2009
Posts: 1
Hi,

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"
minOccurs="1">
</element>
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 )

then

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" )

then

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" )

then

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.

Ajaya


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