[
https://issues.apache.org/jira/browse/AXIS2-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jose Antonio updated AXIS2-3227:
--------------------------------
Attachment: Retailer.zip
The WSDL file I'm using to generate the service. The error is obtained creating
a ProcessOrder element, getting an OMElement from it and then calling toString:
ProcessOrder order = new ProcessOrder();
......................
OMElement omOrder = order.getOMElement(null, OMAbstractFactory.getOMFactory);
System.out.println("Processing element: "+omOrder.toString());
> 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
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]