Hi Sven,

You can try the latest rampart [1] with latest axis2.

Rampart builds with maven2 (mvn clean install). We still don't have a
distro build :-( and you will have to pickup the rampart-core,
rampart-policy, rampart-trust jars from the respective modules and
then use the rampart-SNAPSHOT.mar from the rampart-mar module.

Thanks,
Ruchith

[1] https://svn.apache.org/repos/asf/webservices/rampart/trunk/java

On 3/16/07, Sven Schroebler <[EMAIL PROTECTED]> wrote:
Hi everybody,

does anybody use Axis2 with ADB, MTOM and Rampart 1.1?

It seems like I am really stuck here:
- after getting Rampart 1.1 to work with Axis2 1.1.1, I had to face an
"unexpected subelement xyz" error that was noted to be fixed in one of the
recent nightly builds of Axis2.
- but using a recent nightly build (from 03/13/07 on to 03/15/07), Rampart
1.1 does not work anymore.  Find the error attached below.

The unexpected subelement error turned up with Axis2 1.1.1, when I tried to
submit some binary data (xmime:Base64Binary) from the client to the server.
This used to work fine with the nightly builds, but in combination with
Rampart - it doesn't.

Doing some research I only found this mail:
http://marc.theaimsgroup.com/?l=axis-user&m=117211779120993&w=2

I checked the WSDL-file and the request for errors described in the post,
without success.

Is there a way to get Rampart to work with a recent version of Axis2?
Otherwise: is there a way to merge only the recent changes in ADB into the
source code of Axis2 1.1.1 to get a working version?

I will greatly appreciate your help!

Sven



Error when engaging module Rampart 1.1:
------------------------------------------
java.lang.AbstractMethodError:
org.apache.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/cont
ext/MessageContext;)V
        at org.apache.axis2.engine.Phase.flowComplete(Phase.java:428)
        at
org.apache.axis2.engine.AxisEngine.flowComplete(AxisEngine.java:281)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:495)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:331)
        at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
tion.java:295)
        at
herbie.core.desktop.handler.HerbieWSStub.getHome(HerbieWSStub.java:1905)
        at herbie.core.handler.HomeHandler.receiveHome(HomeHandler.java:39)
        at herbie.views.HomeView.fill(HomeView.java:203)
        at herbie.views.HomeView.createPartControl(HomeView.java:195)
        at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:33
2)
        at
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
        at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReferenc
e.java:566)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
        at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525)
        at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Presentable
Part.java:140)
        at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Pres
entablePartFolder.java:268)
        at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftTo
RightTabOrder.java:65)
        at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPar
t(TabbedStackPresentation.java:394)
        at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.jav
a:1144)
        at
org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
        at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:601)
        at
org.eclipse.ui.internal.PartStack.createControl(PartStack.java:532)
        at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.ja
va:562)
        at
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:24
4)
        at
org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:815)
        at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2436)
        at
org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2616)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2
597)
        at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:65
8)
        at
org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:795
)
        at
org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1437)
        at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1435)
        at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1399)
        at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421
)
        at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1397)
        at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchCon
figurer.java:190)
        at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.jav
a:708)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at herbie.Application.run(Application.java:53)
        at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
java:78)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:92)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:68)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
www.ruchith.org
www.wso2.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to