axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namor Taror" <>
Subject Bad envelope namespace
Date Wed, 19 Dec 2001 05:24:35 GMT

When I call ejb web service the EnvelopeBuilder throws 'Bad envelope 
namespace' in the startElement method. There is an if statement in this 
method that compares the name space to the envelop's name space 

        if (!localName.equals(Constants.ELEM_ENVELOPE))
            throw new SAXException(
                    JavaUtils.getMessage("badTag00", localName));

I am setting the services namespace of the call object in the client code;
                 call.setProperty( Call.NAMESPACE, "urn:SchedulerManager");

I don't understand why since I am not build the envelope. It axis or soap 
that does it.

Here is may deployment:

<deployment xmlns="" 
	<service name="urn:SchedulerManager" provider="java:EJB">
		<parameter name="beanJndiName" value="java:comp/env/SchedulerManager"/>
		<parameter name="homeInterfaceName" 
		<parameter name="allowedMethods" value="saveMessage isAlive 

MSN Photos is the easiest way to share and print your photos:

View raw message