axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tapan Sharma (JIRA)" <>
Subject [jira] Commented: (AXIS2-3227) Prefix error serializing ADB bean
Date Fri, 21 Dec 2007 19:38:46 GMT


Tapan Sharma commented on AXIS2-3227:

Hi Amila,

Thanks for the quick response.

I just tried with,  21-Dec-2007 16:55   18M  

Still I see the problem, but for element {oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
2007-12-21 11:28:41,654 ERROR - Could not
get parser from data source for element {oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
org.apache.axis2.databinding.ADBException: Property cannot be null!
at xsd.hpoa.HpoaStub$Security.serialize(
at xsd.hpoa.HpoaStub$Security$1.serialize(
at org.apache.axis2.databinding.ADBDataSource.getReader(
at org.apache.axis2.client.Stub.addHeader(
at org.apache.axis2.client.Stub.addHeader(
at xsd.hpoa.HpoaStub.getHpSimInfo(
at client.main(

Is it that the code generated was not right? I had to tweak the wsdl file to get it work with
Axis2, basically the namespaces were not resolved for imports, so I downloaded the import
files in local directory,  {oasis-200401-wss-wssecurity-secext-1.0.xsd} is one of them.

However, with the generated code, I can logon to server, I can make calls that do NOT involve
security element as per wsdl.

Does it gives any clue for this error?

Many Thanks to you,

Amila Chinthaka Suriarachchi commented on AXIS2-3227:

Normally this means you have not set a property which is either minOccurs=0 or 
nillble=true. But in this case you may getting this error due to an error which 
is fixed in the nightly builds.

> Prefix error serializing ADB bean
> ---------------------------------
>                 Key: AXIS2-3227
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>         Environment: JDK 1.6u2, Ubuntu 7.04
>            Reporter: Jose Antonio
>         Attachments:,
> I've created a test service with ADB and I'm developing a demo of it. I need to show
the inputs and outputs in my program, so I'm converting the input and output beans to OMElements
in order to obtain a string representation of some parts. The problem is that when I try to
get the string I get the following error message:
> Exception in thread "main" java.lang.RuntimeException: Error obtaining parser from data
source:the prefix ==>  Already exists for namespace ==>
>         at
>         at
>         at

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message