You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Oliver Wulff <ol...@zurich.ch> on 2005/04/15 16:33:26 UTC

getHandlerChain(), port name

I've created a custom JAX-RPC handler and had some problem to register it.

QName portName = new QName("", "BerechtigungBerechtigung_1_0SOAPPort");
List chain = service.getHandlerRegistry().getHandlerChain(portName);

The reason of the problem was the different port name that is used
internally by Axis and the real port name of the WSDL. I do have the
following port name in the WSDL:
berechtigung.Berechtigung_1_0SOAPPort
but Axis generates the following port name which is relevant for handler
registration:
BerechtigungBerechtigung_1_0SOAPPort

This is very confusing and makes no sense in my opinion. Has this been
changed in Axis 1.2?
What's the reason of changing the port name?

Regards
Oliver







******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.