Thanks Dims for pointing that out. I will look in to this and see how far I can proceed.
/Sanjaya On Monday 25 June 2007, Davanum Srinivas (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/AXIS2-2689?page=com.atlassian.jira.pl >ugin.system.issuetabpanels:comment-tabpanel#action_12507772 ] > > Davanum Srinivas commented on AXIS2-2689: > ----------------------------------------- > > Sanjaya, SimpleAddServiceStub is terribly out-of-date for one thing :( > Please generate the wsdl/stub on the fly). Also in > FastInfosetPOXMessageFormatter.writeTo, you are serializing the whole > envelope instead of just the inner element of soap body. that's as far as i > got when i spotted the old stub. > > thanks, > dims > > > Unable to add FI POX support due to a parser error > > -------------------------------------------------- > > > > Key: AXIS2-2689 > > URL: https://issues.apache.org/jira/browse/AXIS2-2689 > > Project: Axis 2.0 (Axis2) > > Issue Type: Bug > > Components: modules > > Environment: Java > > Reporter: Sanjaya Karunasena > > Assignee: Amila Chinthaka Suriarachchi > > Priority: Blocker > > Fix For: 1.3 > > > > Attachments: fi_pox.patch > > > > > > I am trying to add FI POX support to Axis2. When the reply comes to the > > client, I get the following exception from client stub. Can some one help > > me to find the isssue? I have attached a patch which has the code > > required to recreate this problem. ------------- ---------------- > > --------------- > > Testcase: testAdd2(org.apache.axis2.fastinfoset.FastInfosetTest): Caused > > an ERROR java.lang.UnsupportedOperationException: The parser is already > > consumed! java.lang.RuntimeException: > > java.lang.UnsupportedOperationException: The parser is already consumed! > > at > > org.apache.axis2.fastinfoset.xsd.SimpleAddServiceStub.fromOM(SimpleAddSer > >viceStub.java:3653) at > > org.apache.axis2.fastinfoset.xsd.SimpleAddServiceStub.addStrings(SimpleAd > >dServiceStub.java:182) at > > org.apache.axis2.fastinfoset.SimpleAddServiceClient.addStrings(SimpleAddS > >erviceClient.java:110) at > > org.apache.axis2.fastinfoset.FastInfosetTest.testAdd2(FastInfosetTest.jav > >a:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java > >:39) at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI > >mpl.java:25) Caused by: java.lang.UnsupportedOperationException: The > > parser is already consumed! at > > org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReader(OMElementI > >mpl.java:646) at > > org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReaderWithoutCach > >ing(OMElementImpl.java:628) at > > org.apache.axis2.fastinfoset.xsd.SimpleAddServiceStub.fromOM(SimpleAddSer > >viceStub.java:3619) ... 17 more --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
