You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tapan Sharma (JIRA)" <ji...@apache.org> on 2007/12/21 04:22:44 UTC
[jira] Commented: (AXIS2-3227) Prefix error serializing ADB bean
[ https://issues.apache.org/jira/browse/AXIS2-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553850 ]
Tapan Sharma commented on AXIS2-3227:
-------------------------------------
Hi,
I still see this problem with Axis2.1.3.
below is the exception,
xception in thread "main" java.lang.RuntimeException: Error obtaining parser from data source:Property cannot be null!
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getDirectReader(OMSourcedElementImpl.java:134)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.forceExpand(OMSourcedElementImpl.java:152)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getChildren(OMSourcedElementImpl.java:747)
at org.apache.axis2.client.Stub.addHeader(Stub.java:200)
at org.apache.axis2.client.Stub.addHeader(Stub.java:209)
at xsd.hpoa.HpoaStub.getHpSimInfo(HpoaStub.java:30711)
at client.main(client.java:91)
Can you help?
What does this mean - "Property cannot be null!"
Any clue will be appreciated.
Thanks,
Tapan
> Prefix error serializing ADB bean
> ---------------------------------
>
> Key: AXIS2-3227
> URL: https://issues.apache.org/jira/browse/AXIS2-3227
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Environment: JDK 1.6u2, Ubuntu 7.04
> Reporter: Jose Antonio
> Attachments: Retailer.zip, test.zip
>
>
> 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 ==> http://atos.upm.org/semeasy/warehouseinvoker/schema
> at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getDirectReader(OMSourcedElementImpl.java:134)
> at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.forceExpand(OMSourcedElementImpl.java:152)
> at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.toString(OMSourcedElementImpl.java:818)
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org