axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schuster" <sschus...@pironet-ndh.com>
Subject RE: axis-admin generates SAXException "Bad envelope tag P"
Date Fri, 16 Sep 2005 08:00:03 GMT
Looks like the server responds with an 
message that the client cannot understand.
I suggest to use grinder/tcpmon to see what is
send over the wire, this may point you to the
underlying problem.

best regards,

Stefan


-----Original Message-----
From: Hernan Bay Area Guy [mailto:hernanbay@yahoo.com]
Sent: Fri 9/16/2005 2:01 AM
To: axis-user@ws.apache.org
Subject: axis-admin generates SAXException "Bad envelope tag P"
 


Hello,

I am trying to use the axis-admin task on ANT to
deploy
a SOAP service. We are using Tomcat 5.5.4 and Axis
1.2.
We already have a couple instances of Tomcat+Axis
working fine. I am trying to create a new instance and
deploy a new SOAP service, but I'm getting an error
when running the axis-admin ANT task.

The error I'm getting is:

    axis-admin failed with    
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    org.xml.sax.SAXException: Bad envelope tag:  P

No idea of what file may have the offending "P" tag...

The server logs don't show any related errors either,
I'm kind of stumped here.

A detailed listing of the ANT task and the error it
generates follows at the end of this message.

Any pointers for solving this problem will be greatly
appreciated.

Thanks in advance!

Hernan

PS: The axis-admin task that I am using looks like
this:

        <axis-admin
           port="8084"
           servletpath="engine"
           hostname="localhost"
           failonerror="true"
           debug="true"
           xmlfile="/path/to/deploy.wsdd"
        />

The WSDL file looks like this:

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
      
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <service name="engine" provider="java:RPC">
    <parameter name="className"
value="com.mycompany.myproject.engine.EngineSOAP"/>
    <parameter name="allowedMethods"
value="evaluate"/>
  </service>

</deployment>

This is the detailed output of running the ANT task:

[axis-admin] Processing file /path/to/deploy.wsdd
[axis-admin] AxisFault
[axis-admin]  faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[axis-admin]  faultSubcode:
[axis-admin]  faultString: org.xml.sax.SAXException:
Bad envelope tag:  P
[axis-admin]  faultActor:
[axis-admin]  faultNode:
[axis-admin]  faultDetail:
[axis-admin]   
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Bad envelope tag:  P
[axis-admin]    at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:70)
[axis-admin]    at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
[axis-admin]    at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
[axis-admin]    at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
[axis-admin]    at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
[axis-admin]    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
[axis-admin]    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[axis-admin]    at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
[axis-admin]    at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
[axis-admin]    at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
[axis-admin]    at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
[axis-admin]    at
javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
[axis-admin]    at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
[axis-admin]    at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)[axis-admin]
   at
org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
[axis-admin]    at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
[axis-admin]    at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)[axis-admin]
   at
org.apache.axis.client.Call.invokeEngine(Call.java:2765)
[axis-admin]    at
org.apache.axis.client.Call.invoke(Call.java:2748)
[axis-admin]    at
org.apache.axis.client.Call.invoke(Call.java:1784)
[axis-admin]    at
org.apache.axis.client.AdminClient.process(AdminClient.java:439)
[axis-admin]    at
org.apache.axis.client.AdminClient.process(AdminClient.java:404)
[axis-admin]    at
org.apache.axis.client.AdminClient.process(AdminClient.java:410)
[axis-admin]    at
org.apache.axis.client.AdminClient.process(AdminClient.java:320)
[axis-admin]    at
org.apache.axis.tools.ant.axis.AdminClientTask.executeInCurrentVM(AdminClientTask.java:356)
[axis-admin]    at
org.apache.axis.tools.ant.axis.AdminClientTask.execute(AdminClientTask.java:316)
[axis-admin]    at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[axis-admin]    at
org.apache.tools.ant.Task.perform(Task.java:364)
[axis-admin]    at
org.apache.tools.ant.Target.execute(Target.java:341)
[axis-admin]    at
org.apache.tools.ant.Target.performTasks(Target.java:369)
[axis-admin]    at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)[axis-admin]
   at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[axis-admin]    at
org.apache.tools.ant.Main.runBuild(Main.java:673)
[axis-admin]    at
org.apache.tools.ant.Main.startAnt(Main.java:188)
[axis-admin]    at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[axis-admin]    at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
[axis-admin]
[axis-admin]   
{http://xml.apache.org/axis/}hostname:myhost.mycompany.com
[axis-admin] Running axis-admin with parameters:
[axis-admin]   action:
[axis-admin]   url:null
[axis-admin]   hostname:localhost
[axis-admin]   port:8084
[axis-admin]   servletPath:engine
[axis-admin]   fileProtocol:null
[axis-admin]   username:null
[axis-admin]   password:null
[axis-admin]   transportChain:null
[axis-admin]   debug:true

BUILD FAILED
/path/to/build.xml:430: axis-admin failed with 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
org.xml.sax.SAXException: Bad envelope tag:  P




		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Mime
View raw message